Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
Share
LinkBack Thread Tools
Old 09-08-2012, 01:22 PM   #1
Google Professional
 
Join Date: Sep 2011
Location: Universe
Posts: 180
Thanks: 5
Thanked 14 Times in 14 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to ours
Default Redirection Issue from nonwww to www

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   Reply With Quote
Old 09-08-2012, 02:08 PM   #2
Warrior Member
 
Join Date: Sep 2011
Posts: 12
Thanks: 1
Thanked 1 Time in 1 Post
Default Re: Redirection Issue from nonwww to www

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   Reply With Quote
Old 09-08-2012, 07:48 PM   #3
Google Professional
 
Join Date: Sep 2011
Location: Universe
Posts: 180
Thanks: 5
Thanked 14 Times in 14 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to ours
Default Re: Redirection Issue from nonwww to www

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   Reply With Quote
Old 09-11-2012, 10:11 PM   #4
Warrior Member
 
Join Date: Sep 2011
Posts: 12
Thanks: 1
Thanked 1 Time in 1 Post
Default Re: Redirection Issue from nonwww to www

No problem. Glad to help!

Wezley is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Bookmarks

Tags
issue, nonwww, redirection, www

Thread Tools

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 03:37 AM.