Regionality without multisite
-
I’m about to create multi-regional site with very convenient structure.
1. Cities are custom posts (using PODS)
2. Every City has a title and “link” field (and more information in the future)
3. Pages are extended with a “city” custom field (related to Cities)The idea
If there is no page city_link.domain.com/page/ then display (not redirect) default_city_link.domain.com/page/.
So I can create and modify only one page linked to default city and get the same content for 1000 other cities. And if I ever need to change the content for only one chosen city I’ll just create a modified copy of this page “in” chosen city.So I think I need:
1. Allow page slug duplicate.
2. Forbid page slug duplicate in single city
2. Add city link to permalinks (make them city_link.domain.com/page/)
3. Make WP know in which city we are using domain and display the correct page.
4. Make WP display default city page if there is no local version.In the future:
5. Make WP console know in which city we are
6. Add a global dropdown filter that affects all content screens: posts, pages, custom posts — for display all content or only from current/chosen city.
7. Add an ability to add administrator for chosen cities.Why not multisite
Because I have to copy any new page to all sites then. And do the same if I modify some.Why not hierarchical page structure and .htaccess rewrites
The same.I’ve been looking for at least partial solution but not succeeded.
Any suggestions?Thanks in advance.
Den.
The topic ‘Regionality without multisite’ is closed to new replies.