• Resolved chica203

    (@chica203)


    It’s a common problem and I’ve tried all the solutions, but I still have the problem:
    If I try to find the sitemap that should be created with Yoast, I get a 404- not found error.
    – I tried to save the permalinks-settings
    – Disabled Yoast and enable it again
    – Removed Yoast and re-installed it.
    – Cleared the cache
    – Changed the theme
    – Disabled all the other plugins.
    – Read a lot of issues about it on the internet and tried all solutions.
    – There is no .htaccess file on the server. I created one with the following text :
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    # WordPress SEO – XML Sitemap Rewrite Fix

    RewriteEngine On
    RewriteBase /
    RewriteRule ^sitemap_index.xml$ /index.php?sitemap=1 [L]
    RewriteRule ^([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L]

    # END WordPress SEO – XML Sitemap Rewrite Fix

    This doesn’t work or returns the message : internal server error.

    I’m getting pretty desperate.
    Does anyone has a clue ?
    I would be very grateful
    Thanks !

    Chica

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter chica203

    (@chica203)

    Hmm, I got some sort of solution.
    At the permalinks-settings, I unchecked the “Plain” setting and instead, activated the “Post-name” setting.
    Now, Yoast created a sitemap https://studieboekenhuis.nl/sitemap_index.xml
    I tried to add that address on Google Search Control, but now, Google can’t find that sitemap. Google does find my sitemap when I type https://studieboekenhuis.nl/index.php?xml_sitemap=params=
    So my question is : does Google visit my sitemap or not ?

    Ordering of rewrite rules was wrong (WP rules should be at the end). If you set “Post name” as permalink settings then you don’t need extra rewrite rules.

    Last URL which you provide doesn’t look as Yoast sitemap. You should remove old sitemap on GSC, submit correct Yoast sitemap and wait 24-48 hours to google process new sitemap.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sitemap problem’ is closed to new replies.