• Resolved VA1DER

    (@va1der)


    Plugin is installed and active, doesn’t actually generate the sitemap. I’ve tried accessing it directly and by /index.php/sitemap.xml with no joy on any. Is there some trick to this?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Eric-Oliver M?chler

    (@annubis)

    Hi @va1der short questions – ive tested the plugin again and i found no problems. now i need your help. i need some answer…

    after you installed the plugin – do you edit or create any post oder page? thats what you have to do – because the plugin create your sitemap after you create a new page/post or update an existing one…

    did you do that?

    Thread Starter VA1DER

    (@va1der)

    Hi,

    Yes, I attempted to edit and create a post and page. It still didn’t work.

    This plugin is trying to write to the root wordpress installation using ABSPATH to find it. ABSPATH is not writable for all installations, and writing to it is dangerous, since it can be files shared by multiple wordpress sites. For example, ABSPATH points to /usr/share/wordpress in Debian.

    You are better to use WP_CONTENT_DIR instead of ABSPATH and then have the URL be https://site.ca/wp-content/sitemap.xml

    That should work on any wordpress installation because WP_CONTENT_DIR must always be a directory that is writeable by WordPress. I tested your plugin with this change and it seems to work.

    Plugin Author Eric-Oliver M?chler

    (@annubis)

    yes thats true – thanks for your input. i will update my plugin as soon as possible

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘404 error’ is closed to new replies.