I didn't really know what the title of this topic should be.. but here's what I'm trying to achieve:
I want to redirect domain.com/forums/ (note: ending slash) to domain.com/forums.
However I only want to redirect it when the first url there is accessed, because all the forums url's look like this: domain.com/forums/topic/324-title/ So it is important only to remove the slash when the /forums url is accessed.
I am also trying to do this using the .htaccess file.
Msg#: 4492133 posted 1:25 am on Sep 7, 2012 (gmt 0)
Its actually not a folder. The "forums" is a controller. Alternatively I could figure out how to get the controller to recognize both forums and forums/, right now the latter returns a 404, but I thought it would easier with htaccess.