Should my link href be www or go direct to page?
-
Hi, just wondering which is the best format for linking to pages. In my navigation at the moment i have links like;
Is this the recommended format or should it be;
Many thanks for any answers.
Alex
-
Thats great thanks for your help guys.
Alex
-
Hi Alex,
From a functional standpoint, absolute and relative paths should lead users and spiders to the same page.
There are some pros to using one over the other though:
Relative
-faster to code
-if you switch domains, you won't have to deal with redoing internal links
-your page should be faster, because you have less code for browsers and Google to sift through
Absolute
-leaves little confusion for browsers and spiders, because it is using the EXACT path
-if your site gets scrapped, the links would still point back to your site
-Google Webmaster Tools recommends absolute paths, "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)."
Hope this helps.
Mike
-
Hi Alex
You're asking if it matters whether the URL is absolute or relative.
It doesn't really make a different from an SEO point of view as long as both resolves
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
-
Are there any hard rules about internal linking of homepage?
Hi all, Usually we link homepage from all pages. That's definitely a boost for homepage to rank well. Do we need to interlink homepage to the highest? Including links from subdomains or sub directories. Thanks
Web Design | | vtmoz0 -
New ecommerce site: Close old site and full domain redirect or keep it linking to new site?
We have rebranded and are working on our new site (B). Our old site (A) has a much higher domain/page authority than our new site. Currently we have the original Site A still there, with all links/pages pointing to the new Site B when people click. I am unsure whether we'd be best to close down the Site A completely and do a full domain redirect to Site B. Site A: 10 years age and has a moderate amount of links to it.
Web Design | | ModowestNZ
Homepage - PA: 24 DA:11 Site B: 6 months age, few links
Homepage - PA: 1 DA:2 My concern with the full domain redirect is that the indexed/ranking pages would dissapear. The benefit is less brand confusion for our niche range of party accessories.0 -
Pushstate and Infinite Scrolling Article Pages: Is it detrimental to not change URLs as the page is being scrolled?
I've noticed a recent trend of news sites using infinite scrolling on article pages to garner more pageviews and I can assume serve up more ads. Here is an overview. Here is an article from NBC news that uses this technique: http://www.nbcnews.com/pop-culture/music/grammys-2016-here-s-why-adele-s-performance-was-out-n519186 Studies have shown that this technique has decreased bounce rates by +15% for some sites. My question is: If a site is using the technique without changing URLs as the user scrolls down what overall negative effects does this have? Obviously you wouldn't be getting credit for the extra pageviews but I was wondering if there were any indexation implications with this. Here is an example of article infinite scrolling without changing the URL: http://www.wftv.com/news/national-content/deputies-wife-attacks-husband-because-he-didnt-get-her-a-valentines-day-gift/87691927
Web Design | | Cox-Media-Group1 -
Duplicate Content Home Page http Status Code Query
Hi All, We have just redone a site wide url migration (from old url structure to new url structure) and set up our 301's etc but have this one issue whereby I don't know if' it's a problem of not. We have 1 url - www.Domain.co.uk**/** which has been set up to 301 redirect back to www.domain.co.uk However, when I check the server response code, it comes back as 200. So although it appears to visually 301 redirect if I put the url in the tool bar, the status code says different. Could this be seen as a potential duplicate home page potentially and if so , any idea how I could get around it if we can't solve the root cause of it. This is on a cake php framework, thanks PEte
Web Design | | PeteC120 -
How to create this image effect for my home page
How do I make a wide, somewhat fast loading image effect like this home page has: 3dcart.com work on my website bobweikel.com I'm asking for how to create the effect (with small enough image kb to load) and what the image should be of in your opinion. Thanks!
Web Design | | BobGW0 -
SEO page length 4500+ words
I have read varying discussions on this... some say it is good or rather it does not really matter (as long as not stuffed with keywords) and some say more than 1000+ words is bad! I have a travel site and I want to add an historical page about the zone. It is very interesting (very organic, not written for SEO purposes as such). It adds flavor and details to a site that is really all about sales. Does anyone have an opinion whether this is detrimental to SEO or not?
Web Design | | Llanero0 -
Our "home page" is behind a member wall, options?
So www.pch.com(portal) redirects to www.pch.com/unrecognized(landing page) if you are not registered with us and logged in. This means that the search engines are not logged in, so they see only our landing page. It used to be that there was no portal/home, on pch.com, that was just the landing page, but that changed about 6 months ago. We do rank for our brand terms, but my company would like to rank for terms like "sweepstakes." They DO understand why we don't, thankfully. They don't think SEO is magic voodoo. They get it. But they asked for options, as I have said that the portal on www.pch.com really is a good page to optimize for non-brand, core terms like sweepstakes....but only if the search engines can see it. I gave them these options, and they asked me to seek out more. So any thoughts would be good: 1. Best case scenario would be to abandon the landing page, just have the keyword rich portal page be the actual home page with no re-direct. (this won't happen, but I decided it needed to be first on my list). 2. Turn the portal into the home page (remove the redirect), but have the landing page overlay in a light box. This should, if I am not mistaken, be a best of both worlds situation, where the light box landing page would still have all of the value of the actual keyword rich portal page behind it. 3. If the landing page has to remain as it does now with the non-logged in redirect to it, change the URLs so that the landing page is www.pch.com and the portal becomes www.pch.com/members/ or something like that. Any other thoughts? Thanks! Kenn Gold Publishers Clearing House
Web Design | | Kenn_Gold0 -
Pages vs. Posts for SEO
Hi, I would like your thoughts about pages vs. posts for SEO. I understand the difference in terms of WP structure and have read the SEOmoz blog post about setting up your site for SEO success (http://www.seomoz.org/blog/setup-wordpress-for-seo-success). However, if you're trying to rank for a particular keyword, it seems that either one could work, from an on-page SEO perspective, as far as title tag, URL, meta description, etc. So how do you decide whether to set up a page vs. a post? What are the pros and cons, from an SEO perspective, about using one vs. the other? Thanks in advance! Carolina
Web Design | | csmm0