Linking from Header or Footer Navigation within a one-page website

Hi There,

I am using the free Hubspot Accelerator theme and have created a simple, one page website to launch my consultancy. I’m struggling to find within the ‘Menu’ module I’ve used to create the navigation, how to then ‘hyperlink’ for the user, so that when they click on that section of the menu they jump straight down to that section of the website. Similarly for the ‘Contact Us’ button - for those to jump to the Form I’ve set up down the bottom of the page. I have added Anchors to each section of the page. I have included a screenshot of the header menu for reference.

Some expertise is appreciated,

Regards

Mark

Screengrab below:


This screengrab shows the header menu that I want to hyperlink down to the section of the page where that content is featured. I have added Anchors to each section.

Hey @MReeves42

Kindly follow this article here on how to add links to your menu in HubSpot: Set up site navigation menus

Hey @MReeves42 within your menu you want to choose the option to “add page link with url parameter

You would then add your url with the anchor at the end, preceeded by the anchor tag which is “#”.

So for example if you had an anchor on your page for “contact-form” your url would be something like this:

This would link directly to your anchor tag.

Thanks Tom - this helped solve this for me.

I have a final step to publishing my website, where I can’t see within the free CMS editor how to publish an xml sitemap so Google Search Console and Google can crawl and find my site. I’m currently getting 404’s. The issue seems to be the Hubspot Sitemap Generation. The website page is an html page. Hubspot has not automatically populated the sitemap when I go to the Domains and URLs/Sitemap tab. I need that so I then load to Google Search Console so Google can find my website and I can stop getting a 404 error. I’ve also found how you can generate your own xml sitemap, and I’ve done that using https://www.xml-sitemaps.com/, but can’t see how I’d upload the file within the My Account view either. Thanks for your help here! Quite fiddly when all I want to do is have Google search and publish my site!

Hey @MReeves42

Can you check and confirm this is your original domain:

If not then select your primary domain and then check your sitemap XML file by clicking in the right.

Because hubSpot automatically adds your live HubSpot-hosted website pages and blog posts to your sitemap: View and edit a HubSpot-hosted domain sitemap

Hi Gaurav

So I have amended so the primary domain (www.thrivestudio.co.nz) is shown, and then when I click on the sitemap xml link I get the styling error message, see below:


XML Sitemap response

Primary Domain Thrive Studio

You can try it yourself, by typing the domain address into a browser:

www.thrivestudio.co.nz/sitemap.xml

So I am no closer to getting the sitemap in xml presented in the Accelerator Hub so Google can crawl and find my site.

What else can you suggest?

Thanks for your help

Mark

Hey @MReeves42 XML files don’t have style information associated with them. Opening it on your browser will show this because the browser is expecting style info, but it’s never going to be there. You can ignore that message.

For peace of mind: