Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Search Engine Optimization (SEO) (http://www.go4expert.com/forums/seo-forum/)
-   -   how to 301 from sub.dom.com/fold/aa.html to dom.com/aa.html? (http://www.go4expert.com/forums/301-subdomcom-fold-aahtml-domcom-aahtml-t22680/)

sarah.kho 10Jul2010 21:13

how to 301 from sub.dom.com/fold/aa.html to dom.com/aa.html?
 
Hi,

Can you please let me know whether it is possible to to use 301 redirect to redirect a page like sub.dom.com/fold/aa.html to dom.com/aa.html?

If it is possible, can you please let me know the syntax for the .htaccess file to do this?

I was not able to find anything to use for redirecting a subdomain and subfolder link to another place.

Thanks.

shabbir 10Jul2010 22:23

Re: how to 301 from sub.dom.com/fold/aa.html to dom.com/aa.html?
 
Under the subdomain have an .htaccess file and have the following

Code:

Redirect 301 /fold/aa.html http://www.dom.com/aa.html

sarah.kho 12Jul2010 12:18

Re: how to 301 from sub.dom.com/fold/aa.html to dom.com/aa.html?
 
Thank you for the help.

shabbir 12Jul2010 12:45

Re: how to 301 from sub.dom.com/fold/aa.html to dom.com/aa.html?
 
Quote:

Originally Posted by sarah.kho (Post 70151)
Thank you for the help.

The pleasure is all mine.

johnny.dacu 12Jul2010 22:43

Re: how to 301 from sub.dom.com/fold/aa.html to dom.com/aa.html?
 
I was preparing to open a post with this question. But I found the answer so I can only thank you


All times are GMT +5.5. The time now is 19:55.