Create a SEO-Friendly Multilingual WordPress Site

Talk big database, solutions, and innovations for businesses.
Post Reply
monira444
Posts: 492
Joined: Sat Dec 28, 2024 4:35 am

Create a SEO-Friendly Multilingual WordPress Site

Post by monira444 »

WordPress now allows you to create subsites from a master site. This option, known as "multisite" in WordPress, opens the door to numerous applications, including the creation of multilingual sites. The option can be activated when creating a new site or later. Find out how in our WordPress tutorial.

If the operation is performed on an existing site, it is highly recommended to first back up the database and . files .
Without the help of a third-party plugin, the pages on the French site will not be linked to the English translations. The two versions are independent and may have different tree structures.
You must choose whether you prefer subdomain or directory kazakhstan whatsapp data organization . Here are the main differences:
Subdomain : fr.monsite.com, es.monsite.com.
Subdomains save you extra depth in URLs. URLs are shorter. This is also the only option for an existing site (as opposed to a new installation).
Directories : monsite.com/en.
This method is preferred by Google. Thanks to the added traffic from the various translations, the authority of the monsite.com domain will be strengthened. However, if you want to convert an existing site, this option is not available. You can only create a multilingual site with directories as part of a new installation (for now).
You must deactivate all your plugins (third-party extensions) before starting the operation.
Enable Multisite Option in WordPress

To enable the ability to create a set of subsites in different languages, you need to edit the wp-config.php file in the root of your site:

Connect to your server with FileZilla or other FTP software
Right click on wp-config.php and select "Edit" .
In the document that opens on your screen, add the following line above "/* That's it, don't touch anything else! Happy blogging! */" :
define('WP_ALLOW_MULTISITE', true);
Save the file and send it to the server, overwriting the previous version.
Installing the site network

The site network refers to the main site (corporate storefront) and all subsites (local versions). To activate it, go to Tools > Network Settings . The network name you are prompted for is the name of your company or organization. Click Install .

tile banner
Activate the site network

This is the last step before creating your first English, French, Spanish, etc. sites. You need to edit 2 files in the root of your site as WordPress asks you to.
Add the first lines below to the .htaccess file and the second lines to the wp-config.php file as above:

If the .htaccess file does not already exist, you will need to create it using a simple text editor. When you save the document, simply name it ".htaccess".
Post Reply