| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|RewriteRule to make URL SEO PHP|
SEO, Search Engine Freindly URL, .php to .html
| 7:17 am on May 28, 2005 (gmt 0)|
I am facing problem to set RewriteRule for URL
| 11:05 pm on May 28, 2005 (gmt 0)|
Interesting... I just did this to a new site today..
The .htaccess file would look something like this..
RewriteRule ^polyphonic-ringtones/(.*)\.html$ /polyphonic_ringtones.php?id=$1 [L]
or something similar..
| 5:25 am on May 29, 2005 (gmt 0)|
I made one for myself
RewriteRule ^polyphonic-ringtones/(.*).html polyphonic-ringtones.php?id=$1 [PT]
but what is I am having more then one parameter
RewriteRule ^polyphonic-ringtones/(.*).html polyphonic-ringtones.php?id=$1&modrul=cat1 [PT]
Now I like to add the cat1 also to me Rewrite URL.
| 10:44 pm on May 29, 2005 (gmt 0)|
then it would look something like
RewriteRule ^polyphonic-ringtones/(.*)/modrul/(.*)\.html polyphonic-ringtones.php?id=$1&modrul=$2 [PT]
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved