Wednesday, 15 August 2012

.htaccess - How to redirect using htaccess without causing a loop -



.htaccess - How to redirect using htaccess without causing a loop -

i can't figure out how redirect url below without causing loop problem. redirect url ...

http://toffsnew.co.uk/forum/recent

to ...

http://toffsnew.co.uk/forum/recent?limitstart=0

using htaccess

thanks

you can utilize code in /forum/.htaccess file:

rewriteengine on rewritebase /forum/ rewritecond %{query_string} ^$ rewriterule ^(recent)/?$ $1?limitstart=0 [l,nc]

.htaccess

No comments:

Post a Comment