Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

(Question) Redirects and subdomains

Started by Muut Archive 9 years ago · 1 replies · 683 views
9 years ago

Hi, i have a question, but i dont know if its related to grav or .htaccess or both. Since I dont really have experience in .htaccess, i thought maybe you can point me in the right direction. I googled, but with no luck.

The problem: My grav page has 3 main pages, to which i pointed my subdomains through my webserver. So for example "contact.domain.com" redirects to "www.domain.com/contact". That works, but the adressbar shows "www.domain.com/contact". I want it to stay "contact.domain.com", even if i navigate naturally through the menu to the contact page.

Hope someone can help me, I have the feeling, i couldnt find something useful with google because i am missing a keyword for what i want to achieve.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2563 9 years ago
Archive · by Muut Archive, 9 years ago
2 1689 9 years ago
Archive · by Muut Archive, 9 years ago
2 4980 9 years ago
Archive · by Muut Archive, 9 years ago
1 3804 9 years ago
Archive · by Muut Archive, 9 years ago
3 1798 9 years ago