For-0 / vocabustudy

Study Vocabulary, For Free.
https://vocabustudy.org
GNU General Public License v3.0
7 stars 4 forks source link

Redirect www. to non-www. #243

Closed IMGROOT2 closed 1 year ago

IMGROOT2 commented 1 year ago

Going to https://www.nightly.vocabustudy.org should lead to https://nightly.vocabustudy.org

Just an .htaccess file should take care of it.

IMGROOT2 commented 1 year ago

A similar thing needs to be done to all go. links

grimsteel commented 1 year ago

Just an .htaccess file should take care of it.

I wish this was an Apache server... (Firebase Hosting is better than things like Wordpress but still there's little customizability. Also I'm not sure if htaccess is an apache thing? I always confuse Apache and Nginx)

Also as a side note I've never seen www.subdomain.domain.tld before...

IMGROOT2 commented 1 year ago

I wish this was an Apache server... (Firebase Hosting is better than things like Wordpress but still there's little customizability. Also I'm not sure if htaccess is an apache thing? I always confuse Apache and Nginx)

.htaccess is apache, MB. but, firebase.json supports redirects and stuff, I'll check it out in docs.

Also as a side note I've never seen www.subdomain.domain.tld before...

that's because they're always redirected. if you want a working www.subdomain.domain.tld, try https://www.drive.google.com/ which is a pretty popular one lol

grimsteel commented 1 year ago

Interesting... I'm configuring this directly in DNS so www.go should already work (certificate is on the way!)

IMGROOT2 commented 1 year ago

cool!