I have a site with urls like so:
It is moving to another site built in wordpress and I am trying to recreate the page to ensure incoming links continue to work as normal.
The posts are organised into different custom post types, but essentially they will display from the same page, so I have created a new page called
old_content.php and I want to use this to display content from incoming links.
I have created the page in wordpress using
old_content.php as the template. When I load
site.com/folder/, I can correctly see my
old_content.php, I will
wp_query the data for the page using the third url segment, e.g.
site.com/folder/my-page-name. As soon as I add
my-page-name, it 404's.
How do I stop it from 404'ing so I can query the db and display the content?