Hi,
I've changed the permalink structure to mysite.com/sample-post/ & I generate the redirects.
But now 4 of my pages are open as 404 Page of my Forum.
topzalozi.com/forum-prognozi-visoka-uspevaemost/
topzalozi.com/foruma-totnam-titlata/
topzalozi.com/foruma-pobeda-barselona-gola/
topzalozi.com/foruma-real-hetafe/
I note that all 4 pages start with the word "forum". And this is the word that I use as a slug for my forum ( topzalozi.com/forum/ ).
How can I fix this problem?
Hi @envi,
I generate the redirects.
How have you generated the redirection? If you turn this back is it worked?
I created the redirects with this tool: https://yoast.com/research/permalink-helper.php
I followed these instructions: https://yoast.com/change-wordpress-permalink-structure/
My old permalink structure was: /%year%/%monthnum%/%postname%/
My new permalink structure is: /%postname%/
The generated code for me is: RedirectMatch 301 ^/([0-9]{4})/([0-9]{2})/(?!page/)(.+)$ https://topzalozi.com/$3
I placed this code in my .htaccess file.
Everything works properly now except just these 4 pages which starts with the slug "forum". Now I can't read them. These pages are opening as 404 Page in the Forum.
Yes, I use the WordPress permalink management options in Settings > Permalink admin page. But I have to generate redirections for the old posts.
And now I realize that the problem has not come from the redirects. I've just published a new post with the slug "forum" in the beginning: https://topzalozi.com/forumche/ . This post also is opening as a 404 Page in the Forum. So every post with the word "forum" in the begging of the URL is opening as 404 Page in the Forum now. What cause this?
Hi Robert,
When I disable wpForo, this problem disappears. And all 4 posts are opening properly.