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


scaggster - 12:21 pm on Jan 26, 2013 (gmt 0)


Hi sorry, i was just using psp as an example, i think this is what i mean better.

a way to redirect

subdomain.example.com/index.php to example.com/folder/index.php - Thats for the Index page only
for the rest of the subdomain

subdomain.example.com to example.com - Thats for all the content pages and Not the Index page.


I can put an htaccess in each of the subdomains, so once i have one working, itll be easy to change what i need for each different subdomain, got 30 subdomains in total but the majority of content is made automatically from our forum, so bar the index page everything else can just be redirected to the new domain.

Thanks for your help, ive searched for hours on this subject but havent found anyone who seems to want what i am after, and i am totally clueless on htaccess :P


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