skit
May 6, 2016, 1:27pm
1
I can’t seem to get this url to redirect in the .htaccess file when there are & symbols in the url.
RewriteCond %{QUERY_STRING} ^zoom_query=gooseneck&zoom_page=1&zoom_per_page=10&zoom_and=0&zoom_sort=0$
RewriteRule ^searchResults/search.asp$ /store/products.html? [R=301,L]
How can i replace the & with &.
Thanks for your help i am fairly new to .htaccess.
I think you should be able to use just &
instead of &
in htaccess.
Any special symbols you need to escape, like those that affect regex, can be done with a backslash, Eg: \$
if you want a dollar, not a string end.
skit
May 6, 2016, 1:37pm
3
Here is the url i am trying to redirect
that URL is invalid - you can’t use html entities outside of HTML.
2 Likes
system
Closed
August 6, 2016, 5:28am
5
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.