Need .htaccess PRO

Discussion in 'Services' started by r3born, Dec 9, 2009.

  1. #1
    On one website, I need to redirect 404 pages to the index page and redirect non-www to the www-version.

    I failed to do this on my own so if you know your way around .htaccess, I need your help.

    Please PM if you know how to do it, shouldn't take more than 5 minutes in this case.

    $10
     
    r3born, Dec 9, 2009 IP
  2. saurabhj

    saurabhj Banned

    Messages:
    3,459
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    I'll do it for you..
     
    saurabhj, Dec 9, 2009 IP
  3. Sn@Ke

    Sn@Ke Well-Known Member

    Messages:
    334
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    155
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    
    RewriteEngine on
    Options FollowSymlinks
    rewritecond %{http_host} ^YOURSITE.com [nc]
    rewriterule ^(.*)$ http://www.YOURSITE.com/$1 [r=301,nc]
    ErrorDocument 404 /index.php
    
    Code (markup):
    change YOURSITE to your domain name obviously, and index.php could also be index.html whatever...

    just copy paste that into .htaccess
     
    Sn@Ke, Dec 9, 2009 IP
  4. jason12390

    jason12390 Peon

    Messages:
    135
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    jason12390, Dec 9, 2009 IP
  5. dailyearner

    dailyearner Banned

    Messages:
    2,227
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    i can do this job for you
    pm you details already
    plz check your pm
     
    dailyearner, Dec 10, 2009 IP