Jump to content

Trailing Slash In Friendly Url's


Kevin Carwile

Recommended Posts

  • 6 months later...
Posted

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?

Posted

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/

  • 1 year later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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