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
-
Combine poorly ranking pages into a single page?
I'm doing on-page optimizations for an apartment management company, and they have about seven apartments listed on their site. Rather than include everything on the same page - /apartments/apartment-name/ - they have the following setup: /apartments/apartment-name/contact /apartments/apartment-name/features /apartments/apartment-name/availability /apartments/apartment-name/gallery /apartments/apartment-name/neighborhood With very few exceptions, none of these pages appear to rank for anything, and those that do either rank very poorly for seemingly random keywords or for keywords like the apartment complex name (alongside the main landing page for the complex). I'm of the mind to recommend combining the pages into a single one that contains all the info, eliminates the chances for duplicate content (all of the neighborhood pages contain the same content verbatim), and prevents keyword cannibalization. Thoughts? Thanks.
On-Page Optimization | | Alces1 -
Page Title Length
Hi Gurus, I understand that it is a good practice is to use 50-60 characters for the a page title length. Google appends my brand name to the end of each title (15 characters including spaces) it index. Do I need to count what google adds as part of the maximum recommended length? i.e.
On-Page Optimization | | SunnyMay
is the maximum 50-60 characters + the 15 characters brand name Google adds to the end of the title or 50-60 including the addition? Many thanks!
Lev0 -
Google Answer Box
I optimized several pages using Rand's post on Google Answer Box: https://moz.com/blog/how-to-appear-in-googles-answer-boxes-whiteboard-friday How long after the page is indexed should it appear? Lastly, how long should I wait before determining it will not get an answer box and reconfigure the page? No bad answers 🙂 TY KJr
On-Page Optimization | | KevnJr0 -
Page Speed
Google recommends a page load speed of 1.4 seconds, is it recommended to have that page speed for every page on the site, or just the landing pages. Is there a tool that will check the load speed of every page on a site and report the slow pages? The free online tools only check one page at a time.
On-Page Optimization | | Bryan_Loconto0 -
PAGE TİTLE
<title> </span>Home to home moving 4356 <span></title> page A <title> </span>Home to home moving 3723 <span></title> page B These two titles are the same?
On-Page Optimization | | iskq0 -
How does Google view frequent changes to the copy of an ecommerce product page?
Is there any reason to think that adding to or improving copy might harm seo?
On-Page Optimization | | Brocberry0 -
Why are some of page indexed and others not
I have created a site structure like this: domain/for-sale/brand domain/for-sale/brand-model domain/for-sale/brand-model/pg1 domain/for-sale/brand-model/pg2 domain/for-sale/brand-model/pg3 etc.... I cannot understand why the domain/for-sale/brand-model does not seem to be indexed, yet the domain/for-sale/brand-model/pg6 is? This is a new site, but I cannot understand why this URL would be indexed without the others... Any ideas? My home pages has links to the domain/for-sale/brand, this page has links to domain/for-sale/brand-model1, domain/for-sale/brand-model2 etc, each of these pages have links to domain/for-sale/brand-model/pg1, domain/for-sale/brand-model/pg2 etc...
On-Page Optimization | | MirandaP0 -
CcTLDs Differences Between Each Other
Hi, this is a simple question, many ccTLD look like this: .com.es .es .org.es 1.What is the difference from one another regarding SEO? 2.Does the .com.es has any advantage? Like targeting the "world" and "Spain" 3.Is there one better than other? 4.Will a .com.es or any other domain like that be able to rank globally? or just in Spain? Thanks!
On-Page Optimization | | andresgmontero0