#1 July 5, 2016 2:46pm

doon.mok
Member
Registered: May 6, 2015
Posts: 141

remove trailing slash on file or folder

Hello,

We have some special forms that were not created through Form Builder that are in a separate folder site/forms. The issue I am having is it is automatically adding a trailing slash and getting a 404 error.
An example is I have a page that links to housing.php but it is adding housing.php/ and I am getting a 404 error.
Can I remove the trailing slash for the whole forms folder or just certain files?

Thanks

Offline

#2 July 5, 2016 2:48pm

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 974

Re: remove trailing slash on file or folder

It sounds like there's probably an .htaccess rule that's forcing the trailing slash. BigTree doesn't care about whether there is one or not and Google can figure out that both with and without are the same page. It should be safe to remove that rule.

Offline

#3 July 5, 2016 3:10pm

doon.mok
Member
Registered: May 6, 2015
Posts: 141

Re: remove trailing slash on file or folder

Awesome, thanks Tim!

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.