I am trying to organise a simple 301 redirect in my .htaccess file and having some issues.
My current code looks:
RewriteRule /contact/ http://www.example.com/connect/ [R=301,L,QSA]
Though when you enter in: http://www.example.com/contact/
It redirects okay, though places in a query string: http://www.example.com.au/connect/?field=contact
Which then makes everything blow-up. I have the 301 on the top of my .htaccess file. I am not sure why this is happening.
Any suggestions would be really appreciated.
RewriteRule http://www.example.com/contact/ http://www.example.com/connect/ [R=301,L,QSA]? - maxpovverRewriteRule contact/ http://www.example.com/connect/ [R=301,L,QSA]- maxpovver