Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Senior Member
    Join Date
    Aug 2008
    Posts
    213
    Member #
    17128
    I have a site www.waikoloavacationrentals.com. When you click on Hawaii blog to get to my blog it directs you to waikoloavacationrentals.com/WaikoloaBeach. How do I get it to direct to www.waikoloavacationrentals.com/WaikoloaBeach? It is a WordPress blog.
    Thanks,
    Rob Dalton (Kolea Rentals)

  2.  

  3. #2
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Put this in your .htaccess file - it will redirect all traffic to the www subdomain:
    Code:
    RewriteCond %{HTTP_HOST} .
    RewriteCond %{HTTP_HOST} !^waikoloavacationrentals\.com [NC]
    RewriteRule (.*) http://www.waikoloavacationrentals.com/$1 [R=301,L]

  4. #3
    Senior Member
    Join Date
    Aug 2008
    Posts
    213
    Member #
    17128
    Still for the blog it goes to waikoloavacationrentals.com. Once it is there you can not get it to show www.waikoloavacationrentals.com for any page.
    Rob Dalton (Kolea Rentals)

  5. #4
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    I had an error in my code above. Try this:

    Code:
    RewriteCond %{HTTP_HOST} .
    RewriteCond %{HTTP_HOST} ^waikoloavacationrentals\.com [NC]
    RewriteRule (.*) http://www.waikoloavacationrentals.com/$1 [R=301,L]


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:32 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com