Hansel & Gretel: Fine-Tuned Breadcrumb Generator
[resolved] HAG Home link to (3 posts)

  1. absolud
    Posted 3 years ago #

    Hi Chris,

    WordPress is installed in a subfolder on my server.

    In the General Settings i have
    WordPress Address (URL): a subfolder
    Site Address (URL): http://www.bierenbroodspot.com

    I have and want the 'Home' crumb to be visible and active. But this is linking to the WordPress Address (URL) instead of the Site Address (URL).

    Can you point me in the right direction in correcting this?

    When the 'Home' crumb is clicked it resolves to wordpress folder and giving page not found.

    Hear from you soon!


  2. Chris
    Plugin Author

    Posted 3 years ago #

    Hi absolud,

    Looks like we were using the wrong function to pull in the site address to those crumbs. As a temporary fix (which will be rolled permanently into the next release), please change lines 301 & 309 in HAG_Crumb.php (in the plugin directory) from site_url() to home_url()

    That should make the links point to the right location! Let me know if you have any other issues. I'll hold off closing this until I hear back from you.

    - Chris

  3. absolud
    Posted 3 years ago #

    Hi Chris,

    The temporary fix worked perfectly and is now active. Very simple fix for me to do.
    A very big gratitude from me to you!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Hansel & Gretel: Fine-Tuned Breadcrumb Generator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic