Need help with redirect

Discussion in 'Site & Server Administration' started by BioNet, Nov 11, 2007.

  1. #1
    Hi evreyone,

    I'm looking for someone to help me with redirect 301.
    I have a canonical URL.
    1) http://site.com
    2) http://www.site.com

    I want all of the to be redirected to http://site.com

    Pleaes PM if you're willing to do the job.
    Will pay.

    Best,
    K
     
    BioNet, Nov 11, 2007 IP
  2. harrysmith

    harrysmith Well-Known Member

    Messages:
    466
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    110
    #2
    I think setting redirect is not that hard, to pay for ;) you can do it by your own,
    you can set redirect using cpanel redirect or by setting a rule in .htaccess file :)
     
    harrysmith, Nov 11, 2007 IP
  3. chickens

    chickens Peon

    Messages:
    242
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Simple answer if you use apache with mod_rewrite

    RewriteCond %{HTTP_HOST} ^www.domain.com$ [NC]
    RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]
    Code (markup):
     
    chickens, Nov 11, 2007 IP