Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Search Engine Optimization (SEO) (http://www.go4expert.com/forums/seo-forum/)
-   -   Can't make htaccess work for subdomain (http://www.go4expert.com/forums/htaccess-subdomain-t9265/)

subirghosh 12Mar2008 10:31

Can't make htaccess work for subdomain
 
Recently I removed some content from my main site to a subdomain.

What I am seeking to do in simple terms

Redirect http://www.domain.com/foldername/*.* TO http://subdomain.domain.com/foldername/*

For this in the htaccess file I tried using:

Redirect /foldername http://subdomain.domain.com/foldername/

This is not working because the server is creating a loop for http://subdomain.domain.com/foldername/ as well.

How should this be changed? I haven't the faintest clue.

shabbir 12Mar2008 20:03

Re: Can't make htaccess work for subdomain
 
Duplicate of Can't make htaccess work for subdomain. Thread closed.


All times are GMT +5.5. The time now is 13:46.