Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- rewriterule


ACCelerate - 7:42 am on Apr 6, 2006 (gmt 0)


Hi,

i have a old pages and their names like

something-like-this.php

and i want to send them a variable using re write mode but i can't figure out rule...

RewriteRule ^([0-9A-Za-z])-(*.).htm$ $2.htm?var=$1

so i want my page name like below

var-something-like-this.php

but it doesn't work...

i think there is hyphen problem, What am I doing wrong? or another suggestions?

Please consider also i have another pages have more than 3 hyphen.

Thanks


Thread source:: http://www.webmasterworld.com/apache/5987.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com