How to Redirect Non-WWW to WWW

Search engines consider http://joshstauffer.com and http://www.joshstauffer.com to be different websites. Therefore if you have others linking to both versions of your site you are splitting up your link juice. To correct this you can use a simple 301 redirect in your site’s .htaccess file.

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

JoshStauffer.com runs on the Genesis Framework

Genesis Framework

Genesis empowers you to quickly and easily build incredible websites with WordPress. Whether you're a novice or advanced developer, Genesis provides the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go. It's that simple - start using Genesis now!

Take advantage of the 6 default layout options, comprehensive SEO settings, rock-solid security, flexible theme options, cool custom widgets, custom design hooks, and a huge selection of child themes ("skins") that make your site look the way you want it to. With automatic theme updates and world-class support included, Genesis is the smart choice for your WordPress website or blog.

Become a StudioPress affiliate

Speak Your Mind

*