Thread Rating:
  • 5 Vote(s) - 4.2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Google SEO 1.8.4
(2019-07-01, 02:40 PM)Flexibule Wrote:
	location / {
		try_files $uri $uri/ =404;
		rewrite ^/([^&]*)&(.*)$ https://domain.com/$1?$2 permanent;
		rewrite ^/((?i)sitemap-([^./]+)\.xml)$ /misc.php?google_seo_sitemap=$2;
		rewrite ^/((?i)forums-([^./]+))$ /forumdisplay.php?google_seo_forum=$2;
		rewrite ^/((?i)threads-([^./]+))$ /showthread.php?google_seo_thread=$2;
		rewrite ^/((?i)members-([^./]+))$ /member.php?action=profile&google_seo_user=$2;
	}
Ok, thanks anyways. This is my NGINX config if someone want's to help me Smile

Review the enclosed HELP files that are included in the Google SEO plugin.

Here is the code to get you started properly... this is specific for NGINX setups.

  # Google SEO workaround for search.php highlights:
  # Make this rule the first rewrite rule in your .htaccess!
  rewrite ^/MyBB/([^&]*)&(.*)$ http://yoursite/MyBB/$1?$2 permanent;

  # Google SEO Sitemap:
  rewrite ^/MyBB/((?i)sitemap-([^./]+)\.xml)$ /MyBB/misc.php?google_seo_sitemap=$2;

  # Google SEO URL Forums:
  rewrite ^/MyBB/((?i)Forum-([^./]+))$ /MyBB/forumdisplay.php?google_seo_forum=$2;

  # Google SEO URL Threads:
  rewrite ^/MyBB/((?i)Thread-([^./]+))$ /MyBB/showthread.php?google_seo_thread=$2;

  # Google SEO URL Announcements:
  rewrite ^/MyBB/((?i)Announcement-([^./]+))$ /MyBB/announcements.php?google_seo_announcement=$2;

  # Google SEO URL Users:
  rewrite ^/MyBB/((?i)User-([^./]+))$ /MyBB/member.php?action=profile&google_seo_user=$2;

  # Google SEO URL Calendars:
  rewrite ^/MyBB/((?i)Calendar-([^./]+))$ /MyBB/calendar.php?google_seo_calendar=$2;

  # Google SEO URL Events:
  rewrite ^/MyBB/((?i)Event-([^./]+))$ /MyBB/calendar.php?action=event&google_seo_event=$2;
I'm Serpius and You're Not    ¯\_(ツ)_/¯
DEAF GOLF
Reply


Messages In This Thread
Google SEO 1.8.4 - by frostschutz - 2016-09-22, 02:50 PM
RE: Google SEO 1.8.0 - by WallBB - 2016-09-22, 02:54 PM
RE: Google SEO 1.8.0 - by Eldenroot - 2016-09-22, 05:15 PM
RE: Google SEO 1.8.0 - by Corey H - 2016-09-22, 05:15 PM
RE: Google SEO 1.8.0 - by frostschutz - 2016-09-22, 07:57 PM
RE: Google SEO 1.8.0 - by thelovelyone - 2016-09-25, 09:38 AM
RE: Google SEO 1.8.0 - by DiegoPino - 2016-09-25, 09:12 PM
RE: Google SEO 1.8.0 - by frostschutz - 2016-09-26, 12:15 PM
RE: Google SEO 1.8.0 - by thelovelyone - 2016-09-26, 01:51 PM
RE: Google SEO 1.8.0 - by thelovelyone - 2016-12-18, 08:00 PM
RE: Google SEO 1.8.0 - by Eldenroot - 2016-12-19, 04:22 PM
RE: Google SEO 1.8.0 - by thelovelyone - 2016-12-23, 01:20 AM
RE: Google SEO 1.8.0 - by Eldenroot - 2016-12-23, 08:39 PM
RE: Google SEO 1.8.0 - by Reggie1234 - 2016-12-24, 09:32 PM
RE: Google SEO 1.8.0 - by Kyoto Mizuko - 2016-12-26, 05:42 PM
RE: Google SEO 1.8.0 - by IranDeliver - 2016-12-28, 05:54 PM
RE: Google SEO 1.8.0 - by IranDeliver - 2017-01-04, 10:34 PM
RE: Google SEO 1.8.0 - by gunrose2003 - 2017-01-20, 01:00 PM
RE: Google SEO 1.8.0 - by .m. - 2017-01-20, 02:37 PM
RE: Google SEO 1.8.0 - by miiniiw - 2017-02-18, 07:40 PM
RE: Google SEO 1.8.0 - by Tactrus - 2017-02-19, 06:37 AM
RE: Google SEO 1.8.1 - by jy76 - 2017-03-05, 01:52 AM
RE: Google SEO 1.8.1 - by canadacommunity - 2017-04-09, 11:22 PM
RE: Google SEO 1.8.1 - by frostschutz - 2017-04-15, 01:09 AM
RE: Google SEO 1.8.1 - by canadacommunity - 2017-04-23, 07:26 PM
RE: Google SEO 1.8.1 - by IranDeliver - 2017-04-19, 08:33 AM
RE: Google SEO 1.8.1 - by frostschutz - 2017-04-19, 09:36 AM
RE: Google SEO 1.8.1 - by IranDeliver - 2017-04-19, 11:35 AM
RE: Google SEO 1.8.1 - by frostschutz - 2017-04-19, 12:30 PM
RE: Google SEO 1.8.1 - by IranDeliver - 2017-04-19, 09:20 PM
RE: Google SEO 1.8.1 - by Smokey - 2017-04-26, 07:46 PM
RE: Google SEO 1.8.1 - by IranDeliver - 2017-05-08, 09:59 AM
RE: Google SEO 1.8.1 - by Ashley1 - 2017-05-27, 03:13 PM
RE: Google SEO 1.8.1 - by frostschutz - 2017-05-27, 04:17 PM
RE: Google SEO 1.8.1 - by Ashley1 - 2017-05-27, 04:32 PM
RE: Google SEO 1.8.1 - by dsimms - 2017-06-28, 08:06 AM
RE: Google SEO 1.8.1 - by frostschutz - 2017-06-28, 10:19 AM
RE: Google SEO 1.8.1 - by Pichorka - 2017-07-04, 07:01 PM
RE: Google SEO 1.8.1 - by frostschutz - 2017-07-05, 04:30 PM
RE: Google SEO 1.8.1 - by Pichorka - 2017-07-06, 02:01 PM
RE: Google SEO 1.8.1 - by masterads1988 - 2017-07-08, 02:51 PM
RE: Google SEO 1.8.1 - by cheryy1546 - 2017-07-21, 04:22 PM
RE: Google SEO 1.8.1 - by frostschutz - 2017-07-21, 05:19 PM
RE: Google SEO 1.8.1 - by cheryy1546 - 2017-07-22, 12:07 AM
RE: Google SEO 1.8.1 - by RahulP - 2017-07-22, 04:44 AM
RE: Google SEO 1.8.1 - by forumtester123 - 2017-08-17, 03:51 PM
RE: Google SEO 1.8.1 - by frostschutz - 2017-08-17, 04:45 PM
RE: Google SEO 1.8.1 - by mybb1 - 2017-08-18, 08:59 PM
RE: Google SEO 1.8.1 - by forumtester123 - 2017-08-28, 04:26 PM
RE: Google SEO 1.8.1 - by forumtester123 - 2017-08-31, 10:38 AM
RE: Google SEO 1.8.1 - by forumtester123 - 2017-09-04, 06:35 PM
RE: Google SEO 1.8.1 - by broatcast - 2017-09-04, 06:37 PM
RE: Google SEO 1.8.1 - by forumtester123 - 2017-09-04, 07:03 PM
RE: Google SEO 1.8.1 - by broatcast - 2017-09-04, 07:23 PM
RE: Google SEO 1.8.1 - by forumtester123 - 2017-09-04, 07:36 PM
RE: Google SEO 1.8.1 - by broatcast - 2017-09-04, 07:39 PM
RE: Google SEO 1.8.1 - by Arka - 2017-09-23, 10:41 AM
RE: Google SEO 1.8.1 - by luudiecthu - 2017-09-24, 07:22 AM
RE: Google SEO 1.8.1 - by vishwap - 2017-09-28, 01:02 AM
RE: Google SEO 1.8.1 - by liamgreen - 2017-09-30, 09:08 PM
RE: Google SEO 1.8.1 - by Nasyr - 2017-09-30, 11:23 PM
RE: Google SEO 1.8.1 - by WallBB - 2017-12-31, 02:42 PM
RE: Google SEO 1.8.2 - by frostschutz - 2018-02-04, 01:16 PM
RE: Google SEO 1.8.2 - by Eldenroot - 2018-02-04, 08:57 PM
RE: Google SEO 1.8.2 - by icode919 - 2018-02-20, 12:43 PM
RE: Google SEO 1.8.2 - by .m. - 2018-02-20, 12:52 PM
RE: Google SEO 1.8.2 - by icode919 - 2018-02-21, 03:36 AM
RE: Google SEO 1.8.2 - by .m. - 2018-02-21, 03:42 AM
RE: Google SEO 1.8.2 - by icode919 - 2018-02-21, 03:51 AM
RE: Google SEO 1.8.2 - by Darkrad - 2018-03-18, 02:26 PM
RE: Google SEO 1.8.2 - by frostschutz - 2018-03-18, 10:27 PM
RE: Google SEO 1.8.2 - by sdc100 - 2018-03-20, 09:12 PM
RE: Google SEO 1.8.2 - by Darkrad - 2018-03-21, 01:36 AM
RE: Google SEO 1.8.2 - by RigPa - 2018-04-15, 07:32 AM
RE: Google SEO 1.8.2 - by Yaba - 2018-05-23, 09:18 PM
RE: Google SEO 1.8.2 - by Marcelino111 - 2018-06-09, 12:24 PM
RE: Google SEO 1.8.2 - by karthik5300 - 2018-06-09, 01:44 PM
RE: Google SEO 1.8.3 - by frostschutz - 2018-09-10, 11:50 AM
RE: Google SEO 1.8.3 - by rfssjz - 2018-09-12, 09:14 PM
RE: Google SEO 1.8.3 - by frostschutz - 2018-09-12, 10:39 PM
RE: Google SEO 1.8.3 - by rfssjz - 2018-09-15, 05:41 AM
RE: Google SEO 1.8.3 - by rfssjz - 2018-09-13, 12:24 AM
RE: Google SEO 1.8.3 - by fsiarazvan - 2018-09-16, 06:52 PM
RE: Google SEO 1.8.3 - by frostschutz - 2018-09-16, 07:11 PM
RE: Google SEO 1.8.3 - by fsiarazvan - 2018-09-16, 07:18 PM
RE: Google SEO 1.8.3 - by suresh - 2018-10-09, 09:23 AM
RE: Google SEO 1.8.3 - by frostschutz - 2018-10-09, 11:03 AM
RE: Google SEO 1.8.3 - by Synx - 2018-11-05, 03:18 PM
RE: Google SEO 1.8.3 - by Dragonisser - 2018-11-18, 11:32 PM
RE: Google SEO 1.8.3 - by TreeHerder - 2018-11-21, 07:36 PM
RE: Google SEO 1.8.3 - by Ashley1 - 2019-02-10, 05:46 AM
RE: Google SEO 1.8.3 - by `KazaN. - 2019-02-27, 09:35 PM
RE: Google SEO 1.8.3 - by frostschutz - 2019-03-01, 09:50 AM
RE: Google SEO 1.8.3 - by jcastro - 2019-03-04, 10:46 PM
RE: Google SEO 1.8.3 - by frostschutz - 2019-03-05, 10:37 AM
RE: Google SEO 1.8.3 - by jcastro - 2019-03-05, 02:45 PM
RE: Google SEO 1.8.3 - by Skyrider - 2019-03-13, 07:56 PM
RE: Google SEO 1.8.3 - by frostschutz - 2019-03-14, 01:02 AM
RE: Google SEO 1.8.3 - by kawaii - 2019-03-14, 09:45 AM
RE: Google SEO 1.8.3 - by Wildcard - 2019-03-26, 10:31 PM
RE: Google SEO 1.8.3 - by frostschutz - 2019-03-27, 12:04 AM
RE: Google SEO 1.8.3 - by Wildcard - 2019-03-27, 10:11 AM
RE: Google SEO 1.8.3 - by mrdangem - 2019-04-17, 01:07 AM
RE: Google SEO 1.8.3 - by canadacommunity - 2019-05-14, 05:36 PM
RE: Google SEO 1.8.3 - by MonsterMMORPG - 2019-06-25, 07:20 PM
RE: Google SEO 1.8.3 - by frostschutz - 2019-06-25, 07:28 PM
RE: Google SEO 1.8.3 - by MonsterMMORPG - 2019-06-25, 07:32 PM
RE: Google SEO 1.8.3 - by Flexibule - 2019-06-28, 03:14 PM
RE: Google SEO 1.8.3 - by frostschutz - 2019-06-28, 03:51 PM
RE: Google SEO 1.8.3 - by Flexibule - 2019-07-01, 11:31 AM
RE: Google SEO 1.8.3 - by Serpius - 2019-07-01, 11:50 AM
RE: Google SEO 1.8.3 - by Flexibule - 2019-07-01, 11:55 AM
RE: Google SEO 1.8.3 - by frostschutz - 2019-07-01, 01:13 PM
RE: Google SEO 1.8.3 - by Flexibule - 2019-07-01, 02:40 PM
RE: Google SEO 1.8.3 - by Serpius - 2019-07-01, 03:26 PM
RE: Google SEO 1.8.3 - by codedude - 2019-07-01, 06:57 PM
RE: Google SEO 1.8.3 - by frostschutz - 2019-07-01, 10:04 PM
RE: Google SEO 1.8.3 - by makpaolo - 2019-08-09, 02:40 AM
RE: Google SEO 1.8.3 - by frostschutz - 2019-08-09, 07:28 AM
RE: Google SEO 1.8.3 - by makpaolo - 2019-09-02, 05:11 AM
RE: Google SEO 1.8.3 - by frostschutz - 2019-09-02, 05:57 AM
RE: Google SEO 1.8.3 - by M4K3R - 2019-12-03, 02:43 PM
RE: Google SEO 1.8.3 - by mll - 2019-12-05, 09:29 PM
RE: Google SEO 1.8.3 - by frostschutz - 2019-12-06, 02:09 PM
RE: Google SEO 1.8.3 - by boogieboa - 2020-03-26, 09:47 PM
RE: Google SEO 1.8.3 - by .m. - 2020-03-27, 02:13 AM
RE: Google SEO 1.8.3 - by onebenet - 2020-05-04, 12:03 AM
RE: Google SEO 1.8.3 - by .m. - 2020-05-04, 04:18 AM
RE: Google SEO 1.8.3 - by onebenet - 2020-05-04, 02:21 PM
RE: Google SEO 1.8.3 - by .m. - 2020-05-04, 02:41 PM
RE: Google SEO 1.8.3 - by onebenet - 2020-05-04, 05:34 PM
RE: Google SEO 1.8.3 - by Xalysis - 2020-05-08, 03:39 PM
RE: Google SEO 1.8.3 - by canadacommunity - 2020-05-08, 04:06 PM
RE: Google SEO 1.8.3 - by Xalysis - 2020-05-08, 04:53 PM
RE: Google SEO 1.8.3 - by canadacommunity - 2020-05-08, 07:24 PM
RE: Google SEO 1.8.3 - by frostschutz - 2020-05-08, 07:22 PM
RE: Google SEO 1.8.3 - by mottl - 2020-06-01, 01:23 PM
RE: Google SEO 1.8.3 - by aj30 - 2020-07-13, 04:43 PM
RE: Google SEO 1.8.3 - by frostschutz - 2020-07-14, 07:51 PM
RE: Google SEO 1.8.4 - by frostschutz - 2020-08-09, 12:20 PM
RE: Google SEO 1.8.4 - by Vita Es Morte - 2021-01-07, 01:10 PM
RE: Google SEO 1.8.4 - by vk_knight - 2021-01-10, 01:58 PM
RE: Google SEO 1.8.4 - by clubdarknet - 2021-01-24, 04:00 AM
RE: Google SEO 1.8.4 - by frostschutz - 2021-01-26, 06:48 PM
RE: Google SEO 1.8.4 - by suryadewa - 2021-01-26, 05:30 PM
RE: Google SEO 1.8.4 - by Waleed B. - 2021-02-06, 03:52 AM
RE: Google SEO 1.8.4 - by frostschutz - 2021-02-06, 08:16 AM
RE: Google SEO 1.8.4 - by Waleed B. - 2021-02-18, 04:48 AM
RE: Google SEO 1.8.4 - by Omar G. - 2021-03-04, 10:58 PM
RE: Google SEO 1.8.4 - by frostschutz - 2021-03-05, 08:18 AM
RE: Google SEO 1.8.4 - by frostschutz - 2021-03-04, 11:15 PM
RE: Google SEO 1.8.4 - by dragonexpert - 2021-03-05, 12:51 AM
RE: Google SEO 1.8.4 - by Omar G. - 2021-04-20, 06:20 PM
RE: Google SEO 1.8.4 - by IAV - 2021-06-17, 01:52 PM
RE: Google SEO 1.8.4 - by canadacommunity - 2021-06-18, 05:19 AM
RE: Google SEO 1.8.4 - by IAV - 2021-06-19, 12:06 AM
RE: Google SEO 1.8.4 - by CPAhero - 2021-07-14, 03:43 PM
RE: Google SEO 1.8.4 - by Crazycat - 2021-07-14, 04:31 PM
RE: Google SEO 1.8.4 - by CPAhero - 2021-07-14, 04:36 PM
RE: Google SEO 1.8.4 - by Crazycat - 2021-07-14, 06:26 PM
RE: Google SEO 1.8.4 - by CPAhero - 2021-07-14, 08:18 PM
RE: Google SEO 1.8.4 - by Crazycat - 2021-07-14, 10:09 PM
RE: Google SEO 1.8.4 - by CPAhero - 2021-07-14, 10:53 PM
RE: Google SEO 1.8.4 - by The pwince - 2021-07-21, 04:35 AM
RE: Google SEO 1.8.4 - by Wanda1985 - 2021-08-11, 08:44 AM
RE: Google SEO 1.8.4 - by Wanda1985 - 2021-08-14, 09:25 AM
RE: Google SEO 1.8.4 - by frostschutz - 2021-08-14, 11:24 AM
RE: Google SEO 1.8.4 - by Wanda1985 - 2021-08-18, 02:54 AM
RE: Google SEO 1.8.4 - by frostschutz - 2021-08-18, 07:20 AM
RE: Google SEO 1.8.4 - by PARADOXP - 2021-08-19, 05:41 AM
RE: Google SEO 1.8.4 - by Wanda1985 - 2021-08-19, 03:56 AM
RE: Google SEO 1.8.4 - by frostschutz - 2021-08-19, 05:22 AM
RE: Google SEO 1.8.4 - by frostschutz - 2021-08-19, 07:16 AM
RE: Google SEO 1.8.4 - by Wanda1985 - 2021-08-19, 09:29 AM
RE: Google SEO 1.8.4 - by frostschutz - 2021-08-19, 09:35 AM
RE: Google SEO 1.8.4 - by techinbermudas - 2021-09-20, 02:53 AM
RE: Google SEO 1.8.4 - by MangaD - 2021-12-22, 06:04 PM
RE: Google SEO 1.8.4 - by frostschutz - 2021-12-22, 06:58 PM
RE: Google SEO 1.8.4 - by mybb-user-2022 - 2022-01-15, 03:29 AM
RE: Google SEO 1.8.4 - by frostschutz - 2022-01-15, 09:22 AM
RE: Google SEO 1.8.4 - by mybb-user-2022 - 2022-01-15, 09:28 AM
RE: Google SEO 1.8.4 - by frostschutz - 2022-01-15, 09:44 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)