K
K
kirill2709992021-02-25 23:53:12
Internationalization and localization
kirill270999, 2021-02-25 23:53:12

Is it possible to upload a version of the site with a different language to a subdomain through WordPress?

Hello! I made a multi site from a simple WP site, registered a subdomain on the host and connected it to the site. When I go to the second site in the WP admin panel, I see a white screen (it's understandable, the subdomain is empty). I wanted to know if it is possible to upload the translated data to a subdomain through Wordpress or is it possible only through the host and ftp?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Danil Sapegin, 2017-11-12
@ynblpb_spb

You must have either a primary index for a field in the table (for example, for the id field), or a unique index for some field. Then your query will work as intended

D
Dmitry, 2017-11-12
@slo_nik

Good evening.
First, you check if there is such a record in the database, and based on the server's response, you form a request, either insert or update.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question