My 301 Redirects Don't Work... How can I fix this?

by sirtom
3 replies
Hey guys,

So I just noticed that all redirects for my main domain don't work, I get the "404 Error" message.

I have other domains on my hosting account, and all of their redirects work, but none for my main domain name (which is Followtom.com).

Can someone help me with this? Thanks!
-Tom
#301 #fix #redirects #work
  • Profile picture of the author Ryan Roxas
    are you using a .htaccess file to do redirects or PHP?
    {{ DiscussionBoard.errors[1402335].message }}
    • Profile picture of the author sirtom
      I'm not sure.. I use Hostgator for the redirects (I just set up the redirects in the "redirect" area in the cpanel), and was on line with support, and they said it was something to do with .htaccess. Then they said the problem was from Wordpress, so I was to 'see the Wordpress documentation.'

      ...and that's where I got stuck.

      I was able to install the Simple 301 Redirect plugin and make the redirects work, but I'd like to know how to fix what's wrong with it.
      Signature
      [WSO] Fitness/Weight Loss PLR Package like you've never seen before (and outlandish reviews!) - check it out here
      {{ DiscussionBoard.errors[1402345].message }}
  • Profile picture of the author Ryan Roxas
    if you installed wordpress and are using a custom .htaccess file, then you may have overwritten the .htaccess file that was doing the redirects before.

    you should view the .htaccess file that you have on your site, and see if there are any redirects in it. if not, you can rebuiild them by adding them in the .htaccess file, like so:


    redirect 301 /old/old.htm http://www.you.com/new.htm

    where /old/old.htm is the old URL and http://www.you.com/new.htm is the URL you want the users to go to.
    {{ DiscussionBoard.errors[1402435].message }}

Trending Topics