This thread is resolved. Here is a description of the problem and solution.
Problem:
The client changed the language string for the portfolio archive page from Lithuanian ('projektai') to English ('projects'), causing an error in displaying portfolio single items.
Solution:
We resolved the issue by translating the slug via WPML's String Translation tool. After updating the slug, it functioned correctly in both languages. We recommend checking if the portfolio items now work as expected in both languages.
If the problem reoccurs, we suggest replacing the .htaccess file with the default WordPress version and resaving the permalinks using the following code:
# BEGIN WordPress<br /><ifmodule mod_rewrite.c><br />RewriteEngine On<br />RewriteBase /<br />RewriteRule ^index\.php$ - [L]<br />RewriteCond %{REQUEST_FILENAME} !-f<br />RewriteCond %{REQUEST_FILENAME} !-d<br />RewriteRule . /index.php [L]<br /></ifmodule><br /># END WordPressIf this solution does not resolve your issue or seems outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket if needed.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.