Tag Info

Hot answers tagged

2

If Google isn't indexing words contained within scripts, then the words need to be added to the HTML where Googlebot does pick up on them. So that all the data isn't duplicated, it can be removed from the script. The JavaScript can pull the text out of the HTML document and use it. The text in the page can be hidden via CSS. This should not be ...


1

Instead of using just the canonical tag on both pages, use the annotations for desktop and mobile URLs. On the desktop page, add: <link rel="alternate" media="only screen and (max-width: 640px)" href="http://example.com/?mobile=1" > and on the mobile page, add the canonical tag: <link rel="canonical" href="http://www.example.com/" > ...


1

Google does not reliably index text contained in JavaScript or CSS, even if it is visible to users on the page. I found out about the JavaScript part recently when I asked How can I get Google to index content that is written into the page with JavaScript? I also use text in css before on that site. If I search for the text that is in the CSS, Google ...


1

The reason this happends is because of (amongst things) duplicate content. You know that the http and https version are the same page, but Google treats them as two pages, thus duplicate. What you need to do is send a redirect with 301 header. 301 means 'permanent redirect', or simply put: 'dont use this url anymore, use the one I send you to: ...


1

I am not having a deep knowledge of this implementation as i have not performed it yet on any of the client's site, but i think i can help you. So, here you go: You need to make a 301 redirect on all the URLs in .htaccess One thing that need to make sure is the sitemap of the site.You need to change with all the new URLs with HTTPS Make sure that all the ...



Only top voted, non community-wiki answers of a minimum length are eligible