MyBB Community Forums

Full Version: Google Seo Sitemap not Working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Greetings all,

Newbie here.....

Recently installed MyBB forums to a subdomain and got it all working.

Spent all day getting the Google Seo plugin working to get a sitemap to submit to google and google returns an error, saying "Couldnt Fetch"

This is the site url:  https://sa2canada.saffa.ca

this is the content of my htaccess file rewrite info:

<IfModule mod_rewrite.c>
RewriteEngine on

# Some hosts need a RewriteBase specification.
RewriteBase /

# Google SEO workaround for search.php highlights:
# Make this rule the first rewrite rule in your .htaccess!
RewriteRule ^([^&]*)&(.*)$ https://sa2canada.saffa.ca/$1?$2 [L,QSA,R=301]

What could the issue be?

Regards,

Clint

(2019-01-09, 09:15 PM)clintwade Wrote: [ -> ]Greetings all,

Newbie here.....

Recently installed MyBB forums to a subdomain and got it all working.

Spent all day getting the Google Seo plugin working to get a sitemap to submit to google and google returns an error, saying "Couldnt Fetch"

This is the site url:  https://sa2canada.saffa.ca

this is the content of my htaccess file rewrite info:

<IfModule mod_rewrite.c>
RewriteEngine on

# Some hosts need a RewriteBase specification.
RewriteBase /

# Google SEO workaround for search.php highlights:
# Make this rule the first rewrite rule in your .htaccess!
RewriteRule ^([^&]*)&(.*)$ https://sa2canada.saffa.ca/$1?$2 [L,QSA,R=301]

What could the issue be?

Regards,

Clint

Is there no one with some advice for me?
Your host is using a strange webserver (LiteSpeed instead of Apache). There were issues with LiteSpeed and Google SEO in the past (cause it didn't do redirects as apache does them - added a workaround option in the Google SEO Redirect settings - but it won't help you if redirects are not working at all). You could ask your host whether/how rewrites can be used in your setup, or switch hosters to someone who provides a standard LAMP stack (Linux Apache MySQL PHP).

Basically Google SEO requires rewrites to work with your site (for URLs anyhow), it's up to you (your hoster) to provide this functionality. Rewrite for the sitemap is optional, without rewrite it would be misc.php?google_seo_sitemap=index but you have to adapt the Google SEO Sitemap - URL Scheme setting accordingly (set to empty scheme).
Thanks for the response Frostschutz.

I forwarded your message to my host and they responded with the following:

LiteSpeed server is a drop-in replacement to Apache, as far as configuration goes. It fully supports rewrites almost exactly the same way as Apache does. If your script isn't working, I suspect the issue is not with LiteSpeed but rather somewhere else.

You can read a bit more about LiteSpeed and rewriterules here: https://blog.litespeedtech.com/2017/07/2...per-order/

If you have any specific issues with any rewrite rules, you can investigate the output of the error_log in your web folder for possible hints of what might be going wrong.

What is your take on that?

Clint
I don't know what your .htaccess looks like, and I don't know what's in your error logs. You have to check those yourself.