URL without www redirects to homepage

dns
cname
wordpress

#1

Hi, I have installed Cloudflare SSL on my website about 10 days ago. Today I noticed that the links without www redirects the page to Homepage instead of the page it’s supposed to. For example if you go to this URL: https://www.mswebarts.com/visitor-attraction-pro-home/ , it works. But if you go to https://mswebarts.com/visitor-attraction-pro-home/ it will redirect you to the homepage. I want this to be redirected to the link with www. This problem may be with DNS.

Please give me some solutions to this issue.

Looking forward to your reply.
Thank you in advance.


#2

It’s working properly for me. I get a 301 redirect that sends it to the www and retains the path. Try clearing your browser cache, or a different browser.


#3

Thank you for your reply. I have fixed this issue by editing the .htacess file.


#4

This topic was automatically closed after 14 days. New replies are no longer allowed.