@fanaticweb I tested that plugin on a site here and it worked fine. The URLs for the author archives in the XML Sitemap showed the new Author Base.
The name of the sitemap, author-sitemap.xml, will never change, only the URLs in that sitemap will change.
Thank you for the headsup, I’m baffled here because I did check on another legacy site as well and the https://www.website.com/author-sitemap.xml does list the new author slug, oddly enough only the Admin is listed and not the Contributors which are the main reason I thought of enabling the “Include Author Pages” in the sitemap.
1) Is it normal that only the Admin is listed and not the Contributors as well?
2) Why would the new site generate a 404 for the https://www.website.com/author-sitemap.xml to start off with? We’re using the exact same plugins in both cases for the SEO and the Slug author plugin
It should list any user that has published content.
Try deactivating all other plugins and switch to the default theme and make sure you don’t have any old XML Sitemap files on your server.
It’s not, that is the problem, I’m using a childtheme for a classified website, I migrated the site to a new test site, the author slug was changed to “members”, activated AIO plugin while all other active plugins were onboard.
I installed the Twenty Twenty theme and activated it, got few errors in regards to existing plugins (constant APP_TD – assumed ‘APP_TD’ (this will throw an Error in a future version of PHP) in /htdocs/website/wp-content/plugins/easy-video-embed/ecpm-eve.php
Addons plugin is not compatible with your site and has been deactivated.
I kept the relevant plugins active, when I enabled the AIO SiteMap module, I saw the https://website.com/author-sitemap.xml and listed in it is the single Admin only while the other Contributor accounts (Created for front end testing) are still not listed.
Contributors have Publishing capabilities established
Went back and deactivated all the plugins including the plugin “Edit Author slug”, and now the sitemap https://website.com/author-sitemap.xml shows the default author slug https://website.com/author/admin/
Contributors are not taken in consideration in the sitemap output
What’s the next step?
Update: Even when I re-enabled the “Edit Author slug”, the sitemap updated to reflect on the “https://website.com/members/admin/” so that seems to work fine for this site, still missing the Contributors…
-
This reply was modified 4 years, 2 months ago by Fanaticweb.
It sounds like it could be the way your theme handles attributing content to users. If it works fine when you enable the default theme and author some content by some of your users then you’ll know it’s your theme.
You’re on point for the theme, everything is custom even the native WP Comments of the blog’s section is custom.
I’ll leave it at that then, luckily Google handles WP Authors organically so I’ll just exclude the Include Author Pages for now, I appreciate your input and help kind sir.