I found the problem, the site works perfectly and so long as the .htaccess file:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase / wp /
RewriteRule ^ index \ .php $ – [L]
RewriteCond% {REQUEST_FILENAME}! -f
RewriteCond% {REQUEST_FILENAME}! -d
RewriteRule. /wp/index.php [L]
</ IfModule>
# END WordPress
but automatically it changes this way:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase / wp / en /
RewriteRule ^ index \ .php $ – [L]
RewriteCond% {REQUEST_FILENAME}! -f
RewriteCond% {REQUEST_FILENAME}! -d
RewriteRule. /wp/it/index.php [L]
</ IfModule>
# END WordPress
and at that point smetet of work and returns error 500
how do I fix?
Hi,
sorry for delay…
Later, I’ll try to publish an update that shoud avoid this issue… Or if you want you can download the development version of the plugin from https://github.com/ceceppa/ceceppa-multilingua.
I found a solution a little rough, I gave to the .htaccess file the read-only attribute. =)
Hi, I have the same problem. Would you mind sharing how you temporarily patched it up carloda? I tried using the development version but it will not let me activate it in the plugin section. I keep hitting the activate button but it never does. Thanks so much in advance!
CynthiaKatz Hello, just set the permissions CHMOD ( 555 ) of the .htaccess file.
screenshot example: http://goo.gl/0hwVRK
DAE
(@motionrotation)
Just my tuppence, I updated a few plugins after restarting work on a site after a couple of months (it’s not online) and 500 error purely because what should be
RewriteBase /
…
RewriteRule . /index.php [L]
is instead
RewriteBase /en/
…
RewriteRule . /en/index.php [L]
It’d take more digging to 100% pin it on Ceceppa but it’s a bit suspect.
I don’t know if this has anything to do with ‘ Automatically redirects the default language’ in actions but if the default language isn’t set to the base url it rewrites everything to /en/index.php which then bypasses all other rules on looping because it doesn’t start ‘index.php’ and isn’t a file or directory so keeps hitting the last catchall and loops again.
Even if it did work, the other language would either be inaccessible as /fr/ or display as /en/fr/?
Hi,
I’m going to publish an update that should avoid that problem…
Anyway is not the option ‘Automatically redirects the default language’, but some internal routine of the plugin
Sorry to bring back this post.
It seems like i am having the same issue.
Any thoughts?
I had the same issue…
When u find a .htacces that works for u.. make sure to place that code outside the tags
# BEGIN WordPress
# END WordPress
WordPress will rewrite all inside this tags..
Mine worked like this
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /it/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /it/index.php [L]
</IfModule>
# END WordPress
I hope it helps..
Ciao