In this tutorial you will learn how to remove trailing slash in WordPress.
Code used during this tutorial:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# WordPress Remove trailing slash Admin/Settings/Permalinks Custom Structure: /%postname% # Historically, it’s common for URLs with a trailing slash to indicate a directory, # and those without a trailing slash to denote a file # Reasons to remove trailing slashes: URL become shorter and more intuitive # Useful links https://en.wikipedia.org/wiki/Uniform_Resource_Locator http://googlewebmastercentral.blogspot.ro/2010/04/to-slash-or-not-to-slash.html |
Useful links:
https://en.wikipedia.org/wiki/Uniform_Resource_Locator
http://googlewebmastercentral.blogspot.ro/2010/04/to-slash-or-not-to-slash.html