check 'permalink_structure' for trailing slashes
-
Hi,
I use a custom permalink structure:
/%postname%
without a trailing slash. But I get a problem on several pages using the “?lang=en” method for generating the translation links.It would be nice if you could check if the function
get_option('permalink_structure')
returns a string with a trailing slash or not and append only a slash to the URL if neccessary.Currently I have changed the file
frontend\utils.php
so I can use the plugin.Best regards
Nils
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘check 'permalink_structure' for trailing slashes’ is closed to new replies.