Need Help. Wasted 16 Hours!!! Pulling Hair

4 replies
I wasted almost my whole day trying to figure out how to do things right but I am stuck. PLEASE HELP.

I just got a CloudSite from Rackspace for my Wordpress blog.

The problem is they don't give out dedicated IP unless my site had a SSL certificate.

So I ended up buying a license for SSL.

Getting to the point, I now have

Www (dot) domain.com
domain.com
https:// www(dot)domain.com


Since I don't want duplicate content, how do I rewrite my .htaccess file.

The only thing I found online was:

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^w ww\.domain\.com [NC]
RewriteRule ^(.*)$ h ttp://w ww(dot)domain.com/$1 [L,R=301]


But this just helps to make everything w ww(dot)domain.com incase they type in just domain.com

So my question is, how do I take off h ttps for the entire site except for one page (order form)?

I'm scared that Google might index my site with both https and http and make my site have duplicate content.

Snickers
#hair #hours #pulling #wasted
  • Profile picture of the author Debbie Songster
    I'm scared that Google might index my site with both https and http and make my site have duplicate content.
    You have nothing to worry about - http VS https is not an issue
    Signature

    Getting back in the grove after taking a year off following a family tragedy.

    {{ DiscussionBoard.errors[1410541].message }}
  • Profile picture of the author Steve Powers
    I think it's not necessary for you to worry about this problem.It only has relationship with your domain but not the url.And also you'd use .htaccess file to make the url standardization.I mean use the one with www or without www,and others should be redirected to this one.That would be more friendly to the SE.
    Signature
    HostEase Web Hosting
    20% for shared web hosting with coupon code "hostease"! $7.95 per domain with coupon code "695TLD"!
    99.9% Uptime Guarantee! 30 Day Money Back Guarantee! 24/7/365 Customer Support!
    {{ DiscussionBoard.errors[1410745].message }}
    • Profile picture of the author Jill Carpenter
      This may be a bit off topic but:

      Big giant thumbs up to you. I don't know what all that is up there, but just the fact that you put the time in and were persistent for the day deserves a pat on the back.

      I've had many a 16 hour day to figure some things out before.

      Hope your ultimate result is what you want.
      Signature

      "May I have ten thousand marbles, please?"

      {{ DiscussionBoard.errors[1411019].message }}
      • Profile picture of the author sagerock
        You are right to want this resolved.

        The code you have is good.

        This will send people to the "www" version of your site.

        I would want to play around with it a little.

        I still don't have enough posts to embed links, but do a search in Google for the phrase:
        How can I redirect all pages to http except for certain pages?

        It should be the 1st listing. It's a Webmasterworld thread.

        This should give you some good clues on how to make this work.

        I'm happy to keep working with you on it. Just let us know if you run into trouble.
        {{ DiscussionBoard.errors[1411272].message }}

Trending Topics