Ok, here is the thing I have already added the categories to the pages (with the help of a plug-in, it’s called Add category to pages) and so now I want to change the URL to display the categories (that is to say I want my pages to have this estructure: mysite.com/%categories%/%page_name% right now it has his structure: mysite.com/%page_name%), I have tried to google it but I can’t find a straight answer. So if anyone has some resources (tutorials, articles) or some idea (if it’s not to much to ask with code examples) on how to achieve this it would be fantastic. (And believe me, I’m asking as my last resource)
3 comments
Comments are closed.
you can do it easily with “Page Parent” option available in WordPress.
Steps To create a subpage
Output – https://example.com/asia/india/
More Info. – WordPress Subpage Permalink
well you can do this for categories and products from permalink setting, but if you want to manipulate the page url according to yourself then you need to create an blank page with the prescribed name whichever you want to insert, i.e, if you want to insert amazon within the url then create an url with name of amazon, and put the other url’s under this parent page.
This way your url will look like
http://example.com/amazon/page_name
Unable to post as comment so directly posting it in an answer, in WordPress you can have custom URL. After you logged I’m as admin under dashboard you have general settings where you can put custom URL’s like http://example.com/%caregory%/page_name
For more reference also checkhttp://codex.wordpress.org/Changing_The_Site_URL
I don’t know if you tried this but after you login as admin, under Dashboard>>Settings>>Permalinks>>Custom Structure.
Let me know if you have already tried that.