TranslateAll

How to Check Hreflang in WordPress

Open two language versions of the same page. In the HTML head of each version, find the hreflang links. Both pages should list themselves and link to one another with full URLs. Then check the canonical of each page separately. For genuinely translated pages, it usually points to the current language URL.

1. Open the German and Dutch examples

The TranslateAll guide has a German version under /de/ and a Dutch version for the Netherlands under /nl-nl/. Both cover the same topic. Open them in separate tabs and check that the main content is in the expected language.

Screenshot of the German TranslateAll guide under /de/
German example. The live page is in German, and its hreflang code is de-DE.

Open the German example

Screenshot of the Dutch TranslateAll guide under /nl-nl/
Dutch example. The live page is in Dutch, and its hreflang code is nl-NL.

Open the Dutch example

2. Read the HTML head in both browser tabs

In Chrome, open the page source with Ctrl+U on Windows or Command+Option+U on Mac. Search for hreflang and canonical. Here are the relevant lines from the two live pages, reformatted for readability. The site publishes other language references too.

Canonical on the German page

<link rel="canonical"
      href="https://www.gettranslateall.com/de/make-wordpress-multilingual/">

Canonical on the Dutch page

<link rel="canonical"
      href="https://www.gettranslateall.com/nl-nl/make-wordpress-multilingual/">

These alternate links appear on both pages

<link rel="alternate" hreflang="de-DE"
      href="https://www.gettranslateall.com/de/make-wordpress-multilingual/">

<link rel="alternate" hreflang="nl-NL"
      href="https://www.gettranslateall.com/nl-nl/make-wordpress-multilingual/">

<link rel="alternate" hreflang="x-default"
      href="https://www.gettranslateall.com/make-wordpress-multilingual/">

The canonical identifies the preferred URL for a page. Hreflang connects equivalent pages for different languages or regions. In this example, each language page has its own canonical while both share the same alternate links. A self-reference is the hreflang link that points to the page you are viewing.

3. Fix missing links and conflicting URLs

If the German page points to the Dutch page, the Dutch page should point back. Check that each target is the final public HTTPS URL. Fix any redirect, missing page or noindex directive in the set. If two plugins publish conflicting links, identify which plugin or theme generates the tags before changing settings.

The x-default tag can identify a fallback when the other tags do not match. In this example it points to the English version of the same guide. It is optional. Test again after clearing the page cache so you can check the public HTML visitors receive.

4. Inspect both URLs in Google Search Console

Inspect each language URL separately. A live test helps you check whether Google can access the current page. The indexed report can show the canonical Google selected if indexing data is available. Compare that report with the declared canonical and use the HTML checks above to verify the return links.

A common question about language folders

Does /de/ automatically mean hreflang must be de?

The folder and the hreflang code are separate. Choose de for German generally or de-DE for German aimed at Germany. For Dutch aimed at the Netherlands use nl-NL. The code should match the intended audience and the actual page content.

Read the TranslateAll documentation

Read Google’s hreflang guidance

Learn how to make WordPress multilingual

How to Make a WordPress Website Multilingual

Start with a page people already visit. In TranslateAll, add a target language, translate that page in the visual editor and give visitors a way to switch languages. Open both versions in a private window before moving on to the rest of your site.

1. Add a language in WordPress

Install and activate TranslateAll. Open TranslateAll → Languages and keep the current language as your primary language. Add one language your customers use. For example, a Dutch-language Belgian shop can start with French and use one popular product to test the full journey.

TranslateAll language settings in WordPress
Choose the primary and target languages in TranslateAll. This screenshot shows the language settings.

2. Translate a page in the visual editor

While signed in, open the page on your website and choose Translate Page in the WordPress toolbar. Select the target language and click the heading you want to translate. Enter your translation and save. Repeat for the button, menu and other text visitors need to complete the action.

TranslateAll visual editor with the text selection and translation fields
Select a line in the preview, edit its translation in the panel and save it.

3. Add a language switcher and test your store

Place the TranslateAll Language Switcher block in the header, or use the switcher shortcode in your page builder. Try it on a phone. For WooCommerce, test a product with variants, the cart and the checkout in the target language. Check payment labels and the order confirmation email with a test order.

TranslateAll language switcher settings for desktop and mobile
Preview the switcher layout on desktop and mobile before publishing it.

4. Check the search details for each language

Give each language its own URL, for example /fr/ for French. With multilingual SEO in Pro or Developer, write a search title and description in each market’s wording. Check that the translated page has the intended canonical URL and that hreflang links point to the corresponding language pages. Keep your translated links and sitemap aligned when changing an address.

Read Google’s guidance on language versions

5. Decide where to use automatic translation

Free offers manual translation into one extra language. Pro and Developer can prepare translations automatically. Start with a small batch, then review names, units, claims and payment text in the visual editor. Use the word counter to estimate what still needs translation before adding more languages.

Read the TranslateAll setup guide

Compare WordPress translation plugins

Try TranslateAll Free

WordPress Translation Plugins Compared

For WordPress and WooCommerce teams that want to edit translations in context and choose their own AI workflow, TranslateAll is a strong fit. TranslatePress also offers visual editing, WPML is suited to teams assigning translation jobs, and Weglot is worth evaluating if you prefer a hosted translation service.

TranslateAll publishes this comparison. The descriptions of the other tools are based on their own documentation.

Which translation workflow fits your site?

TranslateAll: edit visually and choose your translation provider

Open the live editor, click a supported element and refine the wording where customers will see it. You can also edit your main language. Start with a page, product or menu, then review your cart and the checkout labels that your setup exposes.

See the TranslateAll visual editor

TranslatePress: visual editing with an SEO add-on

TranslatePress also lets you click text in a front-end preview. Its documentation describes automatic translation settings and an SEO Pack for fields such as slugs and for multilingual sitemap integration. It is a natural shortlist option if visual editing is your priority.

TranslatePress editor documentation

WPML: manage and assign translation jobs

WPML’s Translation Dashboard lets you select content, translate it automatically or assign work to translators. That workflow can suit a site managed by several people who need to track jobs and progress.

WPML Translation Dashboard documentation

Weglot: hosted translation with a project word limit

Weglot manages translations in an external dashboard. Its plans count the translated words in your project. Estimate both the number of target languages and the size of your catalogue to see which plan you need.

How Weglot counts translated words

What does TranslateAll cost as your store grows?

The WordPress Free plan lets you translate manually into one additional language. Pro and Developer include annual AI translation allowances and multilingual SEO. Start with your best-selling products and key pages, then add word packs from My account if you need more. Developer customers get 10% off eligible AI word packs.

Use included TranslateAll AI words or connect a supported OpenAI, Claude or Google Cloud provider. LibreTranslate is an alternative if you want to try an open-source engine. A self-hosted or eligible free instance may avoid per-word API fees, but availability, language pairs and output quality depend on the instance. External providers can have their own costs.

Compare the TranslateAll plans and AI word packs

What gets translated, and what about speed?

Translate supported text across pages, posts, WooCommerce products, menus and the visible shop interface. On paid plans, localise SEO titles and meta descriptions and help search engines find the language versions. Walk through the cart and checkout before launch. A payment provider’s external page or a third-party widget can have its own language settings or expose no editable text.

TranslateAll stores completed translations in WordPress and serves them on later visits. Reading an already translated page does not require a new AI translation call. Actual loading times depend on your hosting, theme, plugins and cache. Compare a translated product page before and after with the same cache state, and test an uncached cart separately.

Try it with one product and one language

Start with a product page customers already visit. Translate it in the visual editor, then follow the purchase flow on mobile. If you want AI to prepare translations and need control over search snippets per language, compare Pro and Developer on site activations and annual AI words.

Start with TranslateAll Free

WordPress and PHP 8.6: A Safe Upgrade Guide

Should you switch WordPress to PHP 8.6? Test it on staging first. PHP 8.6 is stable, but WordPress Core’s compatibility and your store’s compatibility are separate questions. Keep production on a supported PHP branch until your exact WordPress version, theme and plugins pass your checks.

Is WordPress compatible with PHP 8.6?

PHP 8.6 was released on November 19, 2026. The WordPress Core team says WordPress 7.2 is fully compatible with PHP 8.6 from Beta 5 onward. That statement applies to Core. For a live store, use the stable release of WordPress and check the release notes for your theme, payment gateways, translation plugin and any custom code before you switch. PHP 8.6 release announcement · WordPress Core compatibility note

If a critical extension has no clear compatibility guidance, run it on staging and check with its maintainer. Keep the latest security patch on your current supported PHP branch while you test. The PHP support calendar shows when each branch stops receiving fixes. Supported PHP versions

What changed in PHP 8.6?

PHP 8.6 adds partial function application, a duration class and a polling API. Existing WordPress sites can use the new runtime without adopting those features. For an upgrade, focus on backward-incompatible changes and deprecations that could show up in code your site already runs.

One example is the deprecation of older mbstring regular-expression functions such as mb_ereg(). A plugin can emit a deprecation notice and still appear to work. Review the staging error log after checkout, translation and background tasks, then report notices to the relevant maintainer or update your custom code. PHP 8.6 migration guide

Two violet servers illustrating a staged software upgrade
Test the same site on staging before you change production.

A staging checklist for WordPress and WooCommerce

  1. Record your starting point. In WordPress, open Tools → Site Health → Info → Server to check PHP. Note the active WordPress, theme and plugin versions. Take a full backup of files and database, and confirm how your host lets you switch back.
  2. Copy the site to protected staging. Keep the same theme, plugins and server extensions. Restrict public access, block indexing and disable outgoing customer email. Put payment providers in test mode before you place any test order.
  3. Switch PHP on staging only. Tell your host which staging domain to change if its PHP settings are shared. Confirm the new version in Site Health and check that scheduled jobs and server-side commands use the intended runtime.
  4. Test as a customer. Open a product in a second language, choose a variation, add it to the cart, apply a test coupon and complete a sandbox checkout. Reopen the order confirmation and account page. Check that the cart and language choice survive redirects.
  5. Test as an editor. Save a test translation, check the language switcher and open the translated page as a signed-out user. Inspect the canonical, hreflang and sitemap entry for a translated URL you expect search engines to discover.
  6. Review the logs. Check PHP errors and WooCommerce’s scheduled actions after the test order. Resolve anything that breaks a step and rerun that step on staging before proceeding.

Switch production and keep a rollback path

Schedule the change during a quiet period. Take a fresh backup, switch PHP in your hosting panel and repeat a short smoke test as a signed-out visitor. Check one product, one language switch and the route to payment. Watch new log entries and scheduled jobs after the change.

If checkout, the dashboard or a critical job fails, switch back to the previous supported PHP branch and verify the affected flow. Check for orders placed since the backup before considering any database restore. A blanket restore can remove those orders.

Frequently asked questions

Is PHP 8.6 required for WordPress 7.2?

No. The Core team says WordPress 7.2 keeps PHP 7.4 as its minimum. Choose a PHP branch still supported by the PHP project for production, and test whether your theme and plugins work with it.

Will PHP 8.6 make my WooCommerce store faster?

Measure before and after on the same staging site. Compare uncached product and cart requests with the same settings and data. Database queries, plugin work and caching can have more impact than the PHP version alone.

Will switching PHP change my translations?

Changing the PHP runtime does not edit stored translations. A compatibility issue can still prevent a plugin or theme from displaying them. Check translated pages, navigation and checkout on staging. If you use TranslateAll, see the TranslateAll WordPress documentation for the editor and language settings.

안녕하세요, 세상!

워드프레스에 오신 것을 환영합니다. 첫 번째 게시물입니다. 수정하거나 삭제한 다음 글쓰기를 시작하세요!