404 page as a 301 redirect?

Discussion in 'Site & Server Administration' started by ZuraX, Sep 18, 2005.

  1. #1
    I have 20+ domains all parked onto one domain. There is one index.php that shows a different set of text depending on what domain is being viewed.

    I am now seeing many 404 errors since some of these pages once had content. Can I make the 404.shtml a 301 redirect? If so how can I do it so that it points to the right domain?

    The 404.shtml is used by all of the domains. So there an easy way to do this?
    I think I can just tell it to redirect to / or /index.php but how do I cover all the other pages/dirs that no longer exist?
     
    ZuraX, Sep 18, 2005 IP
  2. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #2
    If you do that you will just confuse your users. Don't do it, better put up a link and point them to the right location.
     
    fryman, Sep 18, 2005 IP
  3. ZuraX

    ZuraX Active Member

    Messages:
    156
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #3
    They will be confused if all pages just show a 404 page too....
     
    ZuraX, Sep 18, 2005 IP
  4. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #4
    I don't understand what your problem is, but it seems that you just need to redirect some specific old pages to the new ones, why would you want to redirect the 404 page?
     
    fryman, Sep 18, 2005 IP
  5. ZuraX

    ZuraX Active Member

    Messages:
    156
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #5
    have gave up on a bunch of domains. They are now parked. With the parking places I use they dont offer their nameservers just a url to forward to. Right now only people going to the domain.com get sent to them the rest get a 404. I want to redirect ALL traffic to them.
     
    ZuraX, Sep 18, 2005 IP