Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Htaccess Redirecting Questions


scaggster - 11:43 am on Jan 21, 2013 (gmt 0)


Hi all been a fan of this site and used it for years from the outside without having to ask questions.

For years i have had sub domains on my sites but because google is so against duplication i am going to condense everything down to one supersite instead of say 20 odd subdomains,

i am looking for an htaccess that changes say subdomain.example.com/blah.html to a new url at example.com/blah.html but if possible the old subdomain index page which would be subdomain.example.com/psp to example.com/psp

Is it possible to redirect an index page to a folder but send the content pages direct to the new url?

Any help or advice would be great, because of the system i use i cant afford to have it redirected to example.com/psp/blah.html as that would still cause duplication problems.


Thread source:: http://www.webmasterworld.com/apache/4537934.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com