Title: Anchors aren&#8217;t correctly generated
Last modified: April 15, 2019

---

# Anchors aren’t correctly generated

 *  [ardio](https://wordpress.org/support/users/ardio/)
 * (@ardio)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/anchors-arent-correctly-generated/)
 * Hi,
    I’ve a problem with the generated anchors. They don’t show to the page or
   post, where the table is positioned, but only to the homepage itself. Like this:
   [https://www.ardio.at/#ihre-neue-webseite-zum-fixpreis](https://www.ardio.at/#ihre-neue-webseite-zum-fixpreis)
   but it should be [https://www.ardio.at/webseitenangebot/#ihre-neue-webseite-zum-fixpreis](https://www.ardio.at/webseitenangebot/#ihre-neue-webseite-zum-fixpreis).
   And then it doesn’t take th IDs which still exists. With this anchor, there is
   set the ID “fixpreis”. I’m usind DIVI, the latest version. And also the latest
   version of Werdpress an Easy table of contetn. Thanks for help ans best regards
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fanchors-arent-correctly-generated%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [derderko](https://wordpress.org/support/users/derderko/)
 * (@derderko)
 * [7 years ago](https://wordpress.org/support/topic/anchors-arent-correctly-generated/#post-11442545)
 * Same here when it comes to the bug `http://www.example.com/#` and not `http://
   www.example.com/cat/post_name#`
 * Might help to hunt it down:
    - I am using Divi theme (Gutenberg editor, not the divi builder plugin) & Yoast
      seo
    - playing around with eztoc settings (incl shortcode vs auto) didn’t solve it
      for me
    - bug also happens with toc+
 * Ideas, fixes anyone?
 *  [derderko](https://wordpress.org/support/users/derderko/)
 * (@derderko)
 * [7 years ago](https://wordpress.org/support/topic/anchors-arent-correctly-generated/#post-11477503)
 * It’s not a bug, it’s stupidity ^^. This is not caused by a bug but is due to 
   the base-tag within the head. Remove <base href=”[https://www.ardio.at/”&gt](https://www.ardio.at/”&gt);
   and then the toc-urls will work just fine.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Anchors aren’t correctly generated’ is closed to new replies.

 * ![](https://ps.w.org/easy-table-of-contents/assets/icon-256x256.png?rev=3045459)
 * [Easy Table of Contents](https://wordpress.org/plugins/easy-table-of-contents/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-table-of-contents/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-table-of-contents/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-table-of-contents/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-table-of-contents/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-table-of-contents/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [derderko](https://wordpress.org/support/users/derderko/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/anchors-arent-correctly-generated/#post-11477503)
 * Status: not resolved