All URLs without trailing slash redirecting to trailing slash

mikef88

Registered
Jan 10, 2023
2
0
1
Las Vegas
cPanel Access Level
Root Administrator
Last edited:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,529
2,607
363
cPanel Access Level
Root Administrator
I actually don't believe that is the case - there is no default redirection to https content inside of Apache or Litespeed. cPanel does have the "Force HTTPS Redirect" option here: https://support.cpanel.net/hc/en-us...tically-redirect-a-domain-s-visitors-to-HTTPS

but that would need to be manually enabled for each domain you want it on the machine.

If you have root access to the server, feel free to submit a ticket to our team and we'll be able to help track down that behavior.
 

kdean

Well-Known Member
Oct 19, 2012
408
82
78
Orlando, FL
cPanel Access Level
Root Administrator
What is the site built with? Content Management Systems like Wordpress and others have their own internal redirect systems and plugins that if there's a domain setup that's using the http version of the url it may be getting caught there and redirecting.

One method with Wordpress is using a custom Permalink setting to remove the trailing slash. Combine that with domain settings that either are set to http or not properly migrating all links from http to https could create some oddities like this.

Just a thought to look into your site setup if no htaccess culprits are found.
 
  • Like
Reactions: cPRex