I need to update a url that at the moment is:
www.examplesite.com/#q=test
to
www.examplesite.com/?q=test
I've try various methods with .htaccess and javascript without success.
Users comes into #q and I need to redirect to ?q
Thanks
I need to update a url that at the moment is:
www.examplesite.com/#q=test
to
www.examplesite.com/?q=test
I've try various methods with .htaccess and javascript without success.
Users comes into #q and I need to redirect to ?q
Thanks
How about using the HTML meta
element for redirection?
<html>
<head>
<meta http-equiv="refresh" content="0; url=http://google.com/?q=hi" />
</head>
</html>
If you would rather use Javascript, you can use:
location.href = "http://www.google.com/?q=hi";