Ignore trailing slashes issue
-
So the new Ignore trailing slashes setting seems like a great idea but I think it’s backwards to work on WP. I might be reading it wrong but doesn’t (/exciting-post/ will match /exciting-post) mean that if you type the trailing slash it will redirect to the none training slash? This doesn’t seem right since WP pages are really directories so they will always have the trailing slash no? I turned this on and my links broke. Because if you don’t type the training slash in a WP url WP will redirect you to the url with the trailing slash. Am I missing how this works? Does this work in the other order too (i.e. /exciting-post will match /exciting-post/)?
I liked the idea because I thought it would fix the issue of having to create a redirect for the / and the none /.
- The topic ‘Ignore trailing slashes issue’ is closed to new replies.