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
-
Creating Tables with Multiple Links
Hello, Is Creating Tables with Multiple Links and using schema markup bad SEO? For example I have a real estate website which I have a hierarchy of home page -> County pages -> city pages-> blog posts.. However at the bottom of the county pages I list the city pages i serve under a table with links..
On-Page Optimization | | sqc0 -
Too much internal linking?
Hi everyone, Too much of anything is not good. In terms of internal linking, how many are too many? I read that the recommended internal links are about 100 links per page otherwise it dilutes the page's link equity. I have a concern about one of our websites - according to search console, the homepage has 923 internal links. All the pages have a corresponding /feed page added to the page URL, which is really weird (is this caused by a plugin?). The site also has an e-com feature, but it is not used as the site is essentially a brochure and customers are encouraged to visit the shop. I assume the e-com feature also increases this number. On the other hand, one of the competitors we are tracking has 1 internal link site-wide. Ours is at 45,000 site-wide. How is it possible to only have 1 internal link? Is this a Moz bug? I know we also need to reduce our internal links badly, however, I'm not sure where to start. I don't know how these internal links are linked together - some aren't in the copy or navigation menu. When I scan the homepage links using 'check my links', the total links identified for the homepage is only 170. kAeYlTM
On-Page Optimization | | nhhernandez0 -
How to block index of link and content
Hi, We have pages where articles are shown and in the sides we have small snippets of Articles which shows the title and close to 25 words and a image. When i search for something in Google the snippet image and content is shown and in Google when clicked it redirects to a page which is not meant to be shown for the keyword the visitor is querying Is there a way i can block all the links and content shown in the right and left side of the page so Google does not get confused with the page content thats not related to that page? thanks
On-Page Optimization | | AlexisWithers0 -
Internal Linking
If i link page A to page B then link page B back to page A would this have less effect than linking page A to page B only? Also are their any good resources for learning internal linking best practise? Thanks in advance.
On-Page Optimization | | Bossandy0 -
Wordpress & SEO Markup
Buon Giorno from 6 degrees C wetherby UK 🙂 I'm close to commissioning a designer to create a wordpress driven site but I'm anxious around the standard of the markup. Specifically I need pages to have the classic unique title tags, one H1 tag per page and contnet in p tags.
On-Page Optimization | | Nightwing
Now I know theres a wordpress plugin claiming to empower the administartor to have control but are there any icebergs ahead I need navigate to ensure my sites meets Google optimization guildlines? Any advice welcome 🙂1 -
No followed links, what happens to the PR?
Hi, I have read a few times, on here and other places that when a website applies a no follow tag to a link the PR is not retained but instead disappears (evaporates) thus neither website benefiting. Is that true? If so what is the actual benefit of no following a link?
On-Page Optimization | | Bondara0 -
Should I include my help desk link?
My website has a link to our help desk. I was considering a 'do not follow' since I don't think it should be included. However, are there any benefits to including it since there are A LOT of articles and pages on our help desk (though it's aimed at our curent customers, not new or potential customers)?
On-Page Optimization | | flightoffice0 -
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