The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

All in One SEO Pack
All in One SEO sitemaps + WPML (2 posts)

  1. Nozonda
    Posted 2 years ago #

    First of all, awesome plugin! Thanks!

    I noticed you guys have some kind of support for WPML, also for sitemaps, with on line 1446 in aioseop_sitemap.php:
    if ( defined( 'WPML_TM_VERSION' ) ) $defaults['suppress_filters'] = false;
    Different languages/domains on the website are still mixed up though. I think this is an old constant. When I changed WPML_TM_VERSION to ICL_SITEPRESS_VERSION it worked.

    So please have a look at it and fix it in a next version (I don't like editing directly in core or plugins :p)

    EDIT: little correction. I think WPML_TM_VERSION is a constant of the "WPML Translation Management", which is a WPML add-on. Obviously someone with WPML doesn't have to use that add-on, so I think using ICL_SITEPRESS_VERSION will be the correct way.

    Thanks in advance for looking into it :)


  2. Peter Baylies
    Plugin Contributor

    Posted 2 years ago #


    So it is; thank you for this, I'll test and see that this gets fixed in the next version!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • All in One SEO Pack
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic