2013-06-28, 02:47 PM
I've just recently installed the 'Google SEO Plugin', and enabled the sitemap, but I can't seem to get it working.
In the plugin tab, it says sitemap is enabled, but it wants me to add this to the htaccess:
So I did. That didn't seem to help. In the documents, it says the sitemap are located at /sitemap-index.xml, but that gives me an error 404. So I tried misc.php?google_seo_sitemap. It just says it's disabled or invalid. Since it is enabled, have I done something wrong? I may suspect an error 40, but I don't know.
My site is goask.it
Thanks in advance,
Jonas.
In the plugin tab, it says sitemap is enabled, but it wants me to add this to the htaccess:
RewriteEngine on
# Some hosts require RewriteBase to make RewriteRules work.
RewriteBase /
# Google SEO workaround for search.php highlights:
# Make this rule the first rewrite rule in your .htaccess!
RewriteRule ^([^&]*)&(.*)$ http://goask.it/$1?$2 [L,QSA,R=301]
# Google SEO 404:
ErrorDocument 404 /misc.php?google_seo_error=404
# Google SEO Sitemap:
RewriteRule ^sitemap\-([^./]+)\.xml$ misc.php?google_seo_sitemap=$1 [L,QSA,NC]
So I did. That didn't seem to help. In the documents, it says the sitemap are located at /sitemap-index.xml, but that gives me an error 404. So I tried misc.php?google_seo_sitemap. It just says it's disabled or invalid. Since it is enabled, have I done something wrong? I may suspect an error 40, but I don't know.
My site is goask.it
Thanks in advance,
Jonas.