Finally, It’s Time to Retire Your WWW

Sites like ours that have been around for a decade accumulated SEO rank on pages that have sustained incredible traffic. As with most sites, our domain was displayed and started with www. In recent years, the www has become less prominent on sites… but we kept ours because that subdomain had so much authority with search engines.

Until now!

Moz has a great breakdown of changes with 301 Redirects that Google has announced, which are helping search-centric sites maintain their authority while modifying their site’s location. The two that are key, in my opinion, are:

New Rules of 3xx Redirection

Moz 301

This is a great time to retire that old www and modernize your site’s address. We’ve already done it on Martech and our agency. We’ll also be rolling these changes out to our client after having changed and tested it with our sites and not seeing any degradation in ranking.

Apache .htaccess Redirect www to non-www

If you’re running a site like WordPress on Apache and can edit and add rules to your .htaccess file, here’s a snippet to 301 redirect (with https):

RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ https://www.%1%{REQUEST_URI} [L,NE,R=301]

Don’t Forget Google Search Console

Note that having both versions of the site’s URL listed in your Google Search Console account won’t affect the indexing of your site as long as you have submitted a Sitemap for only one version—the version you want to be indexed. Don’t submit a Sitemap for both versions if the location and content are identical.

Google
Exit mobile version