Giter Site home page Giter Site logo

yeswework / fabrica-evergreen-web Goto Github PK

View Code? Open in Web Editor NEW
11.0 4.0 2.0 10 KB

WordPress implementation of the 404 → 307 'evergreen web' technique developed by Aral Balkan.

Home Page: https://4042307.org/

PHP 100.00%
wordpress wordpress-plugin 404 404-errors 404-pages 404-page redirect redirects redirection redirect-urls

fabrica-evergreen-web's People

Contributors

aral avatar tiojoca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fabrica-evergreen-web's Issues

Change redirect method from 302 to 307

Hi folks,

Thanks again for making this Wordpress plugin.

I’m just upgrading the evergreen web technique to use redirect code 307 instead of 302.

307 is the correct code to use for this use case it is unambiguous about how requests should be forwarded. With a temporary 307 redirect, the HTTP method is not changed (whereas many browsers interpret 302 as a 303, which changes the method to GET).

I’ve prepared a pull request that should make the necessary changes for you but I would appreciate it if could test it out before merging to make sure it works (I don’t have a Wordpress install handy to test with myself).

I’m planning on hopefully launching the new site (https://4042307.org) tomorrow and would love to include your version of this plugin on it :)

sleep() must have public visibility

Hi there,

I've been using this plugin for some months, and it works fine (thanks!).

Lately (I wonder if it is related to upgrading from PHP7.4 to PHP8.2) I'm getting this messages in the logs:

PHP message: PHP Warning: The magic method Fabrica\EvergreenWeb\Singleton::__sleep() must have public visibility in /wp-content/plugins/fabrica-evergreen-web/inc/singleton.php on line 25; PHP message: PHP Warning: The magic method Fabrica\EvergreenWeb\Singleton::__wakeup() must have public visibility in /wp-content/plugins/fabrica-evergreen-web/inc/singleton.php on line 28

They seem to be triggered when someone visits a working post (I mean, a post that should not be redirected). But just sometimes, like 3 or 4 times a day. I can't identify the exact reason of the trigger.

Besides that, the plugin keeps working correctly.

Please, let me know if you need me to make tests.

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.