- This topic has 3 replies, 2 voices, and was last updated 7 months, 1 week ago by
David.
-
AuthorPosts
-
August 17, 2022 at 6:41 am #2315509
Andreas
Hi,
I run a travel website,having different content wondering what best setup is.
Consider content types;
Travel continent category (listing of all continents)
Travel continent countries category (listing of all countries within a continent)
Travel country category (listing all content for a specific country)
Travel city category (listing all content for a specific city)How should I think around what should be posts and pages? (pages seem to have less tagging/categorization options?)
August 17, 2022 at 7:16 am #2315529David
StaffCustomer SupportHi there,
Pages by default only have Page hierarchy options ie. Parent and Child. ( or Parent > Child > Grandchild > etc. )
Which is fine if you want a very linear structure ie. a child can only have the one direct parent.Whereas posts have taxonomies such as Categories. And a Category can also have sub-categories, and sub-sub-categories etc.
And a single Post can be put inside as many categories as you want.
And for every category that has posts, WP will automatically create an Archive for displaying the posts within.What is the best structure to use ? Thats the tricky question and you should consider how you want to display the content and how the user will navigate the content.
For example:
Lets use Posts
1. Create a Category Term for each of yourContinents
.
2. Create a Category Term for each of yourCountries
and set the Parent Category toContinents
3. Create a Category Term for each of yourCities
and set the Parent Category toCountries
You now have a Continent > Country > City structure
And lets say we write a post on Berlin.
We simply select theBerlin
Category.That post will now be visible in the
Berlin
Category Archive. But you can also find it in theGermany
( Country ) Category Archive and theEurope
( Continent ) Category Archive.This method means there are more ways to access those posts.
Now for this:
Travel continent category (listing of all continents)
You may want to:
1. Create a Page for each Continent.
2. On each Continent Page add a list of links to each of your Country archives.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 20, 2022 at 11:34 am #2318570Andreas
Thanks for clarifying,
would a url-structure with /continent/country/city/berlin be bad from an SEO perspective and ideally only have /berlin as uri?
August 22, 2022 at 2:18 am #2319762David
StaffCustomer SupportI am no expert on SEO. But most recommendations are to keep the URL shorter. As its easier to read and share.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.