PDA

View Full Version : htaccess redirection in vb5?


Dzi13
06-10-2013, 07:58 PM
When I add this line to vb5 htaccess file:
RedirectMatch 301 /arcade.php$ http://www.site.com/page.html
I got this as result:
http://www.site.com/page.html?routestring=arcade.php

How I can make redirection without ?routestring=arcade.php?

final kaoss
06-11-2013, 12:12 AM
put this in the arcade.php file

header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.New-Website.com");

Dzi13
06-11-2013, 02:15 PM
Yes, I have already done that and it works for links which used arcade.php file.
I have used vbSeo in past and have lots of links like forum/category/something.html
I can't use same method for such links.