How to Fix Yoast WordPress SEO Sitemap 404 Error




Are you getting a 404 error when trying to create a sitemap using Yoast WordPress SEO Visit my website: http://www.avoiderrors.net/?p=24193 Yoast Support …

source

14 replies
  1. Chris Wilson
    Chris Wilson says:

    That is my exact problem! You video is straight to the point! I followed your instructions.but I deleted the w3 plugin and I still get the homepage instead of the sitemap👍

    Reply
  2. Monica Liverani
    Monica Liverani says:

    Hi Miguel. I cleaned my htaccess. I copied all your instructions now my code is like this:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index.php$ – [L]
    RewriteCond %{QUERY_STRING} !lp-variation-id
    RewriteRule ^go/([^/]*)/([0-9]+)/ /go/$1?lp-variation-id=$2 [QSA,L]
    RewriteCond %{QUERY_STRING} !lp-variation-id
    RewriteRule ^go/([^/]*)? /wp-content/plugins/landing-pages/modules/module.redirect-ab-testing.php?permalink_name=$1 [QSA,L]
    RewriteRule ^landing-page=([^/]*)? /wp-content/plugins/landing-pages/modules/module.redirect-ab-testing.php?permalink_name=$1 [QSA,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    But my sitemaps is 404 error. What can I do?

    Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.