• Resolved sergejsk

    (@sergejsk)


    Hello!

    I have got an issue with the site title not linking to the homepage. In the local host environment, it works, but as soon as I convert the site with Simply Static to a static version and host online it stops linking to the homepage.
    I have enabled in settings – Make title link to Home.
    The theme I use is – twenty twenty-three
    I press the site title and nothing happens.
    I have noticed that after converting the site href=”” line is missing there. That might be the case, I’m not an expert on that.

    I even tried adding an Additional link in the navigation menu and pointing it to the home link. Same – in the local environment it works, but after converting it won’t work.

    The only way I could have a link to my homepage is by creating a page link and manually linking to the homepage.
    But it doesn’t solve the issue that the site title is not linking.

    For comparison two HTML from Chrome Inspector:

    Localhost:

    <a href="https://localhost/sergejskolecenkoart" target="_self" rel="home" aria-current="page">Sergejs Kolecenko Art</a>


    Static site:

    <a target="_self" rel="home" aria-current="page">Sergejs Kolecenko Art</a>

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support sr293

    (@sr293)

    Hello @sergejsk. I’m sorry to hear you are experiencing an issue with the href tag of the site title block in your header. I just did a quick test on my side using the twenty twenty three theme, a custom block header, and the site title block. The URL in my test was able to parse correctly. A couple of items to try:

    • Disable any optimization and caching plugins that may be active in your WordPress install or on the server and try generating the site again to see if this resolves the issue.
    • You may want to try using another block, such as the heading block, and manually adding the URL.
    • You may also want to try adjusting the Destination URLs in the General Tab under Simply Static > Settings
    Thread Starter sergejsk

    (@sergejsk)

    Hello, @sr293 thanks for the quick reply.
    The only additional plugin I had was – SEO Framework. I have just tried disabling it and nothing changed.
    Also, I’ve noticed that when I was generating static site I had a couple of 301, 400, and 405 errors. Maybe that gives some issues.
    For my local environment, I’m using XAMPP and hosting sites on Cloudflare.


    I’ll try two other suggestions. And see how that works.
    In case I won’t be able to resolve this issue, I’ll write again with things I’ve tried.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Homepage link not working’ is closed to new replies.