S
S
Shing2014-09-08 16:20:20
CMS
Shing, 2014-09-08 16:20:20

How to implement regional subdomains in Wordpress?

For example, there is a legal consultation, lawyers, in different regions.
Although the services are similar, there are slight differences, plus in different regions there may be promotion of specific names, specific lawyers, that is, "assistance in an accident from Pal Palych."
Therefore, it was decided to make different pages for the regions.
So there was a choice of a folder (/spb/, /msk/) or subdomains (spb., msk.).
Let's stop on subdomains.
How to implement this in wordpress? Apart from installing two separate scripts.
And yet, in the future, lawyers can begin to provide advice online, that is, throughout Russia. How then to be? Where to sculpt services online? That is, the same Pal Palych can provide assistance in an accident for the whole of Russia online.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
W
WordPress WooCommerce, 2014-09-08
@maxxannik

It is better to do one site. Through taxonomy. First, because there will be online services. Secondly, because it is easier to move forward.
But you can shoot two birds with one stone.
Make subdomains for landings. This will allow you to cover regional traffic in addition.

S
Slams, 2014-09-18
@Slams

It is better, of course, if the services are not completely out of the format of the resource, to do it within the same domain, just really divide it into different types of posts (Custom Post Types) with their own URL structure, categories (Custom Taxonomies), etc.
Just if you go in the direction of subdomains, then consider the following points:
1) The hosting must support Wildcard Subdomains
2) Each new subdomain is a new WP site with its own tables in the database. Of course, all this is implemented within the network with its own api, but some points will need to be tormented. Well, it's very cumbersome.
3) MU version gives a big load on hosting.
So it’s better to do CPT competently and promote within the same domain, and programmatically offer the user regionality through filtering, as they do on large sites (Moscow is your city? If not, select your city from the list).

K
kapernikxd, 2018-11-25
@kapernikxd

https://www.youtube.com/watch?time_continue=3&v=Pj... here is a detailed video on your question.
Helped me.

A
Artyom, 2014-09-08
@Mavpa

Multisite

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question