Please help me stop google indexing https pages on my wordpress site
-
I added SSL to my wordpress blog because that was the only way to get a dedicated IP address for my site at my host. Now I am noticing Google has started indexing posts both as http and https. Can some one please help how to force google not to index https as I am sure its like having duplicate content. All help is appreciated. So far I have added this to top of htaccess file: RewriteEngine on
Options +FollowSymlinks
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^robots.txt$ robots_ssl.txt And added robots_ssl.txt with following: User-agent: Googlebot Disallow: / User-agent: * Disallow: /
But https pages are still being indexed. Please help.
-
Hi Rookie123
Having unique IP's may be of use from an SEO perspective if you have multiple sites that you are interlinking with the hope of boosting SEO. However there is no guarantee that Google will not be able to work out that the sites are still in fact related.
If this is a single stand alone site then I would not worry about having a unique IP as I am not aware of any tangible benefit and would be more focused on resolving the duplicate content issue.
Hope this helps.
-
Hehe. Some one on DP suggested that.
So are you saying just add this to htaccess
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteCond %{SERVER_PORT} ^443$ [OR]
RewriteCond %{HTTPS} =on
RewriteRule ^(.*)$ http://www.sitename.com/$1 [R=301,L]
I am just trying to understand what it actually do? Also I am guessing i will have to deindex already indexed https pages from webmaster tools.
-
Did you just copy code from Digital Point or have SEOmoz started putting ads in?
The nofollow should in theory stop bots wandering around the https version once they're on there, so can't hurt.
I think you're best redirecting the https version though if you don't need it at all.
-
Barry,
I will try that also. Also wanted to ask you what you think about adding following to the template.
if ($_SERVER['HTTPS'] = "on") { echo 'content="noindex, nofollow">'; }
-
Can you just redirect the https to the http version?
Options +FollowSymlinks
RewriteEngine on
RewriteBase /RewriteCond %{SERVER_PORT} ^443$ [OR]
RewriteCond %{HTTPS} =on
RewriteRule ^(.*)$ http://example.com/$1 [R=301,L] -
Its a wordpress site and actually I do not even have a single page that needs https.
I am also thinking of just getting rid of ssl from my site. I added it to have a unique IP for my site cause I had heard it helps with SEO but I think the issues outweigh the benefits.
What do u think is better, do these code changes or just get rid of SSL? -
The problem here is you've not told the robots to noindex the https version, you've simply said they're not allowed to crawl it, but if they see a link go to there they know it exists in some capacity. What you need is the robots noindex tag on all these pages.
If you have some way of differentiating the https pages in your template then you just need to add
to the header.
If you can't then you can try to do it by putting this bit of php in your header
if ($_server['https] == "on") {
echo ";
}?>
I would guess there's some dangers in that doing bad stuff to your site, so make sure and test it. If it appears on all your pages take it off immediately!
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Are there definite benefits of the jetpack firehose for wordpress
Is there any research or detailed review of whether the jetpack wordpress firehose has a definite benefit for seo? https://wordpress.org/support/topic/enhanced-distribution-to-where/
Content Development | | jezweb0 -
How many categories should you have within a blog / Wordpress Site for SEO?
Hi Guys I am just wondering whether or not for SEO purposes it is better to have a small number of categories for your blog posts to fit into as opposed to numerous ones. The reason I ask is that I have one site which is fairly new to the search engines - 8 months old which has 7 general categories within the blog for instance "rail contractors", "railway construction" "airport construction" etc I have another site which is 10 years old which has built up 25 different types of categories for instance brand design, brand development, brand management (i guess you could put all these under 1 category "branding"? We've been writing lots of press for both sites... yet the younger site is getting more coverage on Google page 1. Would this be because the blogs / press are more concentrated under a specific category as opposed to being spread thinly throughout the site? Any help would be appreciated. Debs 🙂
Content Development | | lethalmarketing0 -
Google Blogger Vs. Sub Domain Blog - Authority building.
We are looking into offering blogs for our customers on their current sites that we have built & host for them. My developers have given me 2 options. 1. Sub domain with a hosted blog. 2. A Google Blogger blog with our customers sub-domain pointed to it. In my opinion I feel that a blog hosted on the sub domain is a better option as it is more authority then a Google Blogger blog. What does everyone think? Having a blog hosted on the subdomain would help with authority building vs. a Google Blogger site? Thanks for any help!
Content Development | | DCochrane0 -
How Google judge about duplicate content?
With recent Search engines updates one thing is clear we cannot ignore content. Content marketing definitely going to be most important part of our SEO strategy. I have few doubts about content marketing (circulation of content over web) where I want suggestions of community members. There would be different thoughts so I would like to have as many as responses to know what majority thinks: When we are writing guest posts, does article needs to be unique with each and every blog we are writing or we can safely circulate one good piece of content to 10-15 blogs who are interested in our creative. We have written a good blog post for our own domain. Apart from social sharing should it be posted to other related blogs too or it should be unique to our domain only. Social sharing, mentions, like of blog matters in rankings?Seems yes they do but need to know what majority thinks. Finally what is the safe number to circulate your content over web.
Content Development | | EG0CENTRIX0 -
Removing decent PA and PR pages?
I currently have some html pages that have camtasia videos demo-ing our products; however, these videos are WAY outdated and we no longer want to maintain them. The are only videos, no text at all is on the page. The pages have an average page authority of 40 and mR of 4. Should I just remove these pages or should I create a redirect to the homepage or product page? Or...? I have roughly 30 or 40 of these types of pages. Thanks for any help. Mike
Content Development | | Mike.Goracke0 -
How can i get this map on my site
hi. i have just seen a great map that i would love to have on my joomla website here it is http://www.holidaywatchdog.com/42894-Kolymbia-Holiday_Village_Rhodes-Holiday-Review.html it is the map on the side where it shows where the hotel is, on the right hand side, can anyone tell me how i can get this on my site and pop up on my site without the person leaving my site please many thanks
Content Development | | ClaireH-1848860 -
How many pages is too many to add to a site at one time?
I have quite a bit of excellent content articles at my disposal and we would like to increase the number of pages on our site. I could, theoretically add 100's of pages at a time. Does anyone have a good sense of how much content added to a sight in mass looks bad to Google? My plan is to add approximately 50 pages a week to our site, which already has 4000 pages of content. This is relevant content, since we are a custom writing service and all topics are covered. Our content is what gives us great organic hits and orders. However, I would like to add more than 50 a week...how many is too many? Thanks and I appreciate thoughts and feedback! Karen
Content Development | | eworld0 -
A site review please
Hi, first post here so hope i have posted this in the right place. From reading the forums a number of people have asked for site reviews and received some very good feedback so I thought I would jump aboard too. One of my companies, Digital Cow, is based around the world of affiliate marketing and had been doing very well until recent Google changes killed the whole process of making sites based around other people's datafeeds. Through considerable testing we have countered this by increasing the blend of duplicate content and unique, niche related, content. As a result a website we launched about 2 months ago is currently getting around 350 unique hits a day but seems to have stagnated. We know the potential is there for thousands of daily hits on this site and well over 20,000 hits a day on all our websites, but we are having issues with Google at the moment. One week we could be position 10 for a keyword, next position 90, then back to position 10 again and so on. In the last week some 95 keywords moved up the ranking and 62 moved down - we are seoing for a couple of hundred keywords. A small sample of some of these words and our ranking for them are listed below bodysuits women 13
Content Development | | Grumpy_Carl
tumbum 14
bright leggings 18
bright tights 18
bridal hold ups 19
opaque hold ups 20
girls in leggings 21
pretty polly hold up 21
fish net hold ups 22
slimming tights 22
tum bum 26
magic knickers 27
toeless tights 28 and there are many more. The website in question is www.brighttights.com. If anyone could spare a moment to offer their opinion on what they think of the site re seo that would be most welcome. Given it's an ecommerce site there are limits to the content we can add on the homepage. Many thanks Carl0