How to delete '=' at the end of URL

Discuss practical ways rearrange URLs using mod_rewrite.

How to delete '=' at the end of URL

Postby pulsar » Wed Jun 23, 2004 3:53 am

How to delete '=' at the end of URL , ruleset RewriteRule ^/*(.*)=$ /%1 dosn't work if URL contains '&' ...
pulsar
 
Posts: 2
Joined: Wed Jun 23, 2004 3:47 am

Postby seomike » Wed Jun 23, 2004 12:44 pm

RewriteRule ^/*([\w&]+)=$...

put any special characters in the [] that you want it to pick up
seomike
 
Posts: 331
Joined: Thu May 06, 2004 7:36 pm
Location: Dallas

Postby pulsar » Wed Jun 23, 2004 10:55 pm

pulsar
 
Posts: 2
Joined: Wed Jun 23, 2004 3:47 am

Postby seomike » Thu Jun 24, 2004 9:20 am

You should be doing that in the acutal .php file.
seomike
 
Posts: 331
Joined: Thu May 06, 2004 7:36 pm
Location: Dallas


Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 81 guests

cron