Home » Php » php – "https://"sitename.com"" whilst "https://www."sitename"" does

php – "https://"sitename.com"" whilst "https://www."sitename"" does

Posted by: admin February 25, 2020 Leave a comment

Questions:

I have changed domains and kept the old domain on my site. Then I’ve set up the DNS and redirect I only have one problem.

When I go to “https://example.com” it doesn’t work, but it does when I go to “https://WWW.example.com“.

Can somebody please help me what to do

How to&Answers: