Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- redirecting a domain


phranque - 12:31 am on Mar 6, 2013 (gmt 0)


that part where I said "no wildcard redirects to the home page".

you probably don't want to do that to your visitors.
the proper response is a 404 (or 410 if appropriate) status code.
then provide a custom error document that looks similar to your new domain's home page with sufficient navigation and/or search capability for the visitor to find the resource they were expecting when they clicked on the linked to or bookmarked url on the old domain.

if you try to redirect all the pagerank from the old domain the the new domain's home page you will likely lose most or all if it.


Thread source:: http://www.webmasterworld.com/php/4551199.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com