MyBB Community Forums

Full Version: SEO for NGINX
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there!

Can I use this: 

https://docs.mybb.com/1.8/administration...RLs/#nginx

Will my forum show up in Google with this? Or do I need an additional plugin?

Best regards
Yes, no additional plugins require.

One thing you may take care of is the path. If your board URL is http://www.example.com/forum, replace MyBB with forum in each rewrite rule. For example change rewrite ^/MyBB/forum-([0-9]+)\.html$ /MyBB/forumdisplay.php?fid=$1; to rewrite ^/forum/forum-([0-9]+)\.html$ /forum/forumdisplay.php?fid=$1;
Or if your board URL doesn't have sub-path, for example http://www.example.com, remove /MyBB from all rewrite rules.
(2020-05-08, 05:05 AM)noyle Wrote: [ -> ]Yes, no additional plugins require.

One thing you may take care of is the path. If your board URL is http://www.example.com/forum, replace MyBB with forum in each rewrite rule. For example change rewrite ^/MyBB/forum-([0-9]+)\.html$ /MyBB/forumdisplay.php?fid=$1; to rewrite ^/forum/forum-([0-9]+)\.html$ /forum/forumdisplay.php?fid=$1;
Or if your board URL doesn't have sub-path, for example http://www.example.com, remove /MyBB from all rewrite rules.

Thank you!