WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
XML Sitemap not active after plugin disable/enable (28 posts)

  1. Doug Smith
    Member
    Posted 1 year ago #

    WordPress version: 3.4.1
    WordPress SEO version: 1.2.5

    During some routine testing I disabled and then re-enabled the WordPress SEO plugin. Afterwards, attempting to visit /sitemap_index.xml returned a 404 error.

    I went to the Yoast WordPress SEO: XML Sitemaps settings page and the checkbox to enable XML site map functionality was still checked. I clicked the Save Settings button and the sitemap started working again.

    I was able to repeat this by disabling and enabling the WordPress SEO plugin again.

    I verified the same result on a test install running only the WordPress SEO plugin and the Twenty Eleven theme.

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. jrstaatsiii
    Member
    Posted 1 year ago #

    i can verify this as well. It also seems to happen when you upgrade the plugin. After upgrading the sitemap is a 404, but if you return to the settings page and hit save it works again.

    Rich

  3. a1wsn
    Member
    Posted 1 year ago #

    I also had this same problem - disabled WP SEO while testing, later re-enabled, then noticed the sitemaps had gone 404. By re-saving the settings it re-activated the sitemaps.

    Yoast, please look at fix for next version :)

  4. hotconductor
    Member
    Posted 1 year ago #

    I was wondering why my search engine ranking was falling like a stone! All my hard work of slowly climbing up the page results.. gone in a weekend! I had to disable/re-enable some plugins to solve a memory issue. I need to change hosting so that this kind of stuff becomes something of the past.

  5. Dave
    Member
    Posted 1 year ago #

    Same thing here. Saving setting worked. Now going over all tabs and saving again just to be sure there's nothing else that needs it.

  6. bestbuys4business
    Member
    Posted 1 year ago #

    It could be something to do with the browser, I have the same problem on IE and Chrome but it is fine when I use the ipad.

  7. jjsbetteroff
    Member
    Posted 1 year ago #

    can someone please confirm whether yoast seo plugin sitemap functionality works or not (without messing about with code etc.)? When i first enabled it a few months back, it wasnt working on google and bing (they werent getting the sitemaps) so i disabled it and have bwp gxs sitemap plugin activated.

    This isn't ideal though i don't think, as Bing doesn't seem to be getting the sitemaps as regularly as google with this other plugin..

    Plus, im starting a new site soon, and would jsut rather have it all under one roof in hte yoast plugin if possible.

    So is it working now?

  8. singhnsk
    Member
    Posted 1 year ago #

    I'm also into a similar problem.
    Whenever i publish a new post, the sitemap page goes 404. I need to save the settings again to call it back.
    Don't know what is happening here!

  9. jjsbetteroff
    Member
    Posted 1 year ago #

    It seems a bit odd that such a high profile plugin has such a huge problem with a fundamental part of wordpress- letting people know that you're there.

    Surely Joost's /yoasts agency/business (he's in 14k google circles or something!) can afford to pay someone to get this sorted out? It's like giving a beautiful new mercedes away for free, but forgetting to add wheels.

    Bit of a joke really if it is indeed still shagged, and its not jsut us.

  10. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Surely Joost's /yoasts agency/business (he's in 14k google circles or something!) can afford to pay someone to get this sorted out?

    And from where did he derive this wonderful income of which you speak? It's a free plugin. How much have you donated recently?

  11. jjsbetteroff
    Member
    Posted 1 year ago #

    well esmi, I haven't donated anything, I think that was the point. As soon as it's good to go, I will.

    it's a great plugin, and useful no doubt, but having searched around through threads for hours, it looks like this has been an issue for a long time.

    And sorry if yoast isn't making money, i thought being a world renowned SEO expert, and being in 14000 google cirles and the rest, should have meant he's getting some money. If he isn't, there's something really wrong because the guy seriously knows his stuff on SEO. Plus, don't some people pay for the yoast settings to be set up for their site aswell?

    Maybe i'll hire him for my site.

    I'm grateful that it's free, genuinely, but this problem has been around ages seemingly,so surely it needs fixing for such a widely used plugin?

  12. bizint
    Member
    Posted 1 year ago #

    My sitemap is a mess too....

  13. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Bottom line: if you are that unhappy with the plugin, use another one. But please do not take personal pot shots at someone who is offering this plugin for free.

  14. Doug Smith
    Member
    Posted 1 year ago #

    There's no need to wait for this or that to be fixed or some feature added to make a donation. Joost currently has 38 plugins in the WordPress plugin repository that he gives away totally free! He's already delivered incredible value to the WordPress community and I consider some of his plugins essential to every site I run.

    I've already donated and I've sent business his way too. I encourage everyone else to do the same.

    Thank you for all you do, Joost!

  15. webmasteraf
    Member
    Posted 1 year ago #

    Hi everybody,

    It doesn't work for me too, the file "sitemap_index.xml" is empty.

  16. kletskater
    Member
    Posted 1 year ago #

    sitemap here still works, have trouble with other parts of Wp-SEO
    I'll wait till Joost is back in town.

  17. Rottie
    Member
    Posted 1 year ago #

    Had some issue pop up this morning thought I solved it but I guess I didn't. Waiting to see

    I used this code to solve sitemap but then it screwed up all my pages

    # WordPress SEO - XML Sitemap Rewrite Fix
    <IfModule mod_rewrite.c>
    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]
    </IfModule>
    # END WordPress SEO - XML Sitemap Rewrite Fix
  18. Rottie
    Member
    Posted 1 year ago #

    While I do not recommend you do this unless you have to have your sitemaps back online.

    Navigate to “/wp-content/plugins/wordpress-seo/inc/class-sitemaps.php”.

    rename class-sitemaps.php to something like class-sitemaps.ORIGINAL and leave it on the server

    Then edit a local copy by going into the file and search for the function init(). Now change the original code to match below.

    function init() {
    	        global $wp_rewrite;
    	        $GLOBALS['wp']->add_query_var( 'sitemap' );
    	        $GLOBALS['wp']->add_query_var( 'sitemap_n' );
    	        add_rewrite_rule( 'sitemap_index\.xml$', 'index.php?sitemap=1', 'top' );
    	        add_rewrite_rule( '([^/]+?)-sitemap([0-9]+)?\.xml$', 'index.php?sitemap=$matches[1]&sitemap_n=$matches[2]', 'top' );
    	        $wp_rewrite->flush_rules();
    	    }

    So far this has worked for me without other issues, at least I have not noticed any. Hopefully this will get me by until next fixed update.

  19. webmasteraf
    Member
    Posted 1 year ago #

    Thanks Rottie but it doesn't work me

  20. Rottie
    Member
    Posted 1 year ago #

    Well hopefully this gets resolved with a perm solution, as for me it has seemed to fix this issue. I do realize this is a temp fix.

  21. jjsbetteroff
    Member
    Posted 1 year ago #

    esmi, i never took personal pot shots at anyone, so don't twist things into somthing they are not. It's quite irresponsible.

  22. essaywr1
    Member
    Posted 1 year ago #

    Hi people, I got here searching for sitemaps, but I am not sure if my question perfectly fits this thread. Any advice from you will be greatly appreciated as I have tried looking for this information all over the net already.

    I have got a website, let's say website.com and its blog is on wordpress with the address website.com/blog. I use Yoast for the blog and I have submitted my site's sitemap to Google webmasters using xml-sitemaps.com. My question is, do I need to verify my blog which is at website.com/blog separately in webmasters tools?

    If this is not needed since I have Yoast, how do I check/verify the changes I have made to my blog have been updated to search engines so that if there is a URL change of a particular post or any other significant change to my blog gets notified to search engines?

    I am asking this because I noticed my ranking plummeted after I made changes to my blog. I switched to Yoast a couple months back and updated Title and Description of my old blog entries that were lacking focus word, title, and description under Yoast under each entry. After doing this I saw the number of URLs of my site increase from 500 odd to 800 and then after a few days they came back down to 500 odd, but with a drastic change in my SERPs.

    Any help will be really kind. Many thanks for taking time out to read this.

  23. Rottie
    Member
    Posted 1 year ago #

    Please start your own thread since this thread is about issues of the plugin not advice on how to run SEO, websites and ranking.

    Thanks

  24. essaywr1
    Member
    Posted 1 year ago #

    I am sorry for not being clear, but what I meant was, the number of URLs indexed by Google (as per data from SEO Quake) increased from 500 to 800 and then they came back down to 500, but this also resulted in the site losing rankings.

    Many thanks.

  25. jjsbetteroff
    Member
    Posted 1 year ago #

    essay i dont know alot about SEO stuff, but you should get a html code/Tag from webmaster tools - look for different ways to verify the site. Then take that code and put it into the yoast section for those codes ; then go back to webmaster tools and hit verify, and you should be good (it will tell you).

    Im currently using yoast, but have the sitemaps disabled and have another site map plugin called BWP running aswell. Its not ideal, but it does the job.

  26. essaywr1
    Member
    Posted 1 year ago #

    Thanks jjsbetteroff. I am aware of adding a site to webmaster tools and then adding the verification code to the yoast section under webmaster tools under dashboard, but my question is, do I need to add my blog which is located at website.com/blog to my Google webmasters account first or can I just put the same code on Yoast section that is found under my site's (website.com) homepage head, which was originally used to verify my main site, which is website.com

    My only purpose is that search engines should take note of any changes I make to the blog so that I don't lose ranking due to any changes that I make to my blog.

  27. avinashaucse
    Member
    Posted 1 year ago #

    I am facing a problem that i have a sitemap.xml file already as i am using all in one seo,then i hav installed seo by yoast some how i have got sitemap_index.xml file ,the issue is the sitemap_index is not working ,it hav updated some content then after some days it is not updating at all ,Do i have a solution for this? or can i change seo yoast to use the sitemap.xml file please give a solution thank you.

  28. Scott Wyden Kivowitz
    Member
    Posted 1 year ago #

    I've been having strange sitemap issues as well lately, but only when W3 Total Cache is also activate. No matter what settings W3 has, even if default, my sitemap gets errors.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic