httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <joyd...@infoservices.in>
Subject [users@httpd] a complex .htaccess redirect question
Date Mon, 17 Sep 2012 10:36:12 GMT
Hello list,

How can I append .html in-between a link ?

For example  http://www.mydomain.com/en/page?artId=1234  should redirected to

http://www.mydomain.com/en/page.html?artId=1234

page1?artId=1234 needs to be redirected as page1.html?artId=1234

How can I achieve this through .htaccesss ?

I have already tested with

```````````````
RewriteRule ^page$ $1.html [L]
``````````````````

But no success !!!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message