Permalinks for Blog posts
-
Hi All,
I have a site that is in Spanish (default) and english. All is working well except the blog posts in English has an extra /en/ added to them. So when editing a post and pointing on “view post” or on the all posts list it will show the link as such:
https://www.mexresorts.com/en/en/blog/mexican-vacation-packages
Which will lead to a 404 page because the actual URL is:
https://www.mexresorts.com/en/blog/mexican-vacation-packages
Whish loads. On all normal pages in English the URL’s are fine. Anything that automatically displays posts will show the /en/en/ version of the URL like on the main page in the bottom: https://www.mexresorts.com/en/
I have the settings as follows:
SELECTED The language is set from the directory name in pretty permalinks
CHECKED Hide URL language information for default language
SELECTED Remove /language/ in pretty permalinks
CHECKED The front page url contains the language code instead of the page name or page idAlso I use the plugin “Enhanced Custom Permalinks” in order to be able to have longer slugs. The default one does not allow enough sub directories.
I hope someone can help or point me in the right direction!
Thank you!!
- The topic ‘Permalinks for Blog posts’ is closed to new replies.