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
-
Seeking SEO contractor
I would like to hire an SEO contractor to assist with some technical/SEO issues on our site (Schema, etc). Can anyone make a recommendation? I am looking to work with a small company. Thank you in advance for any referrals!
On-Page Optimization | | JulieALS0 -
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 -
International SEO
We have a client who is looking to expand to other countries, particularly South America. What is my best route forward for SEO on a multi national site?
On-Page Optimization | | CreativeCow0 -
SEO Content Revolution Question
I was wondering if articles written about questions people are asking will help my website rank better. For example let's say I wrote an article answering the query, "What Hair Dye Does Angela Merkel Use?" or, "Is Hillary Clinton Thinking of Running for President," and they rank well on google, and in turn they get viewed a lot by searchers because it answers their queries. Would this help my website as whole start ranking better? Thanks!
On-Page Optimization | | OOMDODigital0 -
Internal Linking Question(s)
Is it unwise to link internally to a page more than once on the homepage. I am reading that it is considered spammy. I am also reading that it passes PR twice to the internal page instead of just once... Which is it? Is there a way to stop passing PR to the "contact us" page. I watched an older video that Matt Cutts suggested a nofollow. Now I read that this strategy is a no no? Which is it? Thanks! 🙂
On-Page Optimization | | JML11790 -
Duplicate content problem
I am having an issue with duplicate content that I can't seem to figure out. I got rid of the www.mydomain.com by modifying the htaccess file but I can't figure out how to fix theproblem of mydomain.com/ and mydomain.com
On-Page Optimization | | ayetti0 -
Internal linking best practice
See example: car rental - sedans - bmw car rental - sedans - audi car rental - sedans - ford (internal links to sedans - audi, ford) or (internal links to suv - bmw) car rental - suv - bmw car rental - suv - audi car rental - suv - ford (internal links to suv- audi, ford) or (internal links to sedans- bmw...) Should I cross link only between the product page under each category or can I link between different products under different categories? From a user point of view, I think it will give him more options if he wants to choose the same brand but a bigger vehicle although I have read numerous posts saying that we should be internally linking most of the time within the same category. User experience or SEO?
On-Page Optimization | | echo10 -
Links from my homepage
I am redesigning my homepage completely. What criteria should I use to decide which pages to link to from the homepage?
On-Page Optimization | | mascotmike0