Urgent help for 301 redirect needed!

by monsur
8 replies
I am sorry to say that I removed greatgen.com from the previous hosting.But it has many pages indexed like
http://greatgen.com/252486-Twitter-T...h-06-2010.html

When I go to this address ,I saw
"The requested URL /252486-Twitter-Tweets-about-Problems-And-Solutions-as-of-March-06-2010.html was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."




This is hosted in justhostdotcom.




I want that when any body clicks on already indexed page like the one mention-above ,he/she will automatically be redirected to the homepage of greatgen.com






Is there any way to that?




Thanking you
Monsur
#301 #needed #redirect #urgent
  • Profile picture of the author Andyhenry
    There are several ways - your host will have a standard way of dealing with this.

    It's usually something along the lines of creating a file called 301.htm or similar that just has a redirect in it.

    You can also do it with the htaccess file too.

    Also you could put pages back and have them redirect to your home page.

    The easiest answer is the hosting redirect - your admin panel may even have an option to turn on redirects for pages that don't exist.

    It's usually VERY easy if you're familiar with your hosting admin interface.

    Andy
    Signature

    nothing to see here.

    {{ DiscussionBoard.errors[1864842].message }}
  • Profile picture of the author monsur
    Thank you brother for the helpful reply .I am grateful to you. In fact I have almost no tech. knowledge. But I have idea on .htaccess file. I have already created one and uploaded to my control panel.

    What code should I write on the file?


    Thanks much
    Monsur
    {{ DiscussionBoard.errors[1864891].message }}
  • Profile picture of the author Andyhenry
    It's the 404 file you need to cater for.

    Simply put

    ErrorDocument 404 /index.html

    in .htaccess
    Signature

    nothing to see here.

    {{ DiscussionBoard.errors[1864903].message }}
  • Profile picture of the author monsur
    Thanks again .I put the code in .htaccess file ,but not working on my pc.

    May you please check it on your pc?

    Thanks
    Monsur
    {{ DiscussionBoard.errors[1864925].message }}
  • Profile picture of the author monsur
    While searching on google ,I found another one - ErrorDocument 404 /notfound.html

    Should I test it as well?
    {{ DiscussionBoard.errors[1864936].message }}
  • Profile picture of the author Andyhenry
    I'm not being funny - but you can google this.

    And you should spend some time understanding your admin panel as there is probably a way to do this automatically and they've given you what you need but you're just not reading the instructions or finding it out yourself.

    Your hosting company can tell you this too - so sorry but I'm not spending any more time to do it for you. I already went and did it for myself to confirm what I was saying, I think that's as much as you can reasonably expect from someone.

    Andy
    Signature

    nothing to see here.

    {{ DiscussionBoard.errors[1864940].message }}
  • Profile picture of the author monsur
    Thank you very much for the help .Yes, you are right. I am so sorry to have wasted your valuable time.

    Thanking you
    Mosnur
    {{ DiscussionBoard.errors[1864946].message }}
  • Profile picture of the author Matthew Shane Roe
    If you go into your back office of your hosting you can go to the addon on domains area. Set your hosting up for the same hosting on both domains and add the domain you want redirected to it. Afterwards go into your addon domain and you will see a couple of options, 1: remove and 2: redirect domain. Choose redirect domain and then type in the full url of where you want the domain to be redirected to. It should work then.
    {{ DiscussionBoard.errors[1864969].message }}

Trending Topics