Apache/htaccess redirect not correct.

Started by PretjeNL, December 23, 2020, 07:30:26 PM

Previous topic - Next topic

PretjeNL

Hello everyone,

I have recently setup a Centos 7 server with CWP and apache.
Hosting multiple domains on it, and all off them work correctly.

Although i do have one issue with the following :

- I have one domain including a website and oscommerce shop, and whenever i type in the domain name only in the browser , it redirects to https://domain-name/domain-name.
Example :

I type in the browser : domain-name.com
Browser redirects to  : https://domain-name.com/domain-name.com

When i remove the domain name after the slash, the website works perfect.

I have tried many different options/settings and i am not coming any further.

Does anyone know what the issue might be ?

Thanks in advance.

Greetings,

Barry


PretjeNL

Thanks for the reply.
I will check out the settings in there!