Skocz do zawartości
PL
Szukaj na Pecetowiczu
  • Utwórz konto

Jak usunąć polskie znaki diakrytyczne z URL w pluginie Google SEO URL


Przejdź do rekomendacji Rozwiązane przez Tomik,
Rekomendowane odpowiedzi

Jak usunąć polskie znaki diakrytyczne z adresów stronki w pluginie Google SEO for MyBB, ą aby było a, ż => z, ł => l itp.  

To trzeba zmienić w tym: Google SEO URL Tłumaczenie znaków i usunąć to:

Ł=L
ó=o
Ó=O
ą=a
Ą=A
ś=s
Ś=S
ć=c
Ć=c
ę=e
Ę=E
ź=z
Ź=Z
ż=z
Ż=Z
ń=n
Ń=N
Odnośnik do komentarza
Udostępnij na innych stronach

  • Rekomendowana odpowiedź

Tak, dokładnie w tym miejscu.

Google SEO URL --> Character Translation

Dla przykładu niemieckie umlauty:

Ä = Ae
Ö = Oe
Ü = Ue
ä = ae
ö = oe
ü = ue
ß = ss

Wszystko jest opisane w dokumentacji pluginu w google_seo.html w zakładce Character Translation.

Niżej zawartość:

Cytat

Please note that translation of characters is not required (browsers and Google handle them just fine), and it causes additional CPU cost.

You can do character translation in URLs if you so desire. In the textbox of the character translation setting, specify one character per line and its replacement, separated by =.

For example the following would replace German umlauts with their most commonly used ASCII counterparts:

Ä = Ae Ö = Oe Ü = Ue ä = ae ö = oe ü = ue ß = ss

With this character translation setting, Thread-Übergrößenträger would appear as Thread-Uebergroessentraeger instead.

Note

Google SEO Legacy used a separate translate.php file instead. This file is not used anymore. The translations have to be specified in the setting.

Odnośnik do komentarza
Udostępnij na innych stronach

Spoko. ☺️ 

Usunąłem to, i dalej  są „ą”,  „ę”, „ ż” O co chodzi ? 

Odnośnik do komentarza
Udostępnij na innych stronach

I co, nie wiecie ? 

Odnośnik do komentarza
Udostępnij na innych stronach

(edytowane)

Zastosowałeś to dla małej jak i wielkiej litery?

//Edit.

Przykład autora mówi, że ma być:

Ą = A
ą = a

A jak masz tak jak niżej to może nie odczytuje poprawnie:

Ą=A
ą=a
Edytowane przez Tomasz
Odnośnik do komentarza
Udostępnij na innych stronach

Schemat linku tematu --> Wątek-{url}  -->  Temat-{url}

Odnośnik do komentarza
Udostępnij na innych stronach

Kontynuuj dyskusję

Dołącz do Pecetowicza, aby kontynuować dyskusję w tym wątku.

  • Dodaj nową pozycję...
  • Dodaj nową pozycję...