Google indexing https insted of http pages
-
Hi!
First of all i have a Wordpress portuguese languagem website (**http://**bit.ly/TGjpVx).For a while, for security pourposes, i had a SSL certificate installed on my website but i didn't renew it, for a few months now. I didn't have any special https page. All pages responded using http or https.
My problem is that it seems that Google still indexes some o my webpages with https and not http, so when people click on it they get a bad cached page. No good for SEO, i think.
What can i do about this? I only want Google, and other serach engines, to index my clean http pages (about 70 pages).
Thanks,
OV -
Ok, well, bye
-
Hi!
Just updated my .htaccess file with the following lines and it works(!!!).
RewriteCond %{SERVER_PORT} ^443$ [OR]
RewriteCond %{HTTPS} =on
RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]I guess thre's was line missing that you mencioned.
Thanks Maurizio!
-
you must substitute.
but if the certificate is invalid the redirect don't work because the browser answer before
-
Hi!
Substitute my lines your yours or just add yours?I also found this post (**http://**bit.ly/S5dN4) regarding this same issue. Is it possible that de SSL certificate, even do it's a invalid one, gets served before any redirect?
Regards.
-
Hi
It's correct but you can try so:
RewriteCond %{SERVER_PORT} 443
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R,L] -
Hi Maurizio!
First, thanks for your answer.
I have a linux based hosted website and i tryed changing the .htaccess file (see below) but when i click on an indexed https page it isn't redirected and i don't know why.
...
RewriteCond %{HTTPS} =on RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]
...
PS: obviously, i have my real website domain insted of 'www.yourdomain.com'.
Regards.
-
If i understand better you can do a redirect with .htaccess if you have a linux hosting or directly with IIS with Windows Server, so when someone found your index page (https) and click over, will help the redirect.
Example:
Index page:
https://www.yourdomain.com/page.html
REDIRECT------------------------------------->
http://www.yourdomain.com/page.html
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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
-
Google Data Highlighter
Hello Mozers! Anyone out there have any experience using the Google data highlighter tool in WMT? I'm just curious if it is something I should be utilizing or should just try to get the same results using microdata markup. I'm not a fan of "tools" per se...I'd rather get my hands dirty. Just looking for any thoughts or experiences in using it.
On-Page Optimization | | adamxj21 -
Google crawler showing cache of another page
For the page http://www.thinkdigit.com/top-products/Laptops-and-PCs/top-10-laptops-124.php google is showing another page in cache (http://www.thinkdigit.com/top-products/Ultrabooks/top-10-ultrabooks-153.php). Please let me know how this happened and how to correct it.
On-Page Optimization | | 9dot90 -
Google picking up old pages
I recently redesigned a site that had all the keywords it was ranking for going to the home page. Now I have specific pages for each of these keywords but I'm seeing the home page (not the page that, if I do an on page optimization by hand in MOZ gives me an A rating) showing up in the auto reports (assuming pages Google sees for these keywords related to the url) as F's. They're all pointing to the home page. I've redirected the old index.html home page to the new but I suspect the reason is actually these pages (were) ranking for these terms (though none too well - all but one were not in the top 50 and one was 45) because these rankings are all dropping as well. I'm at a loss, with the site replaced, as to how to correct this and tell Google these keyword phrases all have their own pages now. I've dug through this forum and the only applicable answer I can see would be to add these phases to the home page (where they all rank for now) with anchored links to their new (A rated by Moz for these terms when I hand enter them) singular pages? Or is it just a waiting game?
On-Page Optimization | | adworksofboca0 -
Too many page links warning... but each link has canonical back to main page? Is my page OK?
The Moz crawl warns me many of my pages have too many links, like this page http://www.webjobz.com/jobs/industry/Accounting ...... has 269 links but many of the links are like this /jobs/jobtitles/Accounting?k=&w=3&hiddenLocationID=463170&depth=2 and are used to refine search criteria.... when you click on those links they all have a canonical link back to http://www.webjobz.com/jobs/industry/Accounting Is my page being punished for this? Do I have to put "no follow" tags on every link I do not want the bots to follow and if I do so is Roger (moz bot) not going to count this as a link?
On-Page Optimization | | Webjobz0 -
Home Page SEO
Hi! We recently re-designed our home page in early March. After Google panda, we re-tweaked it again, before we take it live, we really want to get some expert's opinions. We would be grateful for any comments/suggestions/feedback, particularly in the following area (you will need to click a few times to get the page to real size): is the bottom content ok? please scroll down all the way. 2) We used semantic keywords for 5-6 anchor interlinks to the same page to promote core products from the home page. Is this too much? 80% links on the footer is a repetition of header navigation links, do these footer serve any SEO value or is it over - optimization? Here is the URL: https://www.dropbox.com/gallery/36547134/1/WebDesign?h=109d4a Thanks a lot!
On-Page Optimization | | ypl0 -
Duplicate page content,
Hi, in my campaign crawls diagnostic, I have a lot of Duplicate page content, but we use canonicalization and I used webmastertool to make sure the campaign parameters are not consider by the Google bot. Can you see what could be my problem, or do you have a tip for me or things to look at ? Thank You VB
On-Page Optimization | | Vale70 -
Getting pages indexed by Google
Hi SEOMoz, I relaunched a site back in February of this year (www.uniquip.com) with about 1 million URL's. Right now I'm seeing that Google is not going past 110k indexed URL's (based on sitemaps). Do you have any tips on what I can do to make the site more likeable by Google and get more indexed URL's? All the the part pages can be browsed to by going to: http://www.uniquip.com/product-line-card/suppliers/sw-a/p-1 I've tried to make the content as unique as possible by adding random testimonials and random "related part numbers" see here: http://www.uniquip.com/id/246172/electronic-components/infineon/microcontrollers-mcu/sabc161pilfca Do I need to wait more time and be more patient with Google? It just seems like I'm only getting a few thousand URL's per day at the most. Would it help me if I implemented a breadcrumb on all part pages? Thanks, -Carlos
On-Page Optimization | | caneja0 -
Google and display:none
Hi Guys, i want to know what you think about solution which i have to switch content in tab on my page. Here: http://www.exprestlac.sk/beta/produkt/vizitky i have some important content in tabs, which are switching via javascript. So when you click there on O produkte next to Ceny it will show you product description. My problem is that in source code when page is loaded i have this: Product description.. And after user click on O produkte javascript remove that display:none and show content. But Google will see only display:none as i think. Can i get penalty from Google? Will it index this text? Thanks for your suggestions how to resolve this.
On-Page Optimization | | xman870