Google indexing page differently
-
Does google index an interal page differently depending on whether you are using a FULL url (including domain) or just a relative link? Also, is it possible that using a full URL (http://mysite.com/page.html) causes the browser to "ping" the server differently than just having the href linked to using relative links (/page.html) Could this cause server or firewall perfomance issues?
-
No. Google will not index your page differently; however, it can potentially slow your pages down, because you will have additional code.
Here is what Google has to say on the matter, "Where possible, use absolute rather than relative links. (For instance, when linking to another page in your site, link to www.example.com/mypage.html rather than simply mypage.html)."
There are a few reasons behind this thought process: 1) crawlers cannot get confused when crawling your pages, because the complete path is available 2) should your site content be scrapped, the links would point back to your own page 3) if you have poor site structure, this can increase errors (for instance if you switch to HTTPS for a signin page and you continue to use relative pathing for navigation, you could then have links to the HTTPS version of your website and the HTTP version).
Also, just for reference, when you are looking at using relative or absolute for canonical pages, Google states, "
rel="canonical"
can be used with relative or absolute links, but we
recommend using absolute links to minimize potential confusion or difficulties."Hope this answers your question.
Mike
-
True, but for SEO it's better to use absolute URLs.
-
It won't change the indexing but it does change server requests. To reduce server load its best to use relative not absolute urls.
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
-
Ad server not indexed
Hello guys, My client is using an ad server (not sure if i am allowed to tell which one so I will not for now) installed at ads.clientsite.com. It is using noindex, nofollow for preventing Google to index it but also it is blocking like 90 000 other pages on clientsite.com to be indexed/crawled. The guy that applied the noindex tag it is no longer here so I cannot ask him about the logic behind those noindex tags. How big could be the damage to clientsite.com if I will remove the noindex tag from the ad server (ads.clientsite.com? If needed I can PM you the ad server platform we are using, Regards, Ed
On-Page Optimization | | Noriel1 -
Wrong page ranking on SERP, above more relevant page
Often I will see the wrong page, something less relevant to a particular search, appear higher on the SERP than a more relevant page. Why does this happen and how can it be remedied? I found this Moz article, has anything been written on this topic more recently. Thanks! https://moz.com/blog/wrong-page-ranking-in-the-results-6-common-causes-5-solutions
On-Page Optimization | | NicheSocial0 -
Is it better to have an hreflang go to the home page in a different language if there's no corresponding page
If I have some pages in English, but not in Spanish on my website: Should my hreflang go to the home page on the Spanish site? Or should I not have an "es-MX" hreflang for that page? Ideally I would have all the pages translated, but this has not all been done yet.
On-Page Optimization | | RoxBrock0 -
Same UI, different domain
Hello there. I would like to ask for your opinions. I have DomainA.com/blog and want to move /blog to its own domain. As of now, the blog section has the exact same UI as the rest of the site, its just a section on our site. Will it have any negative impact with respect to SEO if DomainA.com and DomainB.com have the exact same UI and are interlinking each other? Thanks in advanced.
On-Page Optimization | | mike_sif0 -
Why will google not index my Images
Hi I've added to index images in our sitemap although they are showing as being submitted Google hasn't indexed a single one. This has been the case for about 3 months. Is there any reason why Google would not index them? Thanks
On-Page Optimization | | tidybooks0 -
What are the best practices for google indexing ajax response urls?
We just did a build to our site and our server erros went up to over 9,500. After looking into it, it seems like google is crawling the ajax urls and coming back with the errors. Here is one example http://www.rockymountainatvmc.com/productDetail.do?navType=type&vehicleId=1423&webTypeId=68&navTitle=Drive&webCatId=9&prodFamilyId=29660 If you know of any good articles on this please send them my way.
On-Page Optimization | | DoRM0 -
Should I Remove This Subdirectory From Google?
On my site, I have a subdirectory. It posts articles from a bunch of websites that my readers are interested in & links back to all of those sites. There is no original content in it. There are over 1700 indexed pages in this subdirectory. The rest of my site has about 500 (all original content). The search engine traffic for this subdirectory only accounts for 3.9% of my sites overall visits. Should I consider removing this subdirectory? Could all the duplicate content be hurting the rankings of my legit pages? What do you all think?
On-Page Optimization | | PedroAndJobu0 -
Product Page Optimization
I work for an ecommerce site and we are currently in the process of redesigning our product page. Any useful, must-do tips for this? If it helps, our site has both hard goods and apparel that can be imprinted and customized to the buyers liking. Thanks for any help!
On-Page Optimization | | ClaytonKendall1