Jump to content

Trailing Slash In Friendly Url's


Kevin Carwile
 Share

Recommended Posts

  • 6 months later...

Hey Kevin, I was trying to do this same thing.

I found /forum/system/Http/Url.php and removed the / in $trailingSlash = mb_strpos( $definition['friendly'], '.' ) !== FALSE ? '' : '/'; on line 629.

It seems to work. Is this what you did? Also I can't figure out how to remove it from the board index, were you able to?

Edited by Joe Collins
Link to comment
Share on other sites

Hey Kevin, I was trying to do this same thing.

I found /forum/system/Http/Url.php and removed the / in $trailingSlash = mb_strpos( $definition['friendly'], '.' ) !== FALSE ? '' : '/'; on line 629.

It seems to work. Is this what you did? Also I can't figure out how to remove it from the board index, were you able to?

Yes. I wrote a simple plugin to fix it without modifying core files.

https://community.invisionpower.com/files/file/7232-fix-furl-slash/

Link to comment
Share on other sites

  • 1 year later...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...