Jump links?
-
I am using a directory plug-in that doesn't have separate urls for each profile. Is there any way to set up a link to go directly to a particular business?
https://www.sacramentotop10.com/business/chamber-of-commerce/
-
Glad to be of service
-
Thank you so much! I suspected this, but wanted to make sure by asking the Big Brains at Moz. You always come thru!
-
Don't think this is possible with your site's (current) architecture as the parts you want to link to are 'generated' and exist in the modified source-code only, rather than the base source code.
Basically you can extend a URL using the hash-anchor (#) to connect to certain areas of a web-page, which are marked up a certain way.
**I can take your URL here: **https://www.sacramentotop10.com/business/chamber-of-commerce/
And extend it to jump straight to your footer, for example: https://www.sacramentotop10.com/business/chamber-of-commerce/#footer
This is because the footer always exists in your web-page's base (non-modified) source code:
- view-source:https://www.sacramentotop10.com/business/chamber-of-commerce/ - (this link will only work in Google Chrome!)
You can see the reference for your footer here:
- https://d.pr/i/AnLonX.png (screenshot)
That is a view of the page's non-modified source code, before any scripts (JavaScript etc) have run. That's what you get with right click -> View page source
Once your scripts have run, things look a little different. The modified source (which you can access via right click -> Inspect, using Google Chrome) is richer and paints a fuller picture
Here's the same area of code again but viewed via the modified source:
- https://d.pr/i/BRXg3B.png (screenshot)
As you can see, the modified source code (less Google / SEO friendly - as Google won't always execute your scripts when crawling!) contains the actual text for the copyright notice in your footer. The base source code (un-modified, more Google friendly as it's always read by Google) does not contain the actual text, only the ID which scripts need as an anchor to generate that text for you
Your problem is that, hash anchors which should work and open that window for you - won't work because all that content is stored in the modified source code (not in the base source).
Let's say you wanted to link to this one:
- https://d.pr/i/iQVOPs.png (screenshot)
And you wanted to make a link, that deep-links people just to this part here:
- https://d.pr/i/QvAwIe.png (screenshot)
Now technically if you inspect that frame, there is something with a decent ID to hook onto:
- https://d.pr/i/kMUsDO.png (screenshot)
So this link should technically work:
But sadly it doesn't do squat (I also tried https://www.sacramentotop10.com/business/chamber-of-commerce/#3328-1 and https://www.sacramentotop10.com/business/chamber-of-commerce/#3328).The reason is that, the content (pop-up window, text etc) for specified ID only exists in the modified source code (after scripts have run) but not in "View source" (the non-modified source code)
Check it out:
- https://d.pr/i/5GqIVY.png (screenshot)
You can see the 'hook' which JS grips into (to populate the content), but if you search for any content inside of the pop-up **window in the base (**non-modified) source code:
- https://d.pr/i/HhUdJK.png (screenshot)
Let's use that text ("Folsom Chamber of Commerce") as an example. Now go to the basic source code:
- https://d.pr/i/CmXVaP.png (screenshot)
Guess what?
- https://d.pr/i/7b2UrU.png (screenshot)
Bam! There's nothing there. Your problem is, you're trying to link to something which doesn't exist until scripts have run. You can use hash-anchors ('#') to deep-link, but not to generated areas of a web-page (as far as I am aware)
This functionality would require a restructure of your site in some way.
-
Hello Julie,
This article explains a solution https://blog.hubspot.com/marketing/jump-link-same-page - you'll need to put anchor tags around the company names, possibly some CSS should the presentation be effected.
This help?
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
-
Can I safely asume that links between subsites on a subdirectories based multisite will be treated as internal links within a single site by Google?
I am building a multisite network based in subdirectories (of the mainsite.com/site1 kind) where the main site is like a company site, and subsites are focused on brands or projects of that company. There will be links back and forth from the main site and the subsites, as if subsites were just categories or pages within the main site (they are hosted in subfolders of the main domain, after all). Now, Google's John Mueller has said: <<as far="" as="" their="" url="" structure="" is concerned,="" subdirectories="" are="" no="" different="" from="" pages="" and="" subpages="" on="" your="" main="" site.="" google="" will="" do="" its="" best="" to="" identify="" where="" sites="" separate="" using="" but="" the="" is="" same="" for="" a="" single="" site,="" you="" should="" assume="" that="" seo="" purposes,="" network="" be="" treated="" one="">></as> This sounds fine to me, except for the part "Google will do its best to identify where sites are separate", because then, if Google establishes that my multisite structure is actually a collection of different sites, links between subsites and mainsite would be considered backlinks between my own sites, which could be therefore considered a link wheel, that is, a kind of linking structure Google doesn't like. How can I make sure that Google understand my multisite as a unique site? P.S. - The reason I chose this multisite structure, instead of hosting brands in categories of the main site, is that if I use the subdirectories based multisite feature I will be able to map a TLD domain to any of my brands (subsites) whenever I'd choose to give that brand a more distinct profile, as if it really was a different website.
Web Design | | PabloCulebras0 -
Which links to map across in site redesign
Hi there, I'm currently doing a fairly major website redesign for a client. They are moving to my hosting so I am creating the site on my cloud account and have edited my host files to work on it. The site structure will stay largely the same as it is quite a straightforward services site. However I'm moving them onto Wordpress from a different set up and I'm not sure how many of the links that they have, that aren't straight forward pages, I need to create redirects for. I have used Screaming Frog to get a list of all their URLs, of which there are 82. However alongside text/ html links I have: image/jpeg text/css
Web Design | | Frog-Marketing
application/javascript Do I need to create redirects for all of these link types? Or just any of the pages I'm not using? Many thanks, Sarah.0 -
JS and HTML links: Any risk involved being employing two similar links on every page?
Hi all, We used a have a banner with link from all pages our subdomain. The link is JS link and it's linking to our website homepage from our sub domain. Recently we have added similar HTML link from all pages of sub domain presuming that Google might not be considering JS links. So, now we have 2 links (JS and HTML) from every page of sub domain pointing to the website. If Google considers 2 links, will there be any risk for employing same link twice from every page? Thanks
Web Design | | vtmoz0 -
'Security error' for links accessed via Facebook on Android phones
Hi, This is not strictly a SEO/inbound marketing question, so please excuse me for that--- but I think this awesome community could certainly help 🙂 We recently migrated a client website to https (SSL from Godaddy; the hosting provider is a different one). All that went fine. The problem though is that when a link from the website is shared on Facebook or sent via Whatsapp, and a user tries to open the page on any Android device, it throws up a Security Error. On the Facebook app, it doesn't allow the user to go any further. It seems that this problem is not unique and many others have raised it in various forums -- we've tried many of the options mentioned; have tried to work with Godaddy support as well ---- but the problem persists. Any solution(s)/fixes will be greatly appreciated. Thanks, Manoj
Web Design | | ontarget-media0 -
Do more links from sub-domains to domain (website) hurt rankings?
Hi all, If there are multiple sub-domains like abc.website.com, 123.website.com, etc...and if the top pages of website are linked from multiple sub-domains via top menu or footer links; will this hurts? Will too much interlinking of few top pages of a website from it's sub-domains dilute link juice? How many links ideally we can add to website from a sub-domain? Thanks
Web Design | | vtmoz0 -
Spotted Hidden Omiod Links in Footer - What do you think is Going on Here?
Hi guys, Hoping one of you have come across this before. While taking a look at the source code for a website I've recently started working on, I spotted some 'display:none' code in the footer of the page. Here's a snapshot of the code: close XMETAhead title : 404 Page Not Found | ( 39 chrs ) [http://www.omiod.com/chrome-extensions/meta-seo-inspector/info.php?meta=description&cont=404 Page Not Found.](<a href=)" title="more about description" target="_blank" class="ad_seo_link">description : 404 Page Not Found( 170 chrs )[http://www.omiod.com/chrome-extensions/meta-seo-inspector/info.php?meta=keywords&cont=404, 404 error page,](<a href=) " title="more about keywords" target="_blank" class="ad_seo_link">keywords : 404, 404 error page ( 7 items )SCRIPT![](<a href=)http://www.google.com/s2/favicons?domain=www.google-analytics.com">www.google-analytics.com http://www.google-analytics.com/ga.js <div< a="">class="ad_seo_title">HTML5 report</div<>Doctype is not HTML5, there are no HTML5 tags, but at least no obsolete HTML tags were found. 1/5
Web Design | | ecommercebc0 -
Does having a Blog link in the top level navigation provide any better SEO value, or would having it in a footer or top navigation work just as good?
Trying to decide on whether placing a link to the blog in our top level navigation would have a better SEO value than just placing it in top or footer navigation. I have an ecommerce site.
Web Design | | RPD0 -
Are links from main page to inner pages will affect on ranking?
About 3 weeks ago I converted index.html to index.php. Both are 301 redirect to main url. Also I have about 70 links on main page pointing to internal pages. The Website is about 11 years old,and was on active link building . Is this conversion from html to php and also 70 links pointing to inner pages will affect on ranking?Since all links are passing juice to inner pages.
Web Design | | LosAngelesLimo0