Is there a possibility that you have had the /hr/ folder before installing WPGlobus?
Thread Starter
dinoh
(@dinoh)
No I didn’t have that folder. ‘hr’ stands for Croatian language. If I’d put Spanish option it would probably say that it can’t find /es/. I think that the problem is in permalinks. I believe that it was set to custom at first. Then I set it to plain, but the WPGlobus doesn’t support plain. Then I tried switching to something that’s not plain (ex: Post Name), but then I can’t even access the post in default language. I’ll try to fix this first and then I hope that language switching will work
If does not, please submit a ticket on https://wpglobus.com/
Thanks
Thread Starter
dinoh
(@dinoh)
FIXED: The problem was in fact in permalinks. To make them work, I had to edit /etc/apache2/apache2.conf
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
To
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Then I ran sudo service apache2 restart and sudo a2enmod rewrite
My permalinks started working after that which means WPGlobus is finally working.
Great!
To summarize: the issue wasn’t related to WPGlobus but to general system administration. Specifically, Apache was not set to read the .htaccess files and mod_rewrite was not enabled. Therefore, WordPress could not handle the “nice permalinks”.