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?
I would just use a HTML re-direct
<meta http-equiv="refresh" content="0; URL=http://www.DOMAINNAME.org.uk" />
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?