Hi,
I'm on an Apache server.
I'm trying to create a permanent redirect of an entire website to a single page on the new site.
I'm using this:
Redirect 301 / http://www.cvm.org.uk/wales/index.php
Redirect 301 /links.php http://www.cvm.org.uk/wales/index.php
The first line works fine for the index.php page of the site.
The second line is for the links.php page which is in the root of the site but when redirected it links to: http://www.cvm.org.uk/wales/links.php which does not exist and therefore gets a 404 error.
I've ensured that I've uploaded the .htaccess file in ascii mode.
As an aside what I'd like to do is redirect the whole existing site to the one page in the new site (http://www.cvm.org.uk/wales/index.php) but I'm assuming that I'll need to redirect each individual page. Is that correct? Assuming it is then the attempt I'm making as described above isn't working. Any assistance in this would be greatly appreciated.