homepage Welcome to WebmasterWorld Guest from 54.196.206.80
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
RewriteRule to make URL SEO PHP
SEO, Search Engine Freindly URL, .php to .html
irfan shaikh




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

Hello,

I am facing problem to set RewriteRule for URL

[test.domain.lp...]

to

[test.domain.lp...]

help?

Regards,
Irfan

 

madpenguin2




msg:1251745
 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..

RewriteEngine on
RewriteBase /

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

or something similar..

Brett

irfan shaikh




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

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




msg:1251747
 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]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved