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
-
Product Descriptions (SEO)
So I would like a few opinions. How long should a product description be? Enough to get the point across? 100 words? 800 words? Over detailed? Any advice would be appreciated.
On-Page Optimization | | mattl990 -
To NoFollow or to NoIndex internal links
I all, I have recently taken over a fairly large e-commerce site that I am trying to "fix" and have come across something that I need a second opinion on. A Semrush audit has revealed that there are a heck of a lot of internal nofollow links (over 90 000) that point to predominantly 4 pages from the Header of each page in the site, these are change currency pages to show clients different currencies and a members login page. The pages are: /?action=changecurrency¤cy=EUR /?action=changecurrency¤cy=USD /?action=changecurrency¤cy=GBP /members/ My opinion is that these pages should just be no index pages and they should be followed. instead of being indexed and no followed? Any thoughts on this out there?
On-Page Optimization | | cradut0 -
Does homepage SEO exist at all?
hi Just read a Yoast article explaining that the homepage should never be optimized for a specific keyword and should only be optimized for its business or brand name. i have a large site that I'd like to rank (or increase traffic for as I know people get irritated with that term now) for 'Campervan hire'. It has plenty of sub pages going after 'Campervan hire 'location'' for example. it makes sense to me for the homepage keyword - my core keyword - to be 'Campervan hire' and for the homepage to be optimised for this. However, the article I've just read (https://yoast.com/homepage-seo/) suggests a separate page for this keyword. What are your thoughts pls?? thanks
On-Page Optimization | | CamperConnect142 -
Nofollow on internal links
Hi, What do you all think about using nofollow on internal links? On pages that arent so important and use dofollow on important pages maybe for example from the sites menu.
On-Page Optimization | | Rob-0 -
Cross-linking for mobile SEO
Hi everyone! I am having a hard time finding information about weather to/how to apply internal seo linking to mobile versions of sites. We decided to go with dynamic serving with user agent detection. Our desktop site has a quite heavy seo-internal-cross-linking. As I understand, for mobile we should simplify and focus on usability, so get rid of unnecessary links. But I have a doubt about weather removing this part of the web structure can hurt our SEO. Do Google mobile bots look at and rank mobile versions of pages from scratch or do they use what they know about the site and the site's structure from its desktop version?
On-Page Optimization | | ofertia0 -
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 -
Footer-links (navigation)
I want to put navigation links in my footer. I watched the (distilled) whiteboard friday video saying it can be a penalty. How are links in the footer different from links in the navigation. Why don't you get "hit" for putting the word "Real Estate Listings" in the navigation menu? It appears on every one of the 30k pages. I don't get why the links in the footer would have a negative effect if the links in the navigation don't. My example is a real estate website. When people are browsing properties (30k), it is convenient that at the end of the page there is a navigation of areas. I could put the navigation on the sidebar but that would be in essence, the same thing. A wordpress site would dynamically include that sidebar on every page.
On-Page Optimization | | JML11790 -
Link cannibalization
My on page report card gives me an "A" in every category but "link cannibalization". The key word is I am targeting is "home care". It says my links to "home care blog" and "in home care agency locator" are cannibalizing my home page. Am I indeed causing problems by using these modified versions of the keyword? Also is it okay to have the link "home care" for the home link in the main navigation bar? Thanks
On-Page Optimization | | mmaes0