Internal link question
-
Hello,
I was wondering if internal links should be full urls? for instance my coder might put "page-title.html" but I was wondering if its better for seo to have it be the full url "http://www.blah-blah.com/page-title.html"
thanks in advance..... I love this place!
-
I have been researching this further. If I want to change this on our large Website, I'm going to need major evidence that it's better and that it won't slow down our pages. In this article, Andy King makes the case for relative URLs. But he also says:
"Using the
base
element and mod_rewrite can alleviate the need for absolute URLs, and save additional space."Is this a true and accurate statement?
-
You are on the right track Dana. No, using absolute URLs is not going to cause a meaningful increase in server response time / page load time. I would look at other sitewide header/footer issues, javascripts / CSS and possible images on CDN etc.
-
I would recommend you to do absolute linking as its more accurate with less chances of any mistake in your internal linking effort!
-
Thank you Patrick for the link and Scott for the question. We just replaced all of our canonical tags with absolute URLs and i solved a lot of problems with weird URLs showing up as duplicate content in GWT.
UGH, but you both totally burst my bubble! I tell you what, just when you think you're cranking along in the world of SEO something comes along to humble you. Recently, I had been going through many old articles, some of which had absolute URLs. I was methodically going in and replacing them with relative links because we are on the page speed warpath right now and our IT director is convinced relative URLs reduce server calls and make the page load faster. After everything I read tonight, including the Yoast Post, it seems that the difference in page load speed between a page with absolute and a page with relative URLs is so tiny that it just doesn't matter. Furthermore, search engines my attribute more authority flowing from one page to the next on a site using absolute URLs for internal links.
Follow up question: We do not have gzip enabled. Our site speed is painfully slow (GWT reports average speed as 698 milliseconds) and we also don't have anything like the mod_deflate enabled on Apache....could the relative URLs in our case, actually have an impact on page speed?
If not, clearly I've got to circle back and undo the relative URLs I've put up on both of our sites in the past 2 weeks! ...sigh
Let me know - tomorrow's another day!
Dana
-
I would do full URLs. If your site gets scraped, you'll get a link pointing back.
-
I'd suggest using absolute (full) URLs whenever possible just to ensure you don't accidentally miss any relative URLs if you happen to move content/pages around. Yoast actually has a great blog post about why it makes sense to use full URLs whenever possible - http://yoast.com/relative-urls-issues/
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
-
Should I add canonical links to pages that are redirected?
Hello! I am a little confused concerning canonical links. I have several URLs that all access my page, but I redirect them all. A lot of places I am told to redirect them or use canonicals. Other places, I read that I should always use canonicals. What is the right way for me? If I should use canonicals as well as redirects, which links should I do this on? I redirect my pages like this: http to https:
On-Page Optimization | | hermanok
http://example.com -> https://example.com www to non-www:
https://www.example.com -> https://example.com Remove trailing slashes
https://example.com/ -> https://example.com Would-be 404-requests to index.php?p=$1
https://example.com/home -> https://example.com/index.php?p=home ( show as https://example.com/home ) Example:
http://www.example.com/home/ -> http://www.example.com/home/ -> https://example.com/home/ -> https://example.com/home -> https://example.com/index.php?p=home ( shows as https://example.com/home ) Thank you!0 -
Two links to different page with same link label
What will be the impact in Google if I have two links in the same page pointing to different pages, but with the same label.
On-Page Optimization | | kjerstibakke0 -
Too many on-page links
Hi, I've apparently got too many on-page links on 79 of my webpages. The majority of these pages are category pages, like this: https://www.turnkeymortgages.co.uk/mortgage-advice/mortgages/... so, what's a person to do? Obviously the page would be useless without the links. Should I just ignore these 'errors'? Or is there something else I should do? I don't want to appear manipulative by labelling them nofollow... Thanks, Amelia
On-Page Optimization | | CommT0 -
Do links in footers or side bars count less than links in the center of the web page?
do links in footers or side bars count less than links in the center of the web page? How much less if so? I have some articles on my site. Would i get more of a boost in rankings to pages of my site by placing links in the text of my articles on my site to other pages on my site? Thanks mozzers!
On-Page Optimization | | Ron100 -
On-Page Analysis Question
Hi, I have a question about the On-Page Analysis report. I am tracking two different keywords for our campaign: "Private Dining" and "Private Dining Sacramento". We are ranked 8th for Private Dining Sacramento but we have an On-Page analysis rating of F. While on the other hand we are not ranked in the top 50 for Private Dining but have an A on-page report. When looking at the on-page report it makes sense that we have an F for Private Dining Sacramento as we don't use that keyword anywhere on the page. We only use Private Dining. However, we are still ranked for Private Dining Sacramento and not for Private Dining. Should we update our keywords/text to use the Private Dining Sacramento keyword instead of the Private Dining? If we add Sacramento will we also get credit for Private Dining because it will still be part of all H,P and A tags we use? Sampe Report | Keyword | Grade | Google US |
On-Page Optimization | | Three29
| URL | Current | Change | Rank | Change |
| | Private Dining /private-dining | A | No-change-icon | no data |
| | Private Dining Sacramento /private-dining | F | No-change-icon | 8 | No-change-icon |0 -
Site structure question
I'm currently working on a very awkward custom-WP setup, in which I can't maintain the present drop-down navigation menu without having those pages under a parent or without completely recoding everything. I have two requirements, for SEO purposes I'm looking for the following structure for each targeted landing page: www.example.com/landing-page as opposed to www.example.com/sub/landing-page Of course, having my landing pages as a child, I get the latter of the two. For navigational purposes they need to fall under a specific category in a drop-down menu. With any other theme or setup this is an easy fix, but not here. What I have now is that the landing pages are currently placed under a parent category page. But, they have custom permalinks. The permalinks are setup as follows www.example.com/landing-page But, technically the exact structure is still www.example.com/sub/landing-page which then redirects to the custom permalink. So, my question is - in an attempt to get my most important landing pages close to the root for better PR and crawlability, do I still get the same benefit with my current setup? Is this structure I have, better, worse, or indifferent? Thanks.
On-Page Optimization | | JayAdams320 -
Internal linking
Background; selling childrens clothing (for norwegian market). main page is being optimized barneklær (children clothing) which is most used term. We ve been online for around 3 months and have gone from unranked to 25th spot on google for this term. We are selling clothes from 8 different producers which all have their own 'page' - were all their products are listed. e.g http://www.epleskrinet.no/dundelina/M_13 . This page i am optimizing for the producer which is dundelina. For this term i show up in spot 24, 25 and 44. My problem is that its not the producer page that show up but the 3 most popular products. The producer page isnt ranked at all. What ive done so far is to have to producer link to my page from their site and blog (a week ago) - they were linking to my home page earlier. Ive put anchor text dundelina --> takes me to producer page on 4 out of 7 products. This was also done about a week ago. I am planning a blog about dundelina pointing to the right URL. From our blog I am using. Ive posted a couple of pictures on facebook pointing to right URL. Do i just need to be patient for this to be picked up or is there anything else i should do ? Thanks ... Dan Lærum
On-Page Optimization | | danlae0 -
Does link text "more information" have more weight than a normal link?
Does the anchor text "more information" hold any additional weight than any other anchor text? My suspicion is no, but just wanted to confirm.
On-Page Optimization | | nicole.healthline0