I was developing a site in a subfolder so the url was look like:
http://www.site.com/website/makeuphair
http://www.site.com/website/treatment
etc
and these URLs have been indexed by search engines.
Now, I am looking for a general rule for .htaccess that can redirect all the URLs inside the /website folder to relevant pages on the main site. That is,
http://www.site.com/website/makeuphair
should redirect to : http://www.site.com/makeuphair
http://www.site.com/website/treatment
should redirect to: http://www.site.com/treatment
Can anybody help me here?
http://www.site.com/website/makeuphair
http://www.site.com/website/treatment
etc
and these URLs have been indexed by search engines.
Now, I am looking for a general rule for .htaccess that can redirect all the URLs inside the /website folder to relevant pages on the main site. That is,
http://www.site.com/website/makeuphair
should redirect to : http://www.site.com/makeuphair
http://www.site.com/website/treatment
should redirect to: http://www.site.com/treatment
Can anybody help me here?