ndavies Posted February 23, 2010 Posted February 23, 2010 Ok, so new web hosts, with a new domain. I'm pointing our old domain's ( co.uk ) www dns record to the new host ( .org.uk). all works fine, with the exception of two php files, which when browsing the site using the old domain address (.co.uk) gives a 403 error, which I can see is access denied (normally occurring as random browsing on sites is denied) Why is it denying access when it's reading the rest of the site ok? Is it because it's retaining the .co.uk in the address bar and therefore thinking it's at .co.uk when actually reading the .org.uk. Would using forwarding instead of changing the dns records fix this? Cheers Nick
Devontechie Posted February 23, 2010 Posted February 23, 2010 I would just use a HTML re-direct Redirecting you...
powdarrmonkey Posted February 24, 2010 Posted February 24, 2010 Why would you use a HTML redirect when you have a scripting language available and can send a 301 Moved Permanently, which the client is expected to cache for next time? 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now