Forums

Redirect to original pages after deactivating Global Translator plugin (4 posts)

  1. MrBrian
    Member
    Posted 1 year ago #

    If you are planning on deactivating this plugin after search engines have already indexed all the translated pages, like me, you may want to redirect back to the original untranslated pages instead of giving out 404s. To do this, download the wordpress redirection plugin and enter this in the source url:
    /(tr|vi|nl|cs|uk|cs|vi|zh-CN|zh-TW|es|id|no|ms|ro|hu|ms|mt|lv|sk|de|ro|sq|et|ga|el|de|hk|pt|co|ka|ko|ca|ja|sv|ru|fr|th|da)/
    and then check the Regular Expression box.

    Hope this helps someone.

  2. sfmenite
    Member
    Posted 1 year ago #

    or you can try placing this in your htaccess...

    RedirectMatch 301 ^/(it|ko|zh-CN|zh-TW|pt|en|de|fr|es|ja|ar|ru|el|nl|zh|zt|no|bg|cs|hr|da|fi|hi|pl|ro|sv|ca|tl|iw|id|lv|lt|sr|sk|sl|uk|vi|sq|et|gl|mt|th|tr|hu|be|ga|is|mk|ms|fa)/(.*)$ http://www.yoursite.com/$2

  3. Joan1911
    Member
    Posted 1 year ago #

    Hi Guys, Thanks for this info - I have been getting 404's and Duplicate Meta and Title Tags which have thrown out Webmaster Tools errors.

    Have been just about everywhere looking for advice on what to do with this plugin - switch off, what happens to previous translations or leave running with minimal flags switched on!

    There is more to this than meets the eye, just switched it on the plugin ages ago and thought it would assist others to obtain info - horror of horrors after upgrading and taking time to check properly!

    Another place to read more about multi-language and multi-regions is here at

    Hope this helps others in the future.

  4. Fking
    Member
    Posted 11 months ago #

    if the old urls were giving 404 i would be happy, the problem is that all the previosly existed urls of the translator now redirect to the homepage and google shows errors in webmaster tools for all of them as soft 404s

    Is there an easy way to make it show 404 for them as it's supposed to?

    i can redirect with the reg expression to the 404.php but i'm not sure if that's a clean way

Topic Closed

This topic has been closed to new replies.

About this Topic