Absolute and relative paths for internal links
-
I have been looking into absolute and relative paths for internal links, what is better for SEO? Thanks
-
Hi Markus,
Absolute links leave less room for confusion and mistakes when it comes to crawling. Google recommends using absolute links here:
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=35156
Keep in mind, this recommendation has nothing to do with your rankings. When properly configured, relative links are as effective as absolute links. There is just a higher risk that a relative link is malformed and broken.
On the other hand, relative links are extremely convenient when you want to change domain name. With absolute links, you would have a lot of search and replace. Something to keep in mind when making a decision.
-
Hi,
It shouldn't make a difference. Google will crawl either link and follow them (unless instructred otherwise).
The issues start to come if you want to launch multiple versions of your site (ie different country etc) - you could have issues but this has little to do with SEO, more a technical thing.
This probably doesn't help you much sorry.
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 internal links in my table of contents be tagged as nofollow?
Hi All, I have the LuckyWP Table of Contents plugin installed. I recently noticed that you can tag your internal links with and nofollow. I understand that it's always a good idea to link internally and to pass link juice to my own content. But with detailed posts that have over 20 headings, I'm thinking that internal linking for headings may actually hurt me because it takes my links well above 100. Any ideas what the best practises are in this scenario? Thanks.
Technical SEO | | nomad_blogger0 -
Question re: spammy internal links on site
Hi all, I have a blog (managed via WordPress) that seems to have built spammy internal links that were not created by us on our end. See "site:blog.execu-search.com" in Google search results. It seems to be a pharma-hack that's creating spammy links on our blog to random offers re: viagra, paxil, xenical, etc. When viewing "Security Issues", GSC doesn't state that the site has been infected and it seems like the site is in good health according to Google. Will anyone be able to provide any insight on the best necessary steps to take to remove these links and to run a check on my blog to see if it is in fact infected? Should all spammy internal links by disavowed? Here are a couple of my findings: When looking at "internal links" in GSC, I see a few mentions of these spammy links. When running a site crawl in Moz, I don't see any mention of these spammy links. The spammy links are leading to a 404 page. However, it appears some of the cached version in Google are still displaying the page. Please lmk. Any insight would be much appreciated. Thanks all! Best,
Technical SEO | | hdeg
Sung0 -
All of my Image Looks like as a Link
Hey guyz,
Technical SEO | | atakala
I know I ask so many questions these days 😄 but you know ...
Anyway;
I have a website which has only 22 pages and today I try to crawl it with screaming frog and then I face with many image internal link.
But the problem is I dont see any of them when look at the site and source code of the site.
So why does it happen ?
Is there any idea ?
Please share with me.
Thank you .
http://i.imgur.com/dtj7Ws7.png dtj7Ws7.png0 -
Link building with AddThis URL
We've begun using AddThis for tracking our social sharing. AddThis has been adding the snippet to the end of the URLs on our pages and we've been finding that people linking to us are linking to the URL with the snippet. AddThis says this isn't a problem for SEO. Is this correct? Here is an example: https://www.harborcompliance.com/information/how-to-start-a-non-profit-organization-in-colorado.php#.UunCfPldVig I want to make sure this is not affecting our SEO in any way, particularly that Google would see this as an affiliate or paid link since it has the "#". I may be crazy but I just want to make sure!
Technical SEO | | Harbor_Compliance0 -
Dofollow and Nofollow links
What is the difference between dofollow and nofollow links? I know that some sites/blogs only let you post nofollow links. In such a case how do I know if a comment I posted on a certain site will be a nofollow or dofollow? How about big traffic sites such as Huff Post. Do they only allow nofollow links?
Technical SEO | | greenfoxone0 -
Are no follows leaking link juice?
Recently, in a discussion on resources pages EGOL informed me that just because I had no followed the links on my my resource page, I was still leaking link juice. He mentioned that this was a recent change in Google policy. This was quite a surprise. I have done a couple of searches on this recent change but have not found any information. Am I simply the last one on the planet to learn this and this change is widely known and understood? If so, does that mean honest resource pages (I have two such pages) that are there to help visitors are negatively impacting the site - at least in terms of SEO? If they are leaking link juice is it comparable to a followed link or a smaller amount that has less impact?
Technical SEO | | leatherhidestore0 -
Does Google care how you write internal links?
I am changing ecommerce platforms. For my internal linking on the old site there was a lot of old links written like this: http://www.domain.com/page-name But now i am writing links mostly like this: /page-name Will that make a difference to search engines? Is one easier than the other for them to interpret?
Technical SEO | | Hyrule0