Git Product home page Git Product logo

swiss-mac-user / language-locale-overwrite Goto Github PK

View Code? Open in Web Editor NEW
8.0 4.0 1.0 24 KB

This lightweight SEO plugin for WordPress allows overwriting the HTML lang attribute, including on individual Posts and Pages. And adds easy-to-use Alternate Hreflang tags.

Home Page: https://swissmacuser.ch/wordpress-html-lang-locale-overwrite-plugin/

License: MIT License

PHP 100.00%
accessibility seo-optimization wordpress wordpress-plugin internationalization multilanguage-support

language-locale-overwrite's People

Contributors

oliveratgithub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

abhranil26

language-locale-overwrite's Issues

PHP errors in logs

the extension seems to be working properly but I am getting a lot of these:

[Mon Jan 22 21:21:41.856996 2024] [proxy_fcgi:error] [pid 3288866:tid 140294546646592] [remote :::::::] AH01071: Got error 'PHP message: PHP Warning:  Undefined array key "alternate_lang_posts" in /var/www2/wordpress/wp-content/plugins/language-locale-overwrite/language-locale-overwrite.php on line 333PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /var/www2/wordpress/wp-content/plugins/language-locale-overwrite/language-locale-overwrite.php on line 333PHP message: PHP Warning:  Undefined variable $alternate_lang_post_ids in /var/www2/wordpress/wp-content/plugins/language-locale-overwrite/language-locale-overwrite.php on line 339', referer: https://ether.lricountry.com/wp-admin/post.php?post=481&action=edit

[Mon Jan 22 21:23:01.382245 2024] [proxy_fcgi:error] [pid 3288867:tid 140294588610112] [remote :::::::] AH01071: Got error 'PHP message: PHP Warning:  Undefined array key "alternate_lang_posts" in /var/www2/wordpress/wp-content/plugins/language-locale-overwrite/language-locale-overwrite.php on line 333PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /var/www2/wordpress/wp-content/plugins/language-locale-overwrite/language-locale-overwrite.php on line 333PHP message: PHP Warning:  Undefined variable $alternate_lang_post_ids in /var/www2/wordpress/wp-content/plugins/language-locale-overwrite/language-locale-overwrite.php on line 339', referer: https://ether.lricountry.com/wp-admin/post.php?post=481&action=edit

[Mon Jan 22 23:12:44.604467 2024] [proxy_fcgi:error] [pid 3303209:tid 140098091914816] [remote :::::::] AH01071: Got error 'PHP message: PHP Warning:  Undefined variable $alternate_lang_post_ids in /var/www2/wordpress/wp-content/plugins/language-locale-overwrite/language-locale-overwrite.php on line 339', referer: https://ether.lricountry.com/wp-admin/post.php?post=1026&action=edit

[Mon Jan 22 23:13:46.952987 2024] [proxy_fcgi:error] [pid 3303210:tid 140098041558592] [remote :::::::] AH01071: Got error 'PHP message: PHP Warning:  Undefined variable $alternate_lang_post_ids in /var/www2/wordpress/wp-content/plugins/language-locale-overwrite/language-locale-overwrite.php on line 339', referer: https://ether.lricountry.com/wp-admin/post.php?post=1026&action=edit

Ubuntu 22.04.3 LTS
Apache 2.4.52
PHP 8.1.2
Wordpress 6.4.2

It is not really working

Hi i am quite in the field of Wordpress.
I found your plug in which is very interesting to me.

I only find a php file to download . Which if I move it to the plugin folder is not shown in the dashboard.

I i convert the php into Zip with a converter. The website sends me the following message:

Hallo!

WordPress hat eine eingebaute Funktion, die erkennt, wenn ein Plugin oder ein Theme einen fatalen Fehler auf deiner Website verursacht, und dich deswegen mit dieser automatisierten E-Mail benachrichtigt.

....
What do you think, do I make mistake?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.