WordPress: Custom URLs for Pages

I have a custom post typed with the name Uploads on my WP website that (using v3.1) has an index archive at this URL: http://domain.com/uploads

Now, since it is automatically created by WordPress and does not use a page like in previous versions of WP, I cannot create a subpage, for example: http://domain.com/uploads/my-page

How can I create a page and change its url to fake so that it looks like a child page of downloads?

thank

+3
source share
3 answers

If you only have one page ... try creating your own plugin:

This is an overwrite rule.
This applies to overwrite options.

And don't forget to turn off canonical redirection

, ... 1,2,3 URL.

+5

Have you tried the url edit function on the edit page? Edit URL function

0
source

Source: https://habr.com/ru/post/1792699/


All Articles