when you make a new page it always have page then the name like http://sitename.com/page/game is there any way you can make it to http://sitename.com/game
when you make a new page it always have page then the name like http://sitename.com/page/game is there any way you can make it to http://sitename.com/game |
There is an entry in the .htaccess file to specify the directory structure of custom pages: RewriteRule ^page/(.*)$ viewPage.php?ID=$1 [QSA,L] Change it to whatever you like. Have fun. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
There is an entry in the .htaccess file to specify the directory structure of custom pages: RewriteRule ^page/(.*)$ viewPage.php?ID=$1 [QSA,L] Change it to whatever you like. Have fun. what do you change on it this |
There is an entry in the .htaccess file to specify the directory structure of custom pages: RewriteRule ^page/(.*)$ viewPage.php?ID=$1 [QSA,L] Change it to whatever you like. Have fun. what do you change on it this For example, if you wanted it to remove the /page/ entry from the URI, you would change it to: RewriteRule ^/(.*)$ viewPage.php?ID=$1 [QSA,L] If you would like "page" to be something else, you would change it to: RewriteRule ^myfatcatsays/(.*)$ viewPage.php?ID=$1 [QSA,L] The possibilities are endless. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
There is an entry in the .htaccess file to specify the directory structure of custom pages: RewriteRule ^page/(.*)$ viewPage.php?ID=$1 [QSA,L] Change it to whatever you like. Have fun. what do you change on it this For example, if you wanted it to remove the /page/ entry from the URI, you would change it to: RewriteRule ^/(.*)$ viewPage.php?ID=$1 [QSA,L] If you would like "page" to be something else, you would change it to: RewriteRule ^myfatcatsays/(.*)$ viewPage.php?ID=$1 [QSA,L] The possibilities are endless. i did the 1st one " to remove the /page/" i clean the Cache and made a new page i go on veiw page and got Profile not available for view |
There is an entry in the .htaccess file to specify the directory structure of custom pages: RewriteRule ^page/(.*)$ viewPage.php?ID=$1 [QSA,L] Change it to whatever you like. Have fun. what do you change on it this For example, if you wanted it to remove the /page/ entry from the URI, you would change it to: RewriteRule ^/(.*)$ viewPage.php?ID=$1 [QSA,L] If you would like "page" to be something else, you would change it to: RewriteRule ^myfatcatsays/(.*)$ viewPage.php?ID=$1 [QSA,L] The possibilities are endless. i did the 1st one " to remove the /page/" i clean the Cache and made a new page i go on veiw page and got Profile not available for view It seems it's conflicting with the RewriteRule for the displaying of profile pages. Try this: http://www.boonex.com/trac/dolphin/wiki/NewPageCreation BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
There is an entry in the .htaccess file to specify the directory structure of custom pages: RewriteRule ^page/(.*)$ viewPage.php?ID=$1 [QSA,L] Change it to whatever you like. Have fun. what do you change on it this For example, if you wanted it to remove the /page/ entry from the URI, you would change it to: RewriteRule ^/(.*)$ viewPage.php?ID=$1 [QSA,L] If you would like "page" to be something else, you would change it to: RewriteRule ^myfatcatsays/(.*)$ viewPage.php?ID=$1 [QSA,L] The possibilities are endless. i did the 1st one " to remove the /page/" i clean the Cache and made a new page i go on veiw page and got Profile not available for view It seems it's conflicting with the RewriteRule for the displaying of profile pages. Try this: http://www.boonex.com/trac/dolphin/wiki/NewPageCreation OK it work but is there another way of changing it. like change a file/line so it change automatic when you make a new page then keep going back in .htaccess file to change it manual hope you understand and thanks |
guess that's a no |
i agree, it is a pain. the problem i'm having is adding a second page. i've followed these steps and created a new page, edited the .htaccess file with the new line and everything worked fine. but, when i added a another page and followed the same steps i'm having a problem. my second page was created but when you go to that page, it shows the title at the top of the first page i created. is there something extra in the .htaccess file that needs to be added besides that one line when adding multiple new pages? i'm getting frustrated. i'm tired |
http://www.boonex.com/trac/dolphin/wiki/NewPageCreation I attempted this a few times and couldnt get it to work. Any help would be appreciated! My signature can beat up your signature! |
Hey all...I've been messing with this for a few hours and I was able to create as many pages as I wanted, and all worked perfectly. The code I came up with is: RewriteRule ^([^/.]+)/{0,1}$ viewPage.php?ID=$1 [QSA,L] The solution listed here: http://www.boonex.com/trac/dolphin/wiki/NewPageCreation did NOT work for me at all. Now, there is a conflict with Deanos tools module, but will ping him for a fix. Otherwise, the code above does the trick for any new page I create without having to change anything further on the .htaccess file. Hope this helps. Jethro |
This .htaccess change affects more than just my module. It affects others as well. Seems to affect many that do not use the m permalink. Boonex modules i have tested that also do not work with this change are. https://www.deanbassett.com |
Further analysis shows the solution provided by badass to be unacceptable. https://www.deanbassett.com |
Well that's disappointing Jethro |
I found the solution a while ago, and decided it best that I provide the solution on my thread here. Super easy fix: In your .htaccess file in the root folder of your Dolphin installation, find: <IfModule mod_rewrite.c> Add the following code after: RewriteRule ^newpage$ viewPage.php?ID=newpage [QSA,L] Note: "newpage" is the page name you assigned when creating the new pages. Hope this helps any of you. Jethro |
Thx much.
Respectfully, Jeff |