Welcome to WebmasterWorld Guest from 54.234.153.186

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

RewriteRule to make URL SEO PHP

SEO, Search Engine Freindly URL, .php to .html

     

irfan shaikh

7:17 am on May 28, 2005 (gmt 0)

10+ Year Member



Hello,

I am facing problem to set RewriteRule for URL

[test.domain.lp...]

to

[test.domain.lp...]

help?

Regards,
Irfan

madpenguin2

11:05 pm on May 28, 2005 (gmt 0)

10+ Year Member



Interesting... I just did this to a new site today..

The .htaccess file would look something like this..

RewriteEngine on
RewriteBase /

RewriteRule ^polyphonic-ringtones/(.*)\.html$ /polyphonic_ringtones.php?id=$1 [L]

or something similar..

Brett

irfan shaikh

5:25 am on May 29, 2005 (gmt 0)

10+ Year Member



gr8

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.

Regards,
Irfan Shaikh

madpenguin2

10:44 pm on May 29, 2005 (gmt 0)

10+ Year Member



then it would look something like

RewriteRule ^polyphonic-ringtones/(.*)/modrul/(.*)\.html polyphonic-ringtones.php?id=$1&modrul=$2 [PT]

 

Featured Threads

Hot Threads This Week

Hot Threads This Month