I am working on a project that needs a website with region specific pages. One of the key requirements is that while the blog, about and other pages are the same for all regions pricing, staff, booking and events pages would be specific to the region.
Think something like this: .html
One caveat in this case is that we don't necessarily have a specific store location, but rather a service area (kind of like handyman service websites).
Is MultiSite with subdirectories the correct solution in this case? Is there a different (better) way to build a site like this?
If multisite is the correct solution, is there an existing plugin for building a location search feature?
I am working on a project that needs a website with region specific pages. One of the key requirements is that while the blog, about and other pages are the same for all regions pricing, staff, booking and events pages would be specific to the region.
Think something like this: https://locations.massageenvy/utah/american-fork/356-north-750-west.html
One caveat in this case is that we don't necessarily have a specific store location, but rather a service area (kind of like handyman service websites).
Is MultiSite with subdirectories the correct solution in this case? Is there a different (better) way to build a site like this?
If multisite is the correct solution, is there an existing plugin for building a location search feature?
Share Improve this question edited Mar 22, 2020 at 20:32 Noah Goodrich asked Mar 22, 2020 at 19:10 Noah GoodrichNoah Goodrich 1014 bronze badges2 Answers
Reset to default 0Think of multisite as many blogs with separate content all bundled under one domain name, as in www.example/blog1
and www.example/blog
2 . Each has their own content in the same database.
Blog1 has content, Blog2 has content, but you can't see Blog1 content in Blog2. So a multisite will not work without significant changes...
...which you are going to have to do anyway. You will need to create a template that can display variable content from a separate database table. The template would display the basic stuff for a page/post, then have code that would select content specific to the region.
There may be plugins that will let you do this, but this place doesn't recommend plugins...
Instead of a multisite install, I would probably go with hierarchical custom taxonomy for areas and subareas, and non-hierarchical custom post type for stores / services with archive page. Then have custom templates for each view - cpt archive, single cpt and taxonomy. The cpt archive template could be the search page for areas/stores/services.
This way you can have the common content (as pages or posts) and the region specific content in one dashboard.