Author Topic: Apache/htaccess redirect not correct.  (Read 3319 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Apache/htaccess redirect not correct.
« on: December 23, 2020, 07:30:26 PM »
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


Offline
*
Re: Apache/htaccess redirect not correct.
« Reply #2 on: December 24, 2020, 05:56:33 PM »
Thanks for the reply.
I will check out the settings in there!