• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Removing the trailing slash from the url redirects

tenants

Well-known member
#1
When I visit my forum(repalce u for www, and xx for tt.. I'm trying to avoid live links to not get in to trouble)

hxxp://uuu.surreyforum.co.uk
it redirects to:
hxxp://uuu.surreyforum.co.uk/

When I visit
hxxp://uuu.surreyforum.co.uk/index.php
It redirects to:
hxxp://uuu.surreyforum.co.uk/

How do I get it to redirect to
hxxp://uuu.surreyforum.co.uk instead of hxxp://uuu.surreyforum.co.uk/
 

tenants

Well-known member
#3
Its a start on the performance tweaks, the first thing I want to do is remove unnecessary redirects.

I believe most people will want to visit (by typing in) and want to link to "hxxp://uuu.surreyforum.co.uk" and not "hxxp://uuu.surreyforum.co.uk/"
 

Mike

XenForo developer
Staff member
#5
There is no request to domain.com - the minimum request is always to domain.com/ . At lower directory levels, it's Apache that adds the trailing slash.