Mobile app version of vmapp.org
Login or Join
Kristi941

: What you want to do is a 301 redirect from example.com/anypage to www.example.com/anypage. Basically you just want to add the www, not take the user to the home page just because they forgot

@Kristi941

What you want to do is a 301 redirect from example.com/anypage to example.com/anypage. Basically you just want to add the www, not take the user to the home page just because they forgot the That's really bad usability.

Fortunately this is easy to do if you use Apache. This little snippet in the conf file for the site or a .htaccess will do the trick:

Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTP_HOST} !^(www.|$) [NC]
RewriteRule ^ www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]


This will make sure that PageRank and each page's ranking (two different things) are maximized and focused on the page with the The page without the www will eventually fall out of Google's index.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Kristi941

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme