Hi geea,
Currently, when you delete an error log, related custom redirect will also be deleted and it will be redirected to the default redirect page. I am working on a feature to keep custom redirects after deleting error logs.
Please note: Automatic log clearing is not part of the base 404 to 301 plugin. It is available in Error Log Manager add-on. That documentation is for the add-on.
Thread Starter
geea
(@geea)
Hey Joel!
Thank you for the clarifications. I look forward to the option of keeping the redirects after deleting the logs, otherwise the custom redirects will quickly become unusable. Even something semi-manual will do, like exporting and pasting them into .htaccess or functions.php
Sure! Will update you once it is available.
Hi @geea
I have a new version ready to be published. Can you help me to test it? Please find the new version here.
Thread Starter
geea
(@geea)
Hey Joel,
Thanks for the update. I activated the new version but got these errors and a failed install.
Warning: include_once(/wp-content/plugins/404-to-301-master/includes/admin/class-jj4t3-reviews.php): failed to open stream: No such file or directory in /wp-content/plugins/404-to-301-master/includes/class-jj-404-to-301.php on line 104
Warning: include_once(): Failed opening '/wp-content/plugins/404-to-301-master/includes/admin/class-jj4t3-reviews.php' for inclusion (include_path='.:/usr/local/php5_4/lib/php') in /wp-content/plugins/404-to-301-master/includes/class-jj-404-to-301.php on line 104
Fatal error: Can't use function return value in write context in /wp-content/plugins/404-to-301-master/includes/admin/class-jj4t3-log-listing.php on line 621
Sorry. I missed to merge the master branch. Please download the latest branch now and try.
Thread Starter
geea
(@geea)
The warnings are gone but the fatal error remains.
Is 404 to 301 plugin active already? (Old one)
Thread Starter
geea
(@geea)
No, I deactivated the old one before activating the new one.
Which version of PHP you are on?
That is where the issue is. WordPress recommend PHP version 5.6 or above.
Anyway, not worries. I have fixed this Fatal issue. Please download the latest update from GitHub now and try.
-
This reply was modified 8 years, 5 months ago by
Joel James.
Thread Starter
geea
(@geea)
Unfortunately that’s the client’s site and hosting and can’t change anything about it.
There’s another error now
Parse error: syntax error, unexpected '=', expecting ')' in /wp-content/plugins/404-to-301-master/includes/admin/class-jj4t3-log-listing.php on line 893
Oops! Give me 45 mins. Don’t have access to my machine right now.
Done. These are working with PHP 5.6 or above.