Problem po wgraniu Google Seo

Błąd   Założony przez  TheKubski.

wersja skryptu MyBB: 1.8.7
adres forum: http://polscy-youtuberzy.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Flatty
Wgrałem Google Seo wg tego poradnika: https://www.youtube.com/watch?v=GCMZnf2_jDs i mam taki oto błąd

   

Wydaję mi się, że coś zawaliłem w .htaccess oto one:
Options -MultiViews +FollowSymlinks -Indexes

#
# If mod_security is enabled, attempt to disable it.
# - Note, this will work on the majority of hosts but on
#   MediaTemple, it is known to cause random Internal Server
#   errors. For MediaTemple, please remove the block below
#
<IfModule mod_security.c>
    # Turn off mod_security filtering.
    SecFilterEngine Off

    # The below probably isn't needed, but better safe than sorry.
    SecFilterScanPOST Off
</IfModule>

#
# MyBB "search engine friendly" URL rewrites
# - Note, for these to work with MyBB please make sure you have
#   the setting enabled in the Admin CP and you have this file
#   named .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://polscy-youtuberzy.pl/$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]

# Google SEO URL Forums:
RewriteRule ^Forum\-([^./]+)$ forumdisplay.php?google_seo_forum=$1 [L,QSA,NC]

# Google SEO URL Threads:
RewriteRule ^Wątek\-([^./]+)$ showthread.php?google_seo_thread=$1 [L,QSA,NC]

# Google SEO URL Announcements:
RewriteRule ^Ogłoszenie\-([^./]+)$ announcements.php?google_seo_announcement=$1 [L,QSA,NC]

# Google SEO URL Users:
RewriteRule ^Użytkownik\-([^./]+)$ member.php?action=profile&google_seo_user=$1 [L,QSA,NC]

# Google SEO URL Calendars:
RewriteRule ^Kalendarz\-([^./]+)$ calendar.php?google_seo_calendar=$1 [L,QSA,NC]

# Google SEO URL Events:
RewriteRule ^Wydarzenie\-([^./]+)$ calendar.php?action=event&google_seo_event=$1 [L,QSA,NC]

#
# If Apache is compiled with built in mod_deflade/GZIP support
# then GZIP Javascript, CSS, HTML and XML so they're sent to
# the client faster.
#
<IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE application/javascript text/css text/html text/xml
</IfModule>

# Note: You are able to choose a different name in the Admin CP. If you've done that you need to change it here too
<Files "error.log">
    Order Deny,Allow
    Deny from all
</Files>
Po ustawieniu pluginu w ustawieniach, w zakładce pluginy znajdziesz swój plugin a w jego opisie, będzie zawartość, którą wkleisz do .htacces

Ja mam tak ustawiony:

#
# MyBB "search engine friendly" URL rewrites
# - Note, for these to work with MyBB please make sure you have
#   the setting enabled in the Admin CP and you have this file
#   named .htaccess
#
<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule ^dzial-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
    RewriteRule ^dzial-([0-9]+)-strona-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]

    RewriteRule ^watek-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
    RewriteRule ^watek-([0-9]+)-strona-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
    RewriteRule ^watek-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
    RewriteRule ^watek-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
    RewriteRule ^watek-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
    RewriteRule ^watek-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
    RewriteRule ^watek-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]

    RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]

    RewriteRule ^ogloszenie-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]

    RewriteRule ^uzytkownik-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]

    RewriteRule ^kalendarz-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
    RewriteRule ^kalendarz-([0-9]+)-rok-([0-9]+)-miesiac-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
    RewriteRule ^kalendarz-([0-9]+)-rok-([0-9]+)-miesiac-([0-9]+)-dzien-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]
    RewriteRule ^kalendarz-([0-9]+)-rok-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]

    RewriteRule ^wydarzenie-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]

    <IfModule mod_env.c>
        SetEnv SEO_SUPPORT 1
    </IfModule>
</IfModule>
Cytat:w pół dnia stałeś się lepszym pytonistą niż kawenanowo kiedykolwiek programisto :3 ~ Riess 13.11.2018 16:28
Cytat:ale z tą nazwą to fyeem ma racje  ~ Divir 29.07.2019 16:08
(03.04.2016, 18:50)Fyeem napisał(a): Po ustawieniu pluginu w ustawieniach, w zakładce pluginy znajdziesz swój plugin a w jego opisie, będzie zawartość, którą wkleisz do .htacces

Ja mam tak ustawiony:

#
# MyBB "search engine friendly" URL rewrites
# - Note, for these to work with MyBB please make sure you have
#   the setting enabled in the Admin CP and you have this file
#   named .htaccess
#
<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule ^dzial-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
    RewriteRule ^dzial-([0-9]+)-strona-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]

    RewriteRule ^watek-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
    RewriteRule ^watek-([0-9]+)-strona-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
    RewriteRule ^watek-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
    RewriteRule ^watek-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
    RewriteRule ^watek-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
    RewriteRule ^watek-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
    RewriteRule ^watek-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]

    RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]

    RewriteRule ^ogloszenie-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]

    RewriteRule ^uzytkownik-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]

    RewriteRule ^kalendarz-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
    RewriteRule ^kalendarz-([0-9]+)-rok-([0-9]+)-miesiac-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
    RewriteRule ^kalendarz-([0-9]+)-rok-([0-9]+)-miesiac-([0-9]+)-dzien-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]
    RewriteRule ^kalendarz-([0-9]+)-rok-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]

    RewriteRule ^wydarzenie-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]

    <IfModule mod_env.c>
        SetEnv SEO_SUPPORT 1
    </IfModule>
</IfModule>  

Zrobiłem tak - Niestety dalej mam problem. Możesz mi podać twoją wersję Seo i skąd pobrałeś PluginLibrary?
http://mods.mybb.com/view/pluginlibrary

http://mods.mybb.com/view/google-seo

Czyli ustawiłeś w ustawieniach najpierw a potem skopiowałeś do .htacces?
Cytat:w pół dnia stałeś się lepszym pytonistą niż kawenanowo kiedykolwiek programisto :3 ~ Riess 13.11.2018 16:28
Cytat:ale z tą nazwą to fyeem ma racje  ~ Divir 29.07.2019 16:08
(03.04.2016, 19:26)Fyeem napisał(a): http://mods.mybb.com/view/google-seo
Ta wersja nie jest kontatybilna z mybb 1.8

Polecal bym wgranie juz tej wersji
https://github.com/frostschutz/MyBB-Google-SEO
W załączniku, daję ci przykładową konfigurację, .htacces już masz wyżej. Spróbuj.


Załączone pliki
  mybb.zip (Rozmiar: 260,71 KB / Pobrań: 176)
Cytat:w pół dnia stałeś się lepszym pytonistą niż kawenanowo kiedykolwiek programisto :3 ~ Riess 13.11.2018 16:28
Cytat:ale z tą nazwą to fyeem ma racje  ~ Divir 29.07.2019 16:08
(03.04.2016, 19:27)Szogi1910 napisał(a):
(03.04.2016, 19:26)Fyeem napisał(a): http://mods.mybb.com/view/google-seo
Ta wersja nie jest kontatybilna z mybb 1.8

Polecal bym wgranie juz tej wersji
https://github.com/frostschutz/MyBB-Google-SEO


Właśnie tą z githuba wgrałem.

Spróbuję jeszcze coś w ustawieniach pokombinować bo ten poradnik co oglądałem był sprzed 3 lat.
Jednak faktycznie, mam te wersje

https://github.com/frostschutz/MyBB-PluginLibrary
https://github.com/frostschutz/MyBB-Google-SEO
Cytat:w pół dnia stałeś się lepszym pytonistą niż kawenanowo kiedykolwiek programisto :3 ~ Riess 13.11.2018 16:28
Cytat:ale z tą nazwą to fyeem ma racje  ~ Divir 29.07.2019 16:08
Dobra, chyba będę musiał zrobić wszystko od początku bo trochę się pomieszało mi już. Znacie jakiś ogarnięty poradnik do instalacji i konfiguracji google seo na MyBB?
Spróbuj zrobić to tak, jak ja mam: https://webboard.pl/thread-66638.html?pi...#pid283428

a do .htacces wpiszesz
#
# MyBB "search engine friendly" URL rewrites
# - Note, for these to work with MyBB please make sure you have
#   the setting enabled in the Admin CP and you have this file
#   named .htaccess
#
<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule ^dzial-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
    RewriteRule ^dzial-([0-9]+)-strona-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]

    RewriteRule ^watek-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
    RewriteRule ^watek-([0-9]+)-strona-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
    RewriteRule ^watek-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
    RewriteRule ^watek-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
    RewriteRule ^watek-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
    RewriteRule ^watek-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
    RewriteRule ^watek-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]

    RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]

    RewriteRule ^ogloszenie-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]

    RewriteRule ^uzytkownik-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]

    RewriteRule ^kalendarz-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
    RewriteRule ^kalendarz-([0-9]+)-rok-([0-9]+)-miesiac-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
    RewriteRule ^kalendarz-([0-9]+)-rok-([0-9]+)-miesiac-([0-9]+)-dzien-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]
    RewriteRule ^kalendarz-([0-9]+)-rok-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]

    RewriteRule ^wydarzenie-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]

    <IfModule mod_env.c>
        SetEnv SEO_SUPPORT 1
    </IfModule>
</IfModule>
Cytat:w pół dnia stałeś się lepszym pytonistą niż kawenanowo kiedykolwiek programisto :3 ~ Riess 13.11.2018 16:28
Cytat:ale z tą nazwą to fyeem ma racje  ~ Divir 29.07.2019 16:08
(03.04.2016, 19:48)Fyeem napisał(a): Spróbuj zrobić to tak, jak ja mam: https://webboard.pl/thread-66638.html?pi...#pid283428

a do .htacces wpiszesz
#
# MyBB "search engine friendly" URL rewrites
# - Note, for these to work with MyBB please make sure you have
#   the setting enabled in the Admin CP and you have this file
#   named .htaccess
#
<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteRule ^dzial-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
   RewriteRule ^dzial-([0-9]+)-strona-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]

   RewriteRule ^watek-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
   RewriteRule ^watek-([0-9]+)-strona-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
   RewriteRule ^watek-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
   RewriteRule ^watek-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
   RewriteRule ^watek-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
   RewriteRule ^watek-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
   RewriteRule ^watek-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]

   RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]

   RewriteRule ^ogloszenie-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]

   RewriteRule ^uzytkownik-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]

   RewriteRule ^kalendarz-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
   RewriteRule ^kalendarz-([0-9]+)-rok-([0-9]+)-miesiac-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
   RewriteRule ^kalendarz-([0-9]+)-rok-([0-9]+)-miesiac-([0-9]+)-dzien-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]
   RewriteRule ^kalendarz-([0-9]+)-rok-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]

   RewriteRule ^wydarzenie-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]

   <IfModule mod_env.c>
       SetEnv SEO_SUPPORT 1
   </IfModule>
</IfModule>

Ok później spróbuję i dam znać. A to nie jest tak, że każdy ma unikalny kod w htaccess?

Dalej nic nie pomogło. Ale może nie do tego htaccess daję co trzeba bo mam w ftp htaccess.nginx.txt, htaccess.txt i htaccess.example.txt
Mój kuzyn, twórca Misago powiedział że muszę się dowiedzieć przed wgraniem Seo czy ktoś z zewnątrz linkuje do mojego forum. Czy to może być przczyną problemu?
No jest tak, ale jak ustawisz po mojemu, to może ci działać.
To co masz wkleić po ustawieniu wg ssów znajdziesz w zakładce pluginy. Masz to wkleić do .htacces (bez nginx czy example)
Cytat:w pół dnia stałeś się lepszym pytonistą niż kawenanowo kiedykolwiek programisto :3 ~ Riess 13.11.2018 16:28
Cytat:ale z tą nazwą to fyeem ma racje  ~ Divir 29.07.2019 16:08
kuzyn mi polecił dać zamiast .htaccess - htaccess i teraz wygląda to tak:


   
Kuzyna odeślij do podstawówki i zapomnij o jego radach.
W pluginie jest jasno napisane - wygenerowaną zawartość wkleić do pliku .htaccess

Fragment z dokumentacji - twojeforum.domena/inc/plugins/google_seo.html

Cytat:SEO URLs do not work

If the SEO URLs do not appear (links are not changed), then you have either not enabled the URL settings properly, or you did not apply the necessary changes to core files. Check your Plugin Status.

If the SEO URLs appear but give you errors like thread not found, thread does not exist, etc., then your Rewrite Rules do not work for some reason. Check that you have edited the .htaccess (not htaccess.txt!) correctly. Some hosts need a RewriteBase, others do not. If you are using a custom SEO URL Scheme, make sure this scheme does not have any conflicts.
"Try not. Do... or do not. There is no try."
Poświęć 5 minut. Nie bądź ignorantem!  -  Jak zbadać element?



Użytkownicy przeglądający ten wątek:

1 gości