Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 8th Sep 2012, 01:22 PM   #1
CRO Expert Since 2005
 
Join Date: 2011
Location: Universe
Posts: 185
Thanks: 7
Thanked 13 Times in 13 Posts
Default
Redirection Issue from nonwww to www
Share on: 
fb share twitter share gplus share more share

Hello,

This is the site:
The Article Boss we want to redirect pages like The Article Boss to The Article Boss

For this we write the following .htaccess code. (site developed in wordpress)

HTML Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
rewritecond %{http_host} ^thearticleboss.com [nc]
rewriterule ^(.*)$ http://www.thearticleboss.com/$1 [r=301,nc]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
But still the redirection not happening.

Using 301 plugin we able to redirect pages like The Article Boss to The Article Boss or The Article Boss to The Article Boss

Any advice highly appreciated.

ours is offline  
Unread 8th Sep 2012, 02:08 PM   #2
Warrior Member
 
Join Date: 2011
Posts: 13
Thanks: 1
Thanked 1 Time in 1 Post
Default
Re: Redirection Issue from nonwww to www
Share on: 
fb share twitter share gplus share more share

Wordpress handles this for you automatically. Restore your .htaccess file and go to:

thearticleboss.com/wp-admin
>>settings
>>general

Set WordPress Address (URL) and Site Address (URL) to your full url with http: // www . thearticleboss .com.

Sorry I had to add spaces in the above URL because warrior forum won't let me post links yet.

Wezley is offline  
The Following User Says Thank You to Wezley For This Useful Post:
Unread 8th Sep 2012, 07:48 PM   #3
CRO Expert Since 2005
 
Join Date: 2011
Location: Universe
Posts: 185
Thanks: 7
Thanked 13 Times in 13 Posts
Default
Re: Redirection Issue from nonwww to www
Share on: 
fb share twitter share gplus share more share

Thanks so much for this small tips. Sometimes we think too much where the solution is too simple. Appreciate for your help.

ours is offline  
Unread 11th Sep 2012, 10:11 PM   #4
Warrior Member
 
Join Date: 2011
Posts: 13
Thanks: 1
Thanked 1 Time in 1 Post
Default
Re: Redirection Issue from nonwww to www
Share on: 
fb share twitter share gplus share more share

No problem. Glad to help!

Wezley is offline  
Closed Thread


Bookmarks

Tags
issue, nonwww, redirection, www


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 05:38 AM.