Hello, how can I change all of the “2022” subject headings (urls) available on my site to 2023?
burakcnnar Are you referring to the discussion titles?
luceos yes
update discussions set title = replace(title, '2022', '2023'); update discussions set slug = replace(slug, '2022', '2023');
I have not tested this, so make a backup before running this on your database.
luceos does the url also change in google searches?
burakcnnar if you remove the second line about the slug, then no. But understand that Flarum only really cares about the ID before the slug. It's up to you.
luceos so is there a plugin that allows you to automatically open the same topics again?
burakcnnar it's built in flarum behaviour, even without the text or wrong slug if discussion URL has the ID (number) it will work without any issues
Example: https://discuss.flarum.org/d/31080-ulalalelo