• Resolved Fanaticweb

    (@fanaticweb)


    Hello,
    I generated the sitemap XML file and included the option “Include Author Pages” which seems to default to https://www.website.com/author-sitemap.xml

    Meanwhile, my author slug is not the default one, I changed the author slug to “members” using the plugin “Edit Author Slug” and subsequently the sitemap is generating the wrong url for the new Member (previously author) slug.

    Any idea how to go by to fix this issue?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Steve M

    (@wpsmort)

    @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.

    Thread Starter Fanaticweb

    (@fanaticweb)

    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

    Plugin Support Steve M

    (@wpsmort)

    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.

    Thread Starter Fanaticweb

    (@fanaticweb)

    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?

    Thread Starter Fanaticweb

    (@fanaticweb)

    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.
    Plugin Support Steve M

    (@wpsmort)

    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.

    Thread Starter Fanaticweb

    (@fanaticweb)

    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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Author slug rename generates 404 xml file’ is closed to new replies.