Jump to content


Web Site Design, Usability, SEO & Marketing Discussion and Support

Sign in to follow this  

.htaccess Not Working As Intended

Recommended Posts

I put the following code in my .htaccess file on the BuyHookah.com server.



RewriteEngine Onredirect 301 / http://www.hookahlounge.net/



but the following page is not being redirected. Why? http://www.buyhookah.com/wiki/Starbuzz_Tobacco_Blue_Mist_Flavor_Review'>http://www.buyhookah.com/wiki/Starbuzz_Tobacco_Blue_Mist_Flavor_Review'>http://www.buyhookah.com/wiki/Starbuzz_Tobacco_Blue_Mist_Flavor_Review


For example the homepage is redirecting fine: http://www.buyhookah.com/

  • Like 1

Share this post

Link to post
Share on other sites



Probably you will never have another htaccess question again.



Share this post

Link to post
Share on other sites

Hi I had issues a while back with this and this works for me


redirect 301 /folder-name/page.htm http://www.yoursite.com/other-folder-name/page.htm


note no full url on first section of the 301, I would recommend putting two dummy pages up on the server and test it :)


Let us know how you get on...





Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this