Post by account_disabled on Dec 20, 2023 4:00:55 GMT
Then click on “Languages” in the settings section in your WordPress dashboard, and add English first – en_US. The default values are fine. Click on “Add new language”. Add the English language Add the English language Step 2 You'll see a message at the top about posts, pages, and categories without a language. Click on the “You can set them all to the default language” link and everything will be set to English, which is the language you just added. Set default language Set default language Step 3 Then you need to add any other languages you want to use. Let's add Spanish, then choose Espanol – es_ES. Then change the order to one above the other, which in this case is 1, since English has been set to 0. Click “Add new language”.
Add the Spanish language Add the Spanish language Buy Bulk SMS Service Step 4 Click the “Settings” tab of PolyLang and, in the URL changes section, enable the “Hide URL language information for default language” option. This removes /en/ from your English-language slugs, so you have the following setup: English VersionHide URL language information for default language Hide URL language information for default language Step 5 Then it's time to add a Spanish translation. By default, each language will have a new column (flag) that now appears in the “All Posts” section in the WordPress dashboard. Click on the + symbol to add the Spanish version.
You can also do this within each post. Add Spanish translation Add Spanish translation Step 6 You can then translate your post and, if you want, the slug (URL). For SEO purposes, it is best to use a slug in your native language. And Yoast SEO is fully compatible with PolyLang, so you also translate the title tag and meta description. Then click “Publish”. Article URL in Spanish Article URL in Spanish And this is all! You now have separate posts in your WordPress dashboard, each accessible at its own URL in its respective native language. PolyLang automatically adds the appropriate hreflang tags so you don't have to worry about any of this.
Add the Spanish language Add the Spanish language Buy Bulk SMS Service Step 4 Click the “Settings” tab of PolyLang and, in the URL changes section, enable the “Hide URL language information for default language” option. This removes /en/ from your English-language slugs, so you have the following setup: English VersionHide URL language information for default language Hide URL language information for default language Step 5 Then it's time to add a Spanish translation. By default, each language will have a new column (flag) that now appears in the “All Posts” section in the WordPress dashboard. Click on the + symbol to add the Spanish version.
You can also do this within each post. Add Spanish translation Add Spanish translation Step 6 You can then translate your post and, if you want, the slug (URL). For SEO purposes, it is best to use a slug in your native language. And Yoast SEO is fully compatible with PolyLang, so you also translate the title tag and meta description. Then click “Publish”. Article URL in Spanish Article URL in Spanish And this is all! You now have separate posts in your WordPress dashboard, each accessible at its own URL in its respective native language. PolyLang automatically adds the appropriate hreflang tags so you don't have to worry about any of this.