Reply
Mod_rewrite for this
Old 11-28-2005, 02:27 PM Mod_rewrite for this
Skilled Talker

Posts: 95
I want to use mod_rewrite to display my URL http://www.herbsandcures.com/viewdis...p?disease_id=1
as
http://www.herbsandcures.com/viewdis...ails/disease/1

Can it be done?? what should be regex for it..

any help would be appreciated..

Thnx
varunbihani is offline
Reply With Quote
View Public Profile Visit varunbihani's homepage!
 
When You Register, These Ads Go Away!
Old 03-14-2006, 01:05 PM Re: Mod_rewrite for this
easycash's Avatar
Novice Talker

Posts: 8
Location: Australia
Hi

Is this what you want ?

Options +FollowSymLinks
RewriteEngine on
RewriteRule viewdis/(.*)/(.*)/$ /viewdis...p?$1=$2
easycash is offline
Reply With Quote
View Public Profile Visit easycash's homepage!
 
Reply     « Reply to Mod_rewrite for this
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.10691 seconds with 12 queries