| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
|Subscribe to WebmasterWorld|
|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 ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved