Announcement

Collapse
No announcement yet.

301 redirect

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 301 redirect

    I've been doing some research on creating a 301 redirect so if someone types in my website url as rvtwintrak.com, it will be redirected to www.rvtwintrak.com.

    What I have found is that I need to add:

    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^rvtwintrak\.com
    RewriteRule ^(.*)$ http://www.rvtwintrak.com/$1 [R=permanent,L]

    Can someone please verify that this is correct, and more importantly, where do I put it???

    Thanks in advance

  • #2
    Re: 301 redirect

    rvtwintrak.com is the same as www.rvtwintrak.com.
    You can enter either in a browser and your website will appear.
    CarbonTerry
    Semper Fi
    Still green...still mean......just not as lean

    Red Hawk Archery
    Zone 5 Photo
    My USMC

    Comment


    • #3
      Re: 301 redirect

      Thanks for the reply. I know that entering my domain with or without "www" goes to my website but I was hoping to improve my web ranking with google, etc. by doing the redirect. I guess I really don't know enough about it to persue it. Thanks again.

      Dave

      Comment


      • #4
        Re: 301 redirect

        A 301 is for a name change. Lets say that you have a page that is www.xxxxx.com/blue.html and you need to change it to www.xxxxx.com/bluesocks.html but the old "blue" page is getting a lot of traffic.
        That's when you need to do a 301 for the "blue" page.
        CarbonTerry
        Semper Fi
        Still green...still mean......just not as lean

        Red Hawk Archery
        Zone 5 Photo
        My USMC

        Comment

        Working...
        X