Absolute vs relative urls
-
Hello,
Should absolute or relative urls to be used for the internal links? I heard mixed opinions on that:
- One source claims that web crawlers prefer absolute urls as they are more understandable
- Other source points that there is no difference for web crawlers what urls are used and relative urls are shorter which reduces the size of a page.
Which option is recommended?
Many thanks
Darius
-
I agree that there's no longer any difference to the crawlers. However, one other thing worthy of consideration is the possibility of moving the site to a new URL. With relative URLs, you may be saved a lot of painstaking work, whereas with absolutes, every single page will have to be rewritten. There are tools to assist in the task, but it's still a lousy job to undertake.
-
Thanks for all the answers!
Now will have to evaluate all the pros and cons and make the decision. Good point that it has to be consistent
-
What is important is that you remain consistent. Also, I like absolute when pages use rewrite rules, URLs can get broke.
Personally, I always use absolute.
-
From a crawler point of view, I don't believe there is any difference. However, MaryAnneG makes a good point about scrapers. The downside of absolute URLs is they are harder to maintain, especially if you move to a new domain or change the structure of your site.
-
Years ago, the performance advantage of relative urls made them the better choice. These days, that's not a major issue.
One advantage to absolute urls: If your content gets scraped there's a chance that they won't bother looking at the links, so any traffic they pick up will be directed back to YOUR site instead of to another page on the scraper's site.
(Also makes it easier to find the thieves...)
-
Take a look at this thread: http://www.seomoz.org/q/disadvantages-advantages-for-this-e-commerce-url-structure
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
-
Redirects for new site new urls?
If redoing a site and updating some of the url's for SEO should you do permanent redirects for the old sites url's ? Using WordPress. I saw that the Yoast Pro plugin allows you to do this inside WordPress , is this the best way? Suggestions.? I know there are old articles written out on the web pointing back to the what will be soon old url's so just wondering what's the best way to go about this. Thanks Scott
On-Page Optimization | | scott3150 -
Branding vs. Keyword Optimization for Company title.
I have a new SEO client that I am working on putting together an optimization strategy and have come across something that has me second guessing. Reach out to Moz Community... The client is a doctor who runs a tattoo removal clinic out of his office. Technically they are two separate businesses: doctors office and tattoo removal clinic. The tattoo removal clinic is my client. They have an independent website where they generate leads. The website is not the brand name. It is [city]tattooremoval.com. The logo on the site, heading, footer all reflect the web URL. The actual brand name for the company is used in all the directory listings, facebook page, google+, basically everywhere else on the internet. When drafting up new meta titles, putting together content, everything really, the website URL has primary keywords included making it way more convenient to use that. However I'm not sure how it will look to the search engines about having everything pointing to the site be one company title and when you get to the site not see the company title in the logo or titles and such. The company name is just down in the corner somewhere on the page. Anyone with any experience to a similar issue? On one hand I think I'm over thinking it, not having the brand name on the home page title tag shouldn't be a huge deal if the website delivers value to the customer. On the other hand I don't see a lot of companies that do this online in general (especially with larger brands), although research shows a many of companies in this niche using the [city] + keyword (or vise vera).
On-Page Optimization | | bricegump0 -
EMD vs brand? I'm new to moz
Hi to all so this is my first month using moz tools. When I check my competitors and keywords, everyone close to google #1 is a emd site But with google always getting smarter, is it smart in order to compete to get an emd? So say I rank first page #9, or not at all for my brand, if since my site is a construction site, if instead of say abc construction.com I find colorado home builders.com etc would I maybe do better? Or would google give me a bad ranking? I am just so lost? One last question? If I did build a emd site then just pointed my brand to it, would this be good or stupid for seo? thank you for all advice and tips chris
On-Page Optimization | | asbchris0 -
Language for URLs on new international websites
We are due to launch our new site and it will be targeting an international market. We have setup these new sites in the following way www.website.com/fr/content-goes-here www.website.com/es/content-goes-here This has been done in conjunction with setting up the parameters in GWT and making sure it is optimised for the language itself, and that countries search engine. But our web dev team have said that the URLs at the moment will be in english and not the native language, so if you were on the french version of our site you would see the url in english and not french. Will this negatively affect the site for SEO, and who else would think it would be negative from a usability perspective? Any help is appreciated.
On-Page Optimization | | RyanCrawf19840 -
Increase of Key Word density when adding related products
Dear SEOMoz Community, By means of this message I hope you can clear something up for me. Let's say you have optimized the content of a specific page (You are an E-Commerce company) on +-2 key words. And on that page you add eight related/similar products. How do you coop with the increase of the key word density? Thanks in advance, Martin
On-Page Optimization | | Onlinedesignmeubel0 -
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 -
Blog URL
I know that this question has been asked in the past, and that website.com/blog is better for seo purposes than blog.website.com. We want to setup a custom blog on our site, using Wordpress. Our designers/host are telling us that buy using website.com/blog can causes issues b/c Wordpress is open source, and our site could be hacked? Is there anything we should do about this? Any suggestions? Any Advice appreciated!!! Thanks!
On-Page Optimization | | TP_Marketing0 -
Rewrite URL for big website
My website is currently have over 1000 000 links indexed by Google , i'm going to rewrite all of these links, is this crazy ? Can someone give me a checklist to avoid going wrong way ? My website: http://www.webtretho.com/forum/ My current url format: webtretho.com/forum/f[forum_id]/[thread-title-thread_id/ Ex: Old URL: http://www.webtretho.com/forum/f90/chia-se-dau-hieu-mang-thai-1357342-new/ New URL: http://www.webtretho.com/forum/chuan-bi-mang-thai/chia-se-dau-hieu-mang-thai-1357342-new/
On-Page Optimization | | firstjames0