Yoast SEO sitemap link 404 problem
-
I have recently moved my wordpress blog from a subdomain into a directory e.g. www.mysite.com/blog/ and installed yeast SEO however when I go to the site map as directed in the pluign panel www.mysite.com/blog/sitemap_index.xml its not there are I get a 404 error?
Any help much appreciated.
-
Hello,
First deactivate the Sitemap functions, clear cache and then reactivate the Sitemap functions & voilá the error 404 is gone! if not, add this to the .htaccess file:
<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>cheers!
Arnold
-
It should be checked. I did notice my site took a little while to actually generate the sitemaps after installing Yoast.
-
Yes this box is checked and it gives me the options then. Should it not be checked?
-
You have checked the box "to enable XML sitemap functionality" ? In the Yoast SEO XML Sitemap settings.
-
I am getting a 404 error.
-
No you will not 404 for this one i have done same for the http://wallpapersak.com/
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Moz_pagespped and seo
I am using mod_pagespeed to increase page speed.However it changed image url. before: /cars.jpg after: /cars.jpg.pagespeed.ci.dfdfdfre.webg with:mod_pagespeed This is issue for seo? How can i change it?
On-Page Optimization | | Netliste0 -
Outbound links. External Links.
I have been reading alot on SEO and there is something confusing about having "Outbound links. External Links." on your main ranking page. Some say that We shouldn't have any out bound links. (from Random website) According to Yoast, we should have outbound links. (yoast.com) we should have outbound links but we should add the "no-follow" tag. (from Random website) Q: What should i do and follow?
On-Page Optimization | | kevinbp
If the answer is yes, how many outbound links is an appropriate amount per page?0 -
Local on-page SEO
If it feels like you are doing something wrong, then you 'probably' are... Local on-page SEO When optimising a page for local SEO, and trying tick all the usuals boxes, you find yourself adding words like 'golf clubs leeds' which sounds awful when part of a natural paragraph of text. Does Google recognise this poor use of grammar? We try to be as creative as possible, as not to offend the visitor, but it feels wrong... any advice? Thanks
On-Page Optimization | | indicoll0 -
Related Items Links
Hi, If an item page has 'related items' links and 'you may also like' links - and both those are essentially the same links, doesn't it make sense to only have one set?
On-Page Optimization | | Freelancer130 -
Problem with Occurrences of Keyword
At "On-Page Report " i have noticed that the only important problem my site has is the "Occurrences of Keyword " it says that i have ONLY 14.156 keyword repeat. My page ofcourse does not have so many repeats of same keyword. In fact this keyword is shown 10 times as i saw at source code of this page i tested. This report is for one page or for all pages of domain ? My keyword was two words keyword if that matters but there is no way that keywords to be repeated so many times.
On-Page Optimization | | Web-Builders0 -
Too many links on the same page
I have a problem with to many links on the same page, and there all for the classified adds of my web site, what would be the best way to handle this.
On-Page Optimization | | clickit2getwithit0 -
301 redirect link
Hi, I found some explanations on seomoz about permanently links, but I'm not sure, if I understood right, what to do. Our website has been created with a wrong structure and I have to change the URL of a couple of pages. E. G. http://www.ix-tours.com/Youth/ixdestBrusselYouth.aspx should be changed to http://www.ix-tours.com/DE/Jugend/BruesselJ.aspx to allow search identify it as a german page. What to do? Should I delete all content from the old page and insert the redirect to the knew one? The code as follows has to be inserted in the head section? Thank you for your help Brgds georg
On-Page Optimization | | itmlage0 -
Duplicate Links
Hello, I am entering sitewide navigation that will go to primary seo pages. This is really for usability, not for link juice. I'm wondering if I should still link to these very important pages in my index page's content. Or if I should consider those navigation links strong enough. If I did link in the content, then I would have more than one link to the same page on my home page. Thanks Tyler
On-Page Optimization | | tylerfraser0