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
-
On-page SEO
This is a question for the organic SEO experts, once you added the main keyword that you want to rank for in the homepage title, meta title plus meta description, perhaps once or twice in the text on the homepage. How often do you then write it in the content marketing, say blog posts, we want to rank higher on Google for "SEO agencies Cardiff" however if you mention this in the blog posts too much say once a week, this could lead to over optimisation issues?
On-Page Optimization | | sarahwalsh1 -
HTML Visual Sitemap
Hello, Can anyone suggest the best tool for a visual HTML sitemap? I want to show what a website looks like architecturally before and be able to drag pages around visually to show an enhanced site architecture. I have looked at a few tools online but would like to try before I buy and also get recommendations. Any ideas?
On-Page Optimization | | AL123al1 -
Harms of hidden categories on SEO
On our website we have some invisible/hidden categories on our site. Can anyone advise whether these are harmful in terms of SEO?
On-Page Optimization | | CostumeD0 -
Nofollow links to own website pages
To preserve link juice should I "nofollow" links to about us and contact us pages that appear at the top of our navigation? I read this article - but I am not familiar with the authenticity: http://www.eminentseo.com/blog/navigation-menu-optimization-best-practices/ Thanks Mike
On-Page Optimization | | henandstag0 -
SEO and PDFs
Hi there, how could I incorpore the PDF's documents of my site to the SEO strategy in order to optimize the page in which is included in? Thanks
On-Page Optimization | | juanmiguelcr0 -
Are tags important for SEO?
I just installed a plugin called SEO content control and it is telling me I need to write descriptions for my tags. I haven't been using tags although I did create a list of them. I don't have an endless amount of time on my hands so is this a worthwhile task?
On-Page Optimization | | dealblogger0 -
Thoughts on these footer links
I have a site that has about 20 footer links. A main Category and 4-5 links under each. The site is very large, so I feel they do have some value for navigation, and they don't blend in with the background at all. I know penguin was cracking down on footer links, but I don't feel theses are "spammy" links. Will it hurt long-term to leave these links, or should we pull them?
On-Page Optimization | | netviper0 -
No links or traffic to our articles
Hello, Our articles are written by a professional in the field, taylored to what we think our ecommerce customers would most want to know about. But there is no traffic to our articles and almost no inbound links. We have 15 articles around 500 words (roughly) each. We've got a right sidebar banner about our FAQ and articles and a rotating banner with one slde about our articles. Also, we have a tab at the top. We've had a good article section for 5 months, and a descent one for a couple of years Could it be our industry, or what can we do?
On-Page Optimization | | BobGW0