how do i redirect my 404 etc traffic on wordpress sites?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TommyM
    Confirmed User
    • May 2001
    • 1147

    #1

    how do i redirect my 404 etc traffic on wordpress sites?

    Hey
    I cant seem to be able to add code for redirecting my 404 etc traffic on domains that run wordpress, it always seems to get my the 404 error on my blog, and not redirecting me to what I have set up in htaccess
  • Axel XXX
    Confirmed User
    • Aug 2002
    • 6924

    #2
    make 404.php file
    CCBill Sponsors // ccbillsponsors.com // Your #1 Source for CCBill Sponsors!

    Comment

    • TommyM
      Confirmed User
      • May 2001
      • 1147

      #3
      if I edit the 404.php in the wordpress admin and just put in some meta refresh code, it just gets me the standard IE 404 page

      Comment

      • KingpinMedia
        Confirmed User
        • Jan 2005
        • 834

        #4
        http://urbangiraffe.com/plugins/redirection/

        this is what I use - works like a charm.


        Jason Forrest is a scammer. Pay me my 15k bitch.
        http://www.jason-forrest.com/
        K-Man, Media and Moses are also scammers

        Comment

        • TommyM
          Confirmed User
          • May 2001
          • 1147

          #5
          tryed that plugin, but it only works if i put in source url, and that I dont know as i dont know all my 404 adresses etc on my sites ;)

          Comment

          • Ad3pt
            Confirmed User
            • Aug 2002
            • 476

            #6
            Sounds like you're using permalinks.
            Try this:
            Create a file on your website. Call it onerror.html. It can have just <html></html> in it for all that it matters.
            In Wordpress's .htaccess file, add this to the top of the file:

            ErrorDocument 401 /path/to/onerror.html

            See if that makes any difference. If it doesn't, add another line with 403 instead of 401.
            Don't look here for the joke. It's in your pants.

            South O - World Class surfer destination since 2001.

            Comment

            • Deej
              I make pixels work
              • Jun 2005
              • 24386

              #7
              Originally posted by Ad3pt
              Sounds like you're using permalinks.
              Try this:
              Create a file on your website. Call it onerror.html. It can have just <html></html> in it for all that it matters.
              In Wordpress's .htaccess file, add this to the top of the file:

              ErrorDocument 401 /path/to/onerror.html

              See if that makes any difference. If it doesn't, add another line with 403 instead of 401.
              Name fits

              Deej's Designs n' What Not
              Hit me up for Design, CSS & Photo Retouching


              Icq#30096880

              Comment

              • tranza
                ICQ: 197-556-237
                • Jun 2003
                • 57559

                #8
                Change your htaccess.
                I'm just a newbie.

                Comment

                • AlienQ - BANNED FOR LIFE
                  best designer on GFY
                  • Mar 2003
                  • 30307

                  #9
                  LOL, people over complicatingsimple things.

                  Hello! Fix yer fucking HTACCESS!

                  Comment

                  Working...