Comment on If AI was all it was cracked up to be, it wouldn't be shoved in your face 24/7
IcedRaktajino@startrek.website 2 days agoI’m about that same age but am so glad we’ve largely abandoned the “www” for websites.
On my personal project website, I have a custom listener setup to redirect people to “aarp.org” if they enter it with “www” instead of just the base domain.
server { listen 443 ssl; http2 on; server_name www.mydomain.xyz; ssl_certificate /etc/letsencrypt/live/mydomain.xyz/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/mydomain.xyz/privkey.pem; ssl_dhparam /etc/nginx/conf.d/tls/shared/dhparam.pem; ssl_protocols TLSv1.2 TLSv1.3; ssl_session_cache shared:SSL:10m; ssl_session_timeout 15m; ... location ~* { return 301 https://aarp.org/; } }
jwmgregory@lemmy.dbzer0.com 2 days ago
that’s… a terrible idea for a portfolio site of any sort. why would you intentionally hamper accessibility? what if their company VPN automatically routes yoursite.org to www.yoursite.org? i personally wouldn’t spend the time spending out why i was looking at AARP, i’d just pass you over and not hire you, let alone reach out.
Illecors@lemmy.cafe 2 days ago
I don’t think it works the way you think it does.
jwmgregory@lemmy.dbzer0.com 2 days ago
no, i think i know how things work enough to know this is a shitty idea.
that excerpt is going to do a 301 redirect to the AARP site for any requests to www.yoursite.xyz - that’s 100% not up for debate.
there are a fair amount of things, especially in a corporate environment, that automatically append www. to any URL passed. you think a hiring manager is going to care that it’s a quirky technical joke? why would you make it more difficult to access a portfolio who’s entire purpose is to be as accessible as possible for the target audience?
Illecors@lemmy.cafe 1 day ago
I actually think you do not, in fact, know enough. VPN does not care about layer 7. Having some proxy forcefully rewrite random domain names will immediately lead to redirect loops and will be disabled that same day because everyone will be screaming “internet no worky”.