Redirect cgi-bin directory

Discussion in 'Search Engine Optimization' started by Token, Sep 20, 2010.

  1. #1
    My Old site had a lot of urls using the cgi-bin directory
    eg : www.website.com/cgi-bin/etc?123

    Now the site is now on a new server running wordpress, and I want to redirect this to :
    www.website.com/etc/123

    The problem is I am getting 404 errors that are not being processed by wordpress, and even creating a direcotry cgi-bin does the same thing.

    I am not too sure if I can do this via .htaccess
    Or is this to do with a PHP.ini setting or even apache?

    How can I redirect the cgi-bin?

    Thanks
     
    Token, Sep 20, 2010 IP
  2. igetfx

    igetfx Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You should try the .htaccess from ftp. It should works.
     
    igetfx, Sep 20, 2010 IP
  3. jitendraag

    jitendraag Notable Member

    Messages:
    3,982
    Likes Received:
    324
    Best Answers:
    1
    Trophy Points:
    270
    #3
    Need to see your rewrite rules before we can suggest anything.
     
    jitendraag, Sep 21, 2010 IP