Hi there!
Can you show us the code you’ve used to add the page, please?
@imazed Hi 🙂
I’ve simply added a subpage called courses to my-account, not through code this time around as TutorLMS hooks itself onto an existing page.
What I got at the moment:
Title: My Account :: Slug: my-account :: id: 13646
— Title: Courses :: Slug: slug :: id: 14005
Thanks for the quick reply!
Does the same problem exist when the page is not a sub-page of anything?
You may want to re-save your permalinks, see if that helps. If you go to Settings → Permalinks and click ‘save’ (you don’t need to make any changes), does that make the 404 page go away?
If it doesn’t, I’d suggest doing a conflict test. This kind of problem is usually caused by either a conflict with your theme or with another plugin.
The best way to determine this is to:
- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce
- Repeat the action that is causing the problem
If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.
This is best done on a staging site. That’s a copy of your live site, so you can test things out without making changes to your actual site. Some hosting companies offer a staging site service within their hosting plans. If yours does not, there is a great free plugin that will allow you to build a complete staging site with a few button clicks: https://wordpress.org/plugins/wp-staging.