1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Internal error 500 when redirect URLs using HTaccess

Discussion in 'Site & Server Administration' started by willyboy104, Nov 3, 2008.

  1. #1
    My problem is www.back-links.org now has a internal 500 error when using the redirects through my HTacess file.

    This is how the file looks

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    redirect 301 /Godaddy-cheap-domains.php http://back-links.org/godaddy-com-domains-099/
    redirect 301 /First-video-tutorial-uploaded.php http://back-links.org/first-video-tutorial-uploaded/

    With about another 120 redirects which are all in this format.

    Anyone have an idea?

    IT SEEMS THE PROBLEM LIES HERE

    All my redirects are fine except for these two

    redirect 301 /Uploading-a-proxy-site(PHP Proxy Script).php http://back-links.org/uploading-a-proxy-site-php-proxy-script/
    redirect 301 /Uploading-a-proxy-site(Zelune Proxy Script).php http://back-links.org/uploading-a-proxy-site-zelune-proxy-script/

    I am not sure why but I am guessing its to do with the brackets, is there anyway of sorting this out.

    Will.
    willyboy104, Nov 3, 2008 IP
  2. Mxhub

    Mxhub Peon

    Messages:
    474
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Your code is wrong in .htaccess ..that is why you got the 500 internal error.
    Mxhub, Nov 3, 2008 IP
  3. willyboy104

    willyboy104 Active Member

    Messages:
    2,852
    Likes Received:
    80
    Best Answers:
    0
    Trophy Points:
    90
    #3
    The problem with mine was one of the URL redirects wasn't registering properly so I had to change the name of the URL.
    willyboy104, Nov 8, 2008 IP