I have a Homepage setup made with wordpress.
All pages are in the root directory:
www.example.com/
is it possible to move some of my pages to a subdirectory ?
like:
www.example.com/products/
It is important that the root directory stays the same.
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