The www and non-www versions of your URL are not redirected to the same site
i tried all options in redirect option under domain but still my domain is not redirect from www.domain.com to domain.com
can you give one example.
The www and non-www versions of your URL are not redirected to the same site
i tried all options in redirect option under domain but still my domain is not redirect from www.domain.com to domain.com
can you give one example.
JAY
Do these two domain names already exist in a certificate?
I just tried to redirect aapanel.com to www.aapanel.com and it works fine
presently may domain works on https://wwwdomain.com and https://domain.com
want to redirect from www.domain.com to domain.com and its not allowing to add in redirect page
JAY
How do you do it? Add redirect to domain.com in the website manager of www.domain.com?
you tell me how to add i tried under redirect page its not allowing to submit
@JAY Try using rewrite rules in .htaccess, it always works
JAY
What is the error message returned?
NinjutsuDEV
i know i can do this from rewrite code but iam trying to fix the feature which is already available and its not working.
aaPanel_Jose
once i submit this i get below image error
https://gyazo.com/ef4f368d328094e41e6f763f30bfc5fe
JAY
How did you fill in the information above? You can take a screenshot and replace the domain name. .
ok check
JAY
before create the redirect, press f12 then click the create button. check the api result..
Domain name mydoamin.com is the same as the target domain name, please deselect it"
JAY
You cannot set the same domain name redirection. This is very likely to cause too many redirects
aaPanel_Jose
then how do i redirect from www.domain.com to domain.com
JAY you can use php redirect to do it in a file or a directory or even .htaccess
TheWormsUnited
i know how to do in htacess iam trying to fix the feature which is there in site already
JAY the way i do it its when i create the domain name in aaPanel, i simply add the www.domain.com on it as well on the time of the creation, then i dont need to do anything else, I also use the DNS manager, and my registar has the www added on the cname as well. This is my method, works perfectly on www or without it. Hope that helps you.
TheWormsUnited
i really i dont know how to explain you are such a non understandable user iam able to access my domain on www.domain.com and domain.com
i just need to redirect the domain from www.domain.com to domain.com as i dont want to usrs to access domain from www.domain.com
JAY you are such a non understandable user
Completely unnecessary, further more when you are the one that does not explain correcctly and myself just want to help you out. No worries, me and myself keep out of your understandable posts.