Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

(Question) Redirects and subdomains

Started by Muut Archive 9 years ago · 1 replies · 550 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 1318 9 years ago
Archive · by Muut Archive, 9 years ago
2 915 9 years ago
Archive · by Muut Archive, 9 years ago
2 4044 9 years ago
Archive · by Muut Archive, 9 years ago
1 2920 9 years ago
Archive · by Muut Archive, 9 years ago
3 1104 9 years ago