Find Answers and Get Support › Forums › Gwangi – PRO Multi-Purpose Membership, Social Network & BuddyPress Community Theme › Website Setup › Homepage › 404 Permalink issue resolved – I found the cause!
So, after a long fight against the 404 permalink issue that will magically rewrite 50% of all permalinks on the site, I have finally found what is causing the issue. It seems Gwangi still don’t know what the reason is, hopefully you guys can have a look at this, because it seems to me (I’m not sure though), that the way the theme is written this could be avoided.
Wordpress uses a WordPress Scheduler system that in the background will update their own system. This includes, for some reason, rewriting some permalinks or the way they are written, I’m not sure why though. But if you change the following code inside the wp-config.php file to ‘true’ the permalink 404 issue will stop.
This however also means that it is not possible for WordPress to automatically update your site and it also means that it is not possible to create automated backups.
So, hopefully Gwangi could have a look at this because it is a major issue, and in my opinion flaw, in all Gwangi templates.January 21, 2022 at 13:02 #38258
Thank you very much for your detailed feedback.
Note that these issues with the permalinks are often caused by a third party plugin (TEC, WooCommerce, ect.). In none of our themes or plugins we do anything with permalinks, so we can confirm 100% that this issue is not on our side. There are often permalinks when there are custom post types (like products in WC or events in TEC).
It is important that you know that if you remove the cron from WP, there will be potentially important issues with the management of some plugins. Moreover, since you have a lot of plugins on your site, it is very risky because there is a big chance that at least one plugin uses cron.
As a reminder, crons are actions that can be “launched” automatically according to certain conditions and plan recurring actions. Example : WC that runs through all the products to check the stock.
This type of issue often occurs after an update of a big plugin like TEC or WPML. In principle, to correct this issue, you just have to regenerate these permalinks.
Hope this will help you. If you have further questions or requests, feel free to create other forum topics.
Best,January 24, 2022 at 10:27 #38295
Ok, but you talk in a way that the permalink issue is acceptable. It is not acceptable that 50% of the links on a website turn into a 404 error page. Even if it is for 1 second.
BP Better Messages advises to disable the cron feature, since it will improve the speed of the private messaging and the speed of the overall website. It does create some security issues though because some updates regarding this might not be installed.
We have a cron feature on our server that updates the website in the night when there are not a lot of people online.
In my opinion it is better to have a small security risk than to have major 404 errors every week or two.
Can you confirm that every site that experiences these issues uses a WPML plugin?January 24, 2022 at 12:37 #38301
Of course, you free to make your choice. 🙂
We don’t say it is an acceptable issue, but we can tell you that it is a known issue that is out of reach of us. We can’t tell you which plugin is causing this, just which kind of plugin might be related to this issue.
I’m sorry we can’t help you further René.
Sincerely,January 25, 2022 at 08:55 #38317
This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!
The Themosaurus team.
The topic ‘404 Permalink issue resolved – I found the cause!’ is closed to new replies.