enable-mastodon-apps icon indicating copy to clipboard operation
enable-mastodon-apps copied to clipboard

all links not working after update

Open maninthemiddle01 opened this issue 7 months ago • 12 comments

After updating ActivityPub, all website links returned "page not found" errors. It is similar to this issue: all links not working after update #1393 . So actually every time one of the activitypub plugins gets an update I have to manually update the permalinks, else the subpages of my site don't work. I understand, it is actually an issue of the Falang Plugin, but maybe there is also a workaround of the ActivityPub Plugins, because it only effects those and not other plugins.

Other effected app is: Friend Plugin issue #509

It would be really nice if this could be fixed :)

maninthemiddle01 avatar Apr 25 '25 11:04 maninthemiddle01

Honestly I am at a loss what seems to be happening. Could you explain what you do when you "update the permalinks"?

akirk avatar Apr 25 '25 11:04 akirk

ok, this is the procedure

  1. In WordPress interface click on "Settings" in the left panel -> "Permalinks"
  2. Without changing any setting click on save changes

This somehow fixes the issue all the time.

maninthemiddle01 avatar Apr 25 '25 11:04 maninthemiddle01

Ok understood, thank you! To my knowledge this resets the rewrite cache. Which permalink schema are you using?

akirk avatar Apr 25 '25 11:04 akirk

it is the %postname% scheme

maninthemiddle01 avatar Apr 25 '25 12:04 maninthemiddle01

The "fix" broke the whole rewrite registering, so I had to revert it.

akirk avatar May 09 '25 03:05 akirk

Oh no, thank you very much for doing this. Unfortunately the error occurred also on both updates (the one yesterday and the one today), so there might be another glitch in the pipeline. Thanks again for investigating

maninthemiddle01 avatar May 09 '25 08:05 maninthemiddle01

Unfortunately I cannot reproduce it, even if I set the permalink format to page name. Do you have any other plugins that do something with urls?

akirk avatar May 09 '25 08:05 akirk

It could be also Hum, Site Editor Classic Features, WP Mail SMTP. I'll deactivate them and see... I thought because after disabling falang and it worked, it should be this plugin.

maninthemiddle01 avatar May 09 '25 10:05 maninthemiddle01

So currently you have falang disabled?

akirk avatar May 09 '25 12:05 akirk

Would you be willing to try a beta version to see if my tries to fix it change anything? You would need to download a zip file, extract it, rename the resulting folder to enable-mastodon-apps and replace the enable-mastodon-apps in your WordPress install. This would be the ZIP file: https://codeload.github.com/akirk/enable-mastodon-apps/zip/refs/heads/try-change-rewrite-rule-loading, it should install a special 1.4.6.1 for you.

akirk avatar May 09 '25 15:05 akirk

Sure, but sry, you mean with or without activated falang plugin? Currently it's activated

maninthemiddle01 avatar May 09 '25 21:05 maninthemiddle01

I replaced the folder with activated Falang-plugin and I did not had to refresh the permalinks manually.

maninthemiddle01 avatar May 11 '25 13:05 maninthemiddle01