Permalink structure and filtering
-
Having a slgiht problem, and may be going the wrong way around it but any help would be appreciated…
So i’m looking to give my website a clean structure in terms of permalinks…
The idea is, that I have a number of desitnations(CPT) with 5 destinations… I will then have 3 other CPT’s – services/accommodations/things to do…
The services will have 5 services types
The accommodation will have 5 accommodation types
The Things to do will have 5 attraction types…All of which I want to add posts to, i.e for accommodation, i will enter a hotel name – check the hotel accommodation type(taxonomy) and check the Destination(currrently a CPT-ononmy).
The ultimate goal is to then have permalink structure as follows:
http:///www.domain-name.com/destination – this will list 5 destinations
http:///www.domain-name.com/destination/desination-name – this will lsit 3 other CPT’s – Services/Accommodation/Things to do
http:///www.domain-name.com/destination/desination-name/Accommodation – this will list 5 accommodation types
http:///www.domain-name.com/destination/desination-name/Services – this will list 5 service types
http:///www.domain-name.com/destination/desination-name/Accommodation /hotel/ – this will list hotels (within specific desination – according to destination name)
http:///www.domain-name.com/destination/desination-name/Accommodation /hotel/hotel-name – this will display the hotel single page.
Therefore with this structure i could ultimately filter anything i.e –
http:///www.domain-name.com/destination/desination-name/Service/service-name/ – this will display all services within specific destination name…Hope that makes sense, as mentioned i may have taxonomies, custom post types and terms all wrong so an idea of the set up and how to set permalinks would help massively.
Thanks
The topic ‘Permalink structure and filtering’ is closed to new replies.