How to redirect every single visitor to a different directory like hongkiat.com (2 posts)

  1. Mithun263
    Posted 2 years ago #

    I had my website on http://rohbits.com but i had to delete it completely on some purpose and create a new one in http://www.rohbits.com/blog. I have redirected all the traffic that is sent to rohbits.com to rohbits.com/blog but when anyone visit rohbits.com/blah-blah-blah, it takes them to a 404 error page provided by the hosting service which in my case is hostgators. I have been searching for a answer for a long time and then one day i visited a blog (www.hongkiat.com/blog) who have their blog directory similar to mine and after some re-search i found out that, hongkiat.com/blog, was initially hongkiat.com and after one year they have shifted it to different directory.

    Whenever i go to hongkiat.com, get redirected to hongkiat.com/blog and when i something like this after the link hongkiat.com/blah-blah-blah, still gets redirected to hongkiat.com/blog. Someone told me the other day that "This will only work if you have the same post on the new directory" but i don't think that hongkiat.com had any post like this one hongkiat.com/blah-blah-blah.

    Please provide me with some solution. Any help will be more than appreciated, thanks.

  2. Krishna
    Volunteer Moderator
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic