Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

(Question) Redirects and subdomains

Started by Muut Archive 10 years ago · 1 replies · 771 views
10 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 Muut Archive, 10 years ago
1 672 1 week ago
Archive · by Deleted User, 9 years ago
0 3042 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago