Suppose, I am the owner of the domain name xyz.com, hosted at Godaddy.
1. I want to have a few pages with urls like this:
2. and a few other pages with urls like this:
And I want to do it using Wordpress.
I have been able to do 1 without much problem. But am having difficulty figuring out how to do 2.
Do I need to create a subfolder called abc in my root folder and then install Wordpress all over again?
If so, will that require 2 separate databases?
If not, what should I do?
P.S. My Godaddy subcription allows at most 1 MySQL database. If possible, I would like to avoid upgrading for such a simple reason.
Solved! Go to Solution.
To get the nested URL as you describe, you want to set up pages that have a parent-child relationship.
1. Create a top-level page with the name abc (and the permalink http://xyz.com/abc/)
2. Create another page called hello, and under "Page Attributes" (on the right side of the page), choose the abc page as the Parent. That will result in a permalink of http://xyz.com/abc/hello.
So you don't need to create folders, and you don't need another database. Usually when you set it up as above, there is some logical reason to have the pages organized in a hierarchy. For example, your business might have a staff with 3 people and each person needs to have their own page for their bio and photo.
http://xyz.com/staff/ would be the main page listing all of the other staff members. Then each staff member could have their own page at http://xyz.com/staff/eric/, http://xyz.com/staff/dan, and so on. You just create the pages for Eric and Dan, and then assign the Staff page as their parent.
You can set up the parent-child relationship when you first create the page, or you can go back and add it later. So if you already have some pages, you can change their permalinks by changing that parent-child relationship.
Hi I am having a similar issue but from Squarespace.
My domain is ricksouza.com but it's doesn't matter which page I'm at, it always shows "ricksouza.com" and not "ricksouza.com/projectname" as I'd like.
They are all properly nested on Squarespace though. Any ideas?