Move pages to subdirectory in Wordpress Move pages to subdirectory in Wordpress wordpress wordpress

Move pages to subdirectory in Wordpress


Here is simple way to do it.

Create a blank page in WordPress called "Products".

Then for all other pages, select "Products" page as "Parent" page.

Now new url of the page will be like:

yourrootdomain.com/products/page-name

Do the same for all pages you want under the "Products" base/directory slug.

Let me know if you cannot get it working or don't understand it or it does not solve your issue.

Here is how to select Page's parent in page attributes section on add or edit page screen:

https://en.support.wordpress.com/pages/page-attributes/#parent