Was redirecting an add on domain site to another with no problems.
I had an index.php with header("location:http://www.newsite.co.uk/index.html"); in the old site top level directory and (though not sure why it was necessary with a file called index) a DirectoryIndex index.php in .htaccess.
But now, although I haven't changed anything, it is not working anymore, just getting page not found. The full link of www.oldsite.co.uk/index.php works ok, it just won't use index.php or index.html by default. Tried redirecting with cPanel and that does not work either.
Can't see why I cant redirect or even set up a default home page anymore.
Any brill ideas? Ta
PS Nowt relevant in my top level .htaccess
I had an index.php with header("location:http://www.newsite.co.uk/index.html"); in the old site top level directory and (though not sure why it was necessary with a file called index) a DirectoryIndex index.php in .htaccess.
But now, although I haven't changed anything, it is not working anymore, just getting page not found. The full link of www.oldsite.co.uk/index.php works ok, it just won't use index.php or index.html by default. Tried redirecting with cPanel and that does not work either.
Can't see why I cant redirect or even set up a default home page anymore.
Any brill ideas? Ta
PS Nowt relevant in my top level .htaccess
Comment