.htaccess trouble

Discussion in 'Black Hat SEO' started by allin1domain, Dec 21, 2012.

Tags:
  1. allin1domain

    allin1domain Newbie

    Joined:
    Jun 19, 2012
    Messages:
    15
    Likes Received:
    3
    hey guys;

    i've been sitting on this topic for 2 days in a row and after trying just everything i could find with G., it's driving me nuts, possibly anyone can help me out?

    my trouble is- i got a page which is heavy linked by users, and i have received many wrong links, which destroy me in GWT - my site has only .html extension pages, and people link to non existing .htm, or misspell the link so i get .html%22, or .html). - so far i have counted 22 different extensions.

    Does any of you know a way to redirect those sick URLs to corresponding .html files?
    I can't put all those links to make them 301 in htacces - since there's abt. 3000 of them, so the only solution is to make a set of rules for redirecting, but nothing works for me so far :(

    Help anybody?
    Please?:)
     
  2. Dn100

    Dn100 Regular Member

    Joined:
    Nov 24, 2010
    Messages:
    315
    Likes Received:
    132
    Location:
    Everywhere
  3. allin1domain

    allin1domain Newbie

    Joined:
    Jun 19, 2012
    Messages:
    15
    Likes Received:
    3
    yes, wildcard is an option, but problem is i hava a page with 30k visitors/day, and IT "geeks" who "have not enough time to do it, and firstly have to study >howto's<", so it will take a month or so translating to english;) and still might not work or even fuck up the page for a few secs, tahts why i try to fing somthing in htaccess
     
  4. davids355

    davids355 Moderator Staff Member Moderator Jr. VIP

    Joined:
    Apr 25, 2011
    Messages:
    12,514
    Likes Received:
    10,558
    Location:
    Scotland
    Home Page:
    You need to use regex to make an expression that covers everything.