www or no www
-
Austin
- Verified Member

- Posts: 543
- Joined: July 13th, 2018, 6:30 pm
- Referrals: 1
-
Matty2
- Verified Member

- Posts: 413
- Joined: December 12th, 2022, 6:40 am
- HeidiHoe
- Verified Member

- Posts: 1653
- Joined: February 3rd, 2018, 12:20 pm
- Title: Resident Genius
My personal preference is going naked, but it doesn't really matter. Just choose one and redirect the other to it. Don't use both and not use a redirect because it's not ideal for SEO.
The Fourth Turning Is Here
- TheButcher
- Administrator

- Posts: 17531
- Joined: February 2nd, 2018, 11:48 am
- Title: I like weekends
- Referrals: 1
- Contact:
Old habit I always set up scripts with the www but in my htaccess I have a line if you need it I will get it which redirects the non-www to www.
-
CanadianChick
- Verified Member

- Posts: 1102
- Joined: April 10th, 2018, 9:07 pm
- TheButcher
- Administrator

- Posts: 17531
- Joined: February 2nd, 2018, 11:48 am
- Title: I like weekends
- Referrals: 1
- Contact:
Technically the www is a subdomain if you think about it
- HeidiHoe
- Verified Member

- Posts: 1653
- Joined: February 3rd, 2018, 12:20 pm
- Title: Resident Genius
Yep, it is. If you look at your dns settings you'll see that the www sub is pointed at the same location as your naked domain. That's usually the default setup. You could actually change that if you want. There's no rule saying that's what you have to do.TheButcher wrote: ↑March 12th, 2023, 2:35 pmTechnically the www is a subdomain if you think about it
The Fourth Turning Is Here
-
24alex
- Verified Member

- Posts: 2116
- Joined: March 2nd, 2018, 12:51 pm
- Referrals: 21
-
Zug
- Banned

- Posts: 418
- Joined: February 11th, 2023, 9:19 am
- Referrals: 4
Choose one or the other and stick with it. Either way, use your htaccess file to determine which one is used through-out your domain. People, generally, will not type in www. Unless they live in a cave and have no clue of internet usage.
-
born2bewild
- Verified Member

- Posts: 1655
- Joined: May 22nd, 2018, 6:47 pm
- Title: work hard play hard
Read the underlined sentence
-
Zug
- Banned

- Posts: 418
- Joined: February 11th, 2023, 9:19 am
- Referrals: 4
.htaccess file .. works on my server but may not on everyone else's.
Code: Select all
# Redirect www urls to non-www
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.YOURDOMAIN\.com [NC]
RewriteRule (.*) https://YOURDOMAIN.com/$1 [R=301,L]-
Aleks
- New Member

- Posts: 20
- Joined: March 18th, 2023, 8:34 am
- T.B.W
- Verified Member

- Posts: 1152
- Joined: March 26th, 2018, 1:34 pm
It looks rightZug wrote: ↑March 16th, 2023, 12:59 pm.htaccess file .. works on my server but may not on everyone else's.Code: Select all
# Redirect www urls to non-www RewriteEngine on RewriteCond %{HTTP_HOST} ^www\.YOURDOMAIN\.com [NC] RewriteRule (.*) https://YOURDOMAIN.com/$1 [R=301,L]