Resolving Common TranslatePress Issues: From #TRPLINKPROCESSED to 403 Errors
Content
Many WordPress users rely on the 'Translate Multilingual sites – TranslatePress' plugin to make their sites accessible in multiple languages. However, like any complex software, it can sometimes run into conflicts or configuration issues that cause unexpected behavior. Based on community reports and solutions, this guide covers some of the most frequent problems and how to resolve them.
1. Untranslated Strings and Error Codes (e.g., #trpst#, #TRPLINKPROCESSED)
You might see strange codes like #!trpst#trp-gettext data-trpgettextoriginal=5993#!trpen#0 Items#!trpst#/trp-gettext#!trpen or #TRPLINKPROCESSED appearing on your live site. These are typically placeholders that failed to be replaced with the actual translation.
Why it happens: This is almost always caused by a conflict with another plugin or your theme. The conflict can prevent TranslatePress from processing the page correctly and replacing these codes with the proper translated text.
Common Solutions:
- Run a Conflict Test: The most reliable way to identify the culprit is to temporarily deactivate all other plugins and switch to a default WordPress theme (like Twenty Twenty-One). If the issue resolves, reactivate your plugins and theme one by one to find which one is causing the conflict.
- Exclude Problematic Strings: If you can identify the original text that is breaking (e.g., "0 Items"), you can exclude it from translation. Navigate to TranslatePress Settings → Advanced → Exclude Gettext Strings, add the string, and save.
- Enable Debug Options: In some cases, enabling "Disable post container tags for post title" and "Disable post container tags for post content" under TranslatePress Settings → Advanced → Debug can resolve rendering issues.
2. AJAX and 403 Forbidden Errors
Users report 403 errors, notices about falling back to admin ajax, or parts of the site (like buttons) taking a long time to load only in translated languages.
Why it happens: Security plugins or server-level firewalls (like those on GoDaddy Managed WordPress) often block TranslatePress's custom AJAX requests (trp-ajax.php), which are used for translating dynamic content loaded by JavaScript.
Common Solutions:
- Whitelist trp-ajax.php: Check your security plugin settings (e.g., Wordfence, iThemes Security) or server firewall to ensure the file
/wp-content/plugins/translatepress-multilingual/assets/js/trp-ajax.phpis not being blocked. It is a safe file necessary for functionality. - Revert to Admin AJAX: If whitelisting isn't possible, you can force TranslatePress to use the standard WordPress admin AJAX handler. This can be done by adding a custom code snippet to your theme's
functions.phpfile or a custom plugin:add_filter( 'trp_custom_ajax_url', 'trpc_use_wp_admin_ajax'); function trpc_use_wp_admin_ajax(){ return admin_url('admin-ajax.php'); } - Disable Dynamic Translation: As a troubleshooting step, try disabling "Dynamic Translation" under TranslatePress Settings → Advanced. Remember that this will stop the translation of content loaded dynamically by JavaScript.
3. Language-Specific Redirect Loops and 404s
Clicking between languages might result in a redirect loop or send users to a 404 error page, especially on pages with custom post types or translated slugs.
Why it happens: This can occur due to conflicts with other plugins that manage URLs or permissions, incorrect server configuration, or known bugs in specific versions of TranslatePress related to slug translation.
Common Solutions:
- Check for Conflicting Plugins: Plugins that manage URLs, security, or caching can interfere. Perform a conflict test by disabling other plugins to see if the issue resolves.
- Review Permalink Structure: Sometimes, simply visiting Settings → Permalinks and clicking "Save Changes" (without making any changes) can flush rewrite rules and fix odd redirect issues.
- Subdirectory vs. Subdomain: If you are using a subdomain for translations, ensure that TranslatePress is installed and configured correctly on that subdomain, as it will not control redirects on a separate subdomain where it is not active.
4. HTTPS Redirect Issues
After installing TranslatePress, your site might stop properly redirecting HTTP requests to HTTPS, making it accessible over an insecure connection.
Why it happens: This is rare, but the plugin can sometimes interact unexpectedly with server or WordPress redirect rules.
Common Solutions:
- Force SSL/HTTPS in WordPress: Ensure your
wp-config.phpfile contains the linedefine('FORCE_SSL_ADMIN', true);. You can also try addingdefine('FORCE_SSL', true);. - Server-Level Redirect: The most reliable method is to implement an HTTPS redirect at the server level (e.g., via an
.htaccessfile on Apache servers) rather than relying on WordPress or a plugin to handle it.
General Troubleshooting Tips
- Clear All Caches: Always clear any server, plugin, and browser caches after making changes.
- Staging Site: Test major changes and conflict tests on a staging site first to avoid disrupting your live environment.
- Check Known Issues: The TranslatePress team occasionally identifies bugs. If you suspect a widespread issue, it may be helpful to check their official documentation or community forums to see if a fix or rollback is recommended.
Most issues with TranslatePress stem from conflicts with other code on a site. A systematic approach to disabling other plugins and testing is often the fastest path to a solution.
Related Support Threads Support
-
TranslatePress – Personal forces a redirection loophttps://wordpress.org/support/topic/translatepress-personal-forces-a-redirection-loop/
-
Translatepress url doesn’t direct properlyhttps://wordpress.org/support/topic/translatepress-url-doesnt-direct-properly/
-
#TRPLINKPROCESSEDhttps://wordpress.org/support/topic/trplinkprocessed-5/
-
Can’t save the translatepress settings so can’t usehttps://wordpress.org/support/topic/cant-save-the-translatepress-settings-so-cant-use/
-
404 Error on translated pageshttps://wordpress.org/support/topic/404-error-on-translated-pages/
-
Error: Does not redirect HTTP to HTTPS, shows both webshttps://wordpress.org/support/topic/error-does-not-redirect-http-to-https-shows-both-webs/
-
Not posting in frontend the translated content in backendhttps://wordpress.org/support/topic/not-posting-in-frontend-the-translated-content-in-backend/
-
Breakdance and TranslatePress with “Only show elementh if”https://wordpress.org/support/topic/breakdance-and-translatepress-with-only-show-elementh-if/
-
translatepress there has been a critical error on this website.https://wordpress.org/support/topic/translatepress-there-has-been-a-critical-error-on-this-website/
-
I lost all of my traffic when i translated my website HELP!https://wordpress.org/support/topic/i-lost-all-of-my-traffic-when-i-translated-my-website-help/
-
Translation breaks with error stringhttps://wordpress.org/support/topic/translation-breaks-with-error-string/
-
getting erro #!trpst#trp-gettext data-trpgettextoriginal=6100#!trpenhttps://wordpress.org/support/topic/getting-erro-trpsttrp-gettext-data-trpgettextoriginal6100trpen/
-
TRPlinkprocessed Error + Wrong format When loading website on default languagehttps://wordpress.org/support/topic/trplinkprocessed-error-wrong-format-when-loading-website-on-default-language/
-
no support, multiple errors from pluginhttps://wordpress.org/support/topic/no-support-multiple-errors-from-plugin/
-
Do not translate my websitehttps://wordpress.org/support/topic/do-not-translate-my-website/
-
website incorrectly redirects to a different pagehttps://wordpress.org/support/topic/website-incorrectly-redirects-to-a-different-page/
-
ERR_TOO_MANY_REDIRECTShttps://wordpress.org/support/topic/err_too_many_redirects-116/
-
String Translation option returns empty pagehttps://wordpress.org/support/topic/string-translation-option-returns-empty-page/
-
home page is broken.https://wordpress.org/support/topic/home-page-is-broken-2/
-
English translation of the contact page leads to DNS_PROBE_FINISHED_NXDOMAINhttps://wordpress.org/support/topic/english-translation-of-the-contact-page-leads-to-dns_probe_finished_nxdomain/
-
Slug function is abnormal.https://wordpress.org/support/topic/slug-function-is-abnormal/
-
No help from supporthttps://wordpress.org/support/topic/no-help-from-support-2/
-
404 error on translated password protected pagehttps://wordpress.org/support/topic/404-error-on-translated-password-protected-page/
-
Report a Bughttps://wordpress.org/support/topic/report-a-bug-10/
-
translatepress editor blog post link translation problemhttps://wordpress.org/support/topic/trabslatepress-editor-blog-post-link-translation-problem/
-
404 error with translatepresshttps://wordpress.org/support/topic/404-error-with-translatepress/
-
Forbidden You don’t have permission to access this resource.https://wordpress.org/support/topic/forbidden-you-dont-have-permission-to-access-this-resource-20/
-
Can’t access Translate Sitehttps://wordpress.org/support/topic/cant-access-translate-site/
-
Translatepress exeeds limits for my hosting packagehttps://wordpress.org/support/topic/translatepress-exeeds-limits-for-my-hosting-package/
-
“Uncaught TypeError: textFields[i] is undefined” on contact form with TRPhttps://wordpress.org/support/topic/uncaught-typeerror-textfieldsi-is-undefined-on-contact-form-with-trp/
-
TranslatePress under WP GeneratePress not working on mobile devicehttps://wordpress.org/support/topic/translatepress-under-wp-generatepress-not-working-on-mobile-device/
-
500 error When logged in – Sites crashinghttps://wordpress.org/support/topic/500-error-when-logged-in-sites-crashing/
-
Page is refreshing when clicking outside logohttps://wordpress.org/support/topic/page-is-refreshing-when-clicking-outside-logo/
-
that TranslatePress is changing the data attribute links to invalid linkshttps://wordpress.org/support/topic/that-translatepress-is-changing-the-data-attribute-links-to-invalid-links/
-
trp_data not defined -JS Error @compilianz ?https://wordpress.org/support/topic/trp_data-not-defined-js-error-compilianz/
-
Url problems with the translation in the string translatorhttps://wordpress.org/support/topic/url-problems-with-the-translation-in-the-string-translator/
-
Error with a filter in the 2 translated languageshttps://wordpress.org/support/topic/error-with-a-filter-in-the-2-translated-languages/
-
New password link invalid in the emailhttps://wordpress.org/support/topic/new-password-link-invalid-in-the-email/
-
Translation is not working.https://wordpress.org/support/topic/translation-is-not-working-19/
-
#TRPLINKPROCESSEDhttps://wordpress.org/support/topic/trplinkprocessed-4/
-
403 Forbidden error & Non-unique ID warninghttps://wordpress.org/support/topic/403-forbidden-error-non-unique-id-warning/
-
Error 404https://wordpress.org/support/topic/error-404-111/
-
Critical error after translationhttps://wordpress.org/support/topic/critical-error-after-translation/
-
Infinite loading in Translation Editorhttps://wordpress.org/support/topic/infinite-loading-in-translation-editor/
-
Critical error in updatinghttps://wordpress.org/support/topic/critical-error-in-updating/