PDA

View Full Version : No WWW?


Emma
09-30-2007, 12:45 AM
OK I've updated my wordpress to 2.2.3, some of my inbound links point to Its Write Now (http://www.itsWriteNow.com) and some point to itsWriteNow.com.

I would like for all of my links to count. What's the best plug in for this redirect and is it compatible with the latest version of WordPress or is this function built in.

I would appreciate any info you have. Thanks, Emma

Jeremy
09-30-2007, 01:11 AM
You don't need a plugin as this is simply a few lines of code to add to your .htaccess file (FTP into your account and it should be in your root directory). I hate the www's so I redirect all of mine to the non-www version, but you can do just the opposite.

In my situation I added this to the end of my .htaccess file:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.genxfinance\.com$ [NC]
RewriteRule ^(.*)$ http://genxfinance.com/$1 [R=301,L]

Golgotha
09-30-2007, 02:38 AM
I use same as Jeremy - the .htaccess file.

BPartch
09-30-2007, 05:55 PM
You can also create a google sitemaps account and set this to your desired preference, so that way google knows. :)

thetafferboy
10-03-2007, 12:27 AM
You can also create a google sitemaps account and set this to your desired preference, so that way google knows. :)

.htaccess is better method - will work on all SEs, including Google :)

Emma
10-03-2007, 07:45 AM
Thanks everyone, in the morning I think I'll use the code Jeremy suggested. Wish me luck! Emma

Michael Martin
10-03-2007, 08:51 PM
.htaccess is better method - will work on all SEs, including Google :)

The plugins use .htaccess as well. The only advantage to not using a plugin is that you have one less plugin to depend on, and slightly more control I suppose. :)