• Resolved dimal

    (@dimalifragis)


    Hi,

    This is a very strange issue, i can’t debug.

    I have your plugin to create an xml sitemap. No problem. The map is created.

    BUT when i open it in the browser and click at a post, the page comes only with the header !!

    No errors in console or any other errors anywhere.

    If i disable SEO Framework and let WordPress to create the wp-sitemal.xml, all links works ok.

    I’m scratching my head over this and no luck …

    Any ideas?

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hello!

    I’ve never heard of this issue before. Do you have a link for me to inspect?

    It sounds to me like a plugin conflict. You might find the culprit if you disable plugins one by one until the links work; the last plugin deactivated then needs to be inspected.

    Note that you can switch between TSF and WordPress Core sitemaps by toggling the “Optimized” sitemap checkbox at “SEO Settings > Sitemap Settings > General.” But this won’t help with debugging the issue.

    Thread Starter dimal

    (@dimalifragis)

    Hi,

    Yes it was a plugin conflict, we had to disable one by one.

    Thank you!

    Plugin Author Sybre Waaijer

    (@cybr)

    Hi Dimal,

    What plugin was the culprit? Knowing this can help us prevent the issue from reoccurring. Thanks!

    Thread Starter dimal

    (@dimalifragis)

    Sure. Actually it was NavXT plugin. NavXT is a GREAT plugin i use everywhere, but in that specific site it created that issue. Apparently some conflict with an other plugin but no time to fully debug this.

    Wordpress & Plugins are always an invitation for unsolved mysteries.

    Plugin Author Sybre Waaijer

    (@cybr)

    Hi Dimal,

    I couldn’t replicate the issue with Breadcrumbs NavXT.

    I suspect it has to do with custom post types and permalink flushing. Some plugins react to the plugin-deactivation hook (of any plugin) to flush permalinks, apparently “fixing” the issue. In that case, resaving the WordPress permalink settings should produce the same effect of “fixing” the problem, if only temporarily.

    The real fix is to properly manage the creation and flushing of permalinks: create at init, flush at shutdown. I haven’t touched this API in quite some time, and Core developers might have improved things about this.

    P.S. TSF can also generate breadcrumbs now: https://tsf.fyi/kb/breadcrumb-shortcode/

    Thread Starter dimal

    (@dimalifragis)

    Well, i didn’t know that SEO Framework had breadcrumbs support ??

    Using your Shortcode (and removing NavXT) the issue is gone. So there is some kind of issue between NavXT and SEO Framework because standard WP-Sitemap.xml works fine.

    If interested, i can use some email of yours to continue this issue.

    Also using your breadcrumbs, there is a “Listing Category:” Prefix that i see no way to remove it. Using a prefix makes a very long breadcrumb …

    For example:

    Home Listing Category: Services Listing Category: Home & Building Rapid Roll Doors

    thanks

    Plugin Author Sybre Waaijer

    (@cybr)

    Hi again!

    Did you toggle between TSF’s and WP’s sitemap using TSF’s interface? You can do this at “SEO Settings > Sitemap Settings > General” and uncheck “Use optimized sitemap?”

    Is there anything special about the URLs in the sitemap you clicked? Do they change when you switch to the WP Sitemaps? If you find this issue again, please see if switching between sitemaps via TSF produces a different result. Since you use custom post types, my comments above about the Rewrite API are likely spot on.

    On your other note, TSF’s breadcrumbs reflect the title — I will add more bells and whistles for this in the future, but for now, the breadcrumb titles and page titles are equal.

    You can toggle the term (category) prefixes at “SEO Settings > Title Settings > Prefixes.”

    Thread Starter dimal

    (@dimalifragis)

    Seo Settings > Title Settings fixed the issue ! Great.

    For the strange issue, there is nothing special or different with the xml urls. Same for SEO Framework and WP xml. I’m scratching my head ovee this. But since i have solved the issue using YOUR breadcrumbs, i’m ok.

    One plugin (NavXT) less is always GOOD !

    Many thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘sitemap.xml issue’ is closed to new replies.