Blocks GTranslate rewrite rules in .htaccess

[ad_1]

Hey guys,

I really love your plugin, but recently came across to a couple of issues and wondering if there’s a way to fix it.

I started using the GTranslate plugin for automated Google translation. The plugin adds a few rewrite rules to the .htaccess to create the subdirectory structure for the URL’s like this:

### BEGIN GTranslate config ###
RewriteRule ^(af|sq|am|ar|hy)/(.*)$ /$1/$3 [R=301,L]
RewriteCond %REQUEST_FILENAME !-f
RewriteRule ^(af|sq|am|ar|hy)/(.*)$ /wp-content/plugins/gtranslate/url_addon/gtranslate.php?glang=$1&gurl=$2 [L,QSA]
RewriteRule ^(af|sq|am|ar|hy)$ /$1/ [R=301,L]
### END GTranslate config ###

But now Security Optimiser causes these URL’s such as ‘ domain.com/af ‘ inaccessible resulting in 403 error.

Is there any way to go about this?

Many thanks

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer