kbadgley
-
Posts
2 -
Joined
-
Last visited
Posts posted by kbadgley
-
-
I am trying to run CubeCart in a sub-directory however I would like for the sub-directory to not have the trailing slash unless referencing a product/category/etc.
The following is what I'm getting..- www.domain.com/cube-cart/
And this is what I want..
- www.domain.com/cube-cart
In easier to say terms, I want to remove the trailing slash after the directory. (As Cubecart is not running the whole site, but only a portion of it.)
Removing Trailing Slash while running in sub-directory
in Technical Help
Posted
Trailing slash that I want removed is just the one that follows the subdirectory segment.
www.domain.com/cube-cart/
this one ^
All the files that follow that that show after that are fine... Ideally all I want to be able to do is remove that trailing slash when the "homepage" of the cube-cart installation is loaded.
I added the snippet (and edited) as you put into the /includes/global.inc.php file... and that did not do anything. (With and without the trailing slash)