SeOpt Internet Marketing

Call: (713) 518-2159
e-mail: sean@seopt.com

  • Home
  • About
  • Search Engine Optimization
    • Local Houston SEO
    • PPC Campaigns
    • Houston SEO Consultant
  • Site Design
  • Social Media
  • Contact
  • Blog
  • Resources
    • Local Citations
    • Good Reads
    • General Directories
Home › Blog › Simple 301 Redirect Instructions
Jan23
Sean Odom
Blog
0 Comment

Simple 301 Redirect Instructions

Definition of Canonical URLs

The preferred address of a domain, which can be two different URLs. Although, both can be used to access the same
domain/website, for example; www.yoursite.com or yoursite.com

301 Redirect Overview

Follow the simple example below to redirect canonical URLs on your domain. Setting a 301 (permanent) redirect from yoursite.com to www.yoursite.com.

To take advantage of 301 redirects you will need FTP or control panel access to your website. If you do not have this information you can get it from your web hosting provider.

Word of warning, you will have to edit your .htaccess file to accomplish this. Please be careful and always make a backup of the original just in case there is a problem.

Using 301 Permanent Redirects

First, open your .htaccess file with a plain text editor such as notepad. Next copy and paste the following code into the .htaccess file;

<––– Begin 301 Permanent Redirect Usage Example –––>

RewriteEngine on
RewriteCond %{HTTP_HOST} ^yoursite\.com$ [NC] RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=301,L]

<––– End 301 Permanent Redirect Usage Example –––>

Next, simply replace "yoursite" with your unique domain, save and upload. Now when somebody types in yoursite.com in their browser they will be automatically redirected to www.yoursite.com.

Sean Odom
Sean Odom

Sean is the founder of SeOpt Internet Marketing, a Houston based local SEO service provider. Sean is also co-founder of Socialot.com, a SAAS social contact management system for small businesses.

301 seo
Related Posts
  • SEO Guide
  • Google Business & Site Owner Help
  • SEO Glossary & Definitions
  • Increase Website Conversion Rates
Click here to cancel reply.

Leave a Reply

You must be logged in to post a comment

Recent Posts

  • Questions About Web Crawlers, Robots, Spiders
  • SEO Guide
  • Google Business & Site Owner Help
  • HTML Validation
  • Simple 301 Redirect Instructions
  • How To Use a Robots.txt File
  • SEO Glossary & Definitions
  • Flash Search Engine Optimization
  • Increase Website Conversion Rates
  • The Problem with Frames

Recent Comments

  • Search Engine Friendly Website Design - SeOpt SEO Blog on SEO Guide
  • Keyword Rich Anchor Text, Optimizing Heading Tags & Page Naming on Search Engine Marketing
  • Google Webmaster Guidelines For SEO's - SeOpt SEO Blog on W3C HTML Validator
  • Link Building - How To Build Quality Backlinks - SeOpt SEO Blog on Search Engine Marketing
  • Keyword Analysis & Targeting Competitive Keywords - SeOpt on PPC Campaign Management

Archives

  • February 2015
  • February 2013
  • January 2013
  • December 2012
  • November 2012
  • October 2012
  • August 2012
  • July 2012
  • May 2012
  • June 2011
  • April 2011
  • September 2009
  • April 2009
  • October 2007
  • August 2007
  • December 2006

Categories

  • Blog

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Get In Touch

SeOpt, Inc.
24044 Cinco Village Center Blvd
Suite #100

Katy, TX 77494
(713) 518-2159
sean@seopt.com
URL of Map
Monday-Friday 9am-5pm
Saturday 11am-3pm

Site Navigation

  • Home
  • About Us
  • Contact Us
  • Search Engine Optimization
    • Local Houston SEO
    • PPC Management
    • Houston SEO Consultant
  • Site Design
  • Social Media
  • Blog
  • Privacy
  • Sitemap

Partners

  • The Writers For Hire
  • Zephyr Salvo
  • ChiliPepperWeb.net

Recent Posts

  • Questions About Web Crawlers, Robots, Spiders
  • SEO Guide
  • Google Business & Site Owner Help
  • HTML Validation
  • Simple 301 Redirect Instructions
Copyright © 2013 SeOpt.com Internet Marketing - All Rights Reserved www.seopt.com