MyBB Community Forums

Full Version: Google SEO 1.8.4
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Correct me if I am wrong, but shouldn't the MyBB Core attempt to use http_build_query to generate the multipage urls?
(2021-03-04, 10:58 PM)OmarĀ G. Wrote: [ -> ]Hi, it seems Google SEO ignores the following piece of code:
https://github.com/mybb/mybb/blob/41fc42...#L682-L727

Ultimately breaking the multipage with some sort or filter options. I know this setting promises to attempt rather than to guarantee, but I hope it gets eventually fixed.

Also found this Very Old Thread (2008): https://community.mybb.com/thread-42309.html where I literally quote the same code segment you pointed out.

So it is what it is. It's up to MyBB core to use their own URL API and improve the query string appending issue. Patching this code myself would do more harm than good.



Oh. I already am patching it. I see it now...

Basically change & to & here - https://github.com/frostschutz/MyBB-Goog....php#L1588

But that retains the whole ? vs. & mess, so I'd have to fix it properly. It's still a lousy hack to work around MyBB's core...
Hi, just noticed your replies to my inquiry. I see you are willing to _patch_ the issue in Google SEO. Even so, I think the suggestion that MyBB should _append query strings properly_ (either by a helper function or directly using http_build_query()) is on point.
Hi,

I tried to post a new support thread about Google SEO plugin but since it says it is unsupported I did elsewhere.

However, I had no answer whatsoever and for sure many users have their forums running
nginx, php7.4-fpm and mariadb.

I am trying to get Google SEO to work but I am not reaching anywhere.
Can someone who has done it before be so kind in explaining how can this be done

Thank you
(2021-06-17, 01:52 PM)IAV Wrote: [ -> ]Hi,

I tried to post a new support thread about Google SEO plugin but since it says it is unsupported I did elsewhere.

However, I had no answer whatsoever and for sure many users have their forums running
nginx, php7.4-fpm and mariadb.

I am trying to get Google SEO to work but I am not reaching anywhere.
Can someone who has done it before be so kind in explaining how can this be done

Thank you

make sure to put the seo url rewrites into the domain.conf file for this to work

server {
rewrite ^/([^&]*)&(.*)$ https://your_domain_com/$1?$2 permanent;
rewrite ^/((?i)sitemap-([^./]+)\.xml)$ /misc.php?google_seo_sitemap=$2;
rewrite ^/((?i)Forum-([^./]+))$ /forumdisplay.php?google_seo_forum=$2;
rewrite ^/((?i)Thread-([^./]+))$ /showthread.php?google_seo_thread=$2;
rewrite ^/((?i)Announcement-([^./]+))$ /announcements.php?google_seo_announcement=$2;
rewrite ^/((?i)User-([^./]+))$ /member.php?action=profile&google_seo_user=$2;
rewrite ^/((?i)Calendar-([^./]+))$ /calendar.php?google_seo_calendar=$2;
rewrite ^/((?i)Event-([^./]+))$ /calendar.php?action=event&google_seo_event=$2;
}
(2021-06-18, 05:19 AM)canadacommunity Wrote: [ -> ]make sure to put the seo url rewrites into the domain.conf file for this to work

Got to thank you and andrewjs18 that got kindly provided the code to make Google SEO work with nginx/php-fpm configurations.



I again went on searching for the best practices to configure it and I also couldn't find them and even some screenshots would do the trick!
If anyone could do some screenshots, I am sure that wouldn't be just me benefiting from this valuable information.


I read a thread that advises to make it 'to your liking' but Google likes things to his liking Rolleyes


On my web searches, I bumped on a second stage configuration tutorial by WallBB that seems to be a nice solution
the article is called "Important SEO tips for MyBB forums"

In case anyone would like to help or give some tips, perhaps frostschutz could also contribute


Thanks to those who make MyBB community a nice place be part of
IAV
So i have noticed no matter what i do google search console will not accept my sitemap-index.xml it shows status as couldn't fetchwhen i click on it i get a message saying Sitemap could not be read and General HTTP error


Has anyone else ever had this problem?

Regards,
CPAhero
Your links in your sitemaps are using http and not https, it could be a trouble.
(2021-07-14, 04:31 PM)Crazycat Wrote: [ -> ]Your links in your sitemaps are using http and not https, it could be a trouble.

you could be right but this should not be the issue at all... many websites dont use SSL unless they have say a shop with payments ect..
<disgression>Sorry to disagree with you, but even SSL (and https) is not mandatory, it's highly recommended, particularly by google.</disgression>
If you have submited your site with https and your sitemap is http, it could be a trouble for google. And the trouble come from google, your sitemap is ok, as shown on this test
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25