: Non-www URL goes to www-homepage instead of that particular page Let's say my domain is www.example.com. if I type in example.com it goes to www.example.com - which is fine. But the problem
Let's say my domain is example.com. if I type in example.com it goes to example.com - which is fine.
But the problem is if I type in example.com/jamie/ it still goes to example.com - the homepage of the website.
In order to go to the particular URL I have to type in with example.com/jamie/ to land on that URL.
How do I make it go to a particular URL without type www?
My backend is on Django, Apache, AWS EC2.
More posts by @Jennifer507
1 Comments
Sorted by latest first Latest Oldest Best
Depends how you are doing the redirection currently. But whatever it is, change it to the following in a virtual host with a ServerName of example.com (or in the default virtual host if using that as a catchall vhost).
Redirect / www.example.com/
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.