XML Sitemap Module trailing slash and rewrite rules | Troubleshooting All in One SEO Pack Pro | Support | Semper Plugins

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
XML Sitemap Module trailing slash and rewrite rules
January 29, 2020
5:36 am
Avatar
Simon Spencer
New Member
AIOSEOP
Forum Posts: 2
Member Since:
March 12, 2019
sp_UserOfflineSmall Offline

Hello, we recently turned on the XML sitemap module and it is generating the sitemap.

We do have a minor issue though in that the URLs in the sitemap are including a trailing slash.

Some information which may be pertinent:

  • We are using Wordpress in a subdirectory alongside a Magento installation and the FishPig Wordpress Integration plugin.
  • All of our canonical URLs are set without the trailing slash E.g.: https://www.fridgefreezerdirec…..atest-news
  • We have the Wordpress permalinks set to /%category%/%postname% (note there is no trailing slash)
  • The sitemap is generated and can be viewed here: https://www.fridgefreezerdirec….._path=root (view source to see the XML).
  • There is this message in the SEOAIO module settings: Dynamic sitemap generation does not appear to be using the correct rewrite rules; please disable any other sitemap plugins or functionality on your site and reset your permalinks. I assume this is because of the Remove Category Url By Valerio Souza, Сreativemotion plugin but I cannot remove this.
  • I have, after enabling the XML sitemap module, saved the permalink settings.

Is there a way I can instruct the plugin to remove the trailing slash from the URLs in the sitemap to match our canonicalised URLs?

January 29, 2020
5:41 am
Avatar
Simon Spencer
New Member
AIOSEOP
Forum Posts: 2
Member Since:
March 12, 2019
sp_UserOfflineSmall Offline

This is embarrassing, I just checked the sitemap after submitting this topic and the trailing slashes are no longer in the sitemap.

Forum Timezone: America/New_York
Most Users Ever Online: 964
Currently Online:
18
Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 36
Members: 23954
Moderators: 1
Admins: 7
Forum Stats:
Groups: 4
Forums: 28
Topics: 2143
Posts: 9332
Newest Members:
Willem Wittenberg
Moderators: semperplugins: 0
Administrators: Michael TorbertPeter BayliesSupport TeamSteve MortiboyMatthew RobinsonSteve KlasenArnaud Broes
Skip to toolbar