Simple Sitemaps For Multisite not activatable

H Heroes

Plugin could not be activated because it triggered a fatal error.
Simple Sitemaps file "sitemap.php" not found. Please move it to /wp-content/ before activating.

This site (access has been granted) contains only wpmudev plugins and has been installed today so this plugin!

It can not be activated nor network activated

Kind regards

  • Nastia

    Hello Andi

    Hope you're doing well!

    To activate the plugin please move sitemap.php from simple-sitemaps folder to wp-content folder on your site.

    Make sure to add the following line into the .htaccss file:
    RewriteRule ^(.*/)?sitemap.xml wp-content/sitemap.php [L]

    It is important to add this line in a right order. Please see an example here:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    RewriteRule ^(.*/)?sitemap.xml wp-content/sitemap.php [L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    After this, you should be able to activate the plugin. For more detailed instructions, please review the Usage page.

    Let us know how it went!

    Kind regards,