Questions tagged [no-www]

The process of eliminating the usage of WWW to prefix URLs.

The process of eliminating the usage of www to prefix URLs, for instance by redirecting users from http://www.example/ to http://example/. www is by many considered a dead and unnecessary practice.

256 questions
0
votes
2 answers

Non-www to www domain using Nginx on Ubuntu 12.04 LTS on Ec2 instance

After seeing this post http://www.ewanleith.com/blog/900/10-million-hits-a-day-with-wordpress-using-a-15-server I changed my server from apache2 to nginx. I am no computer geek just, savvy. I followed the steps. After that, the site was perfect,…
Angelo Suerte
  • 23
  • 1
  • 1
  • 6
0
votes
1 answer

Best way to redirect non-www to www?

What would be the best way to redirect my non-www urls to www url in my site. I think they are being redirected with a 301 redirect now but traffic that is being sent to my non-www is not tracked properly with google analytics. So I guess it's not…
SiteAppDev
  • 141
  • 2
  • 8
0
votes
1 answer

Multi-site force www. on ALL subdomains htaccess snippet

I previously got some great help here with a tad bit complicated .htaccess file. It is a multi-site/domain file and uses %{HTTP_HOST} to rewrite/301 the non-wwww to the www.widgets.com address. RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule…
Samantha P
  • 543
  • 4
  • 12
0
votes
1 answer

Heroku Issues with re-directs from non-www to www

I have set up my application with SSL at e.g. www.mydomainhere.com Through my DNS provider, I have set up a URL forward to go from mydomainhere.com to www.mydomainhere.com and that works. However, if I try to go to mydomainhere.com/users or any…
0
votes
4 answers
0
votes
1 answer

Apache + Tomcat with mod_proxy - redirect to www not working

I have a problem trying to rewrite the root of my web from mywebsite.com/mywebsite to www.mywebsite.com/mywebsite. The problem is related to the use of mod_proxy to invoke Tomcat File proxy.conf ProxyRequests Off …
codependent
  • 23,193
  • 31
  • 166
  • 308
0
votes
2 answers

httpd.conf Alias does not work for www version of site

I recently added a favicon to a Django site by editing my httpd.conf file: Alias /favicon.ico /home/learntango/webapps/staticapp/site_images/favicon.ico This works for no-www, but not for www.: Works: http://learntodancetango.com/ Doesn't: …
0
votes
1 answer

CakePHP htaccess for removing www

I know that too much questions exist for htaccess redirection, but I couldn't find the exact solution. I'm sorry if there exist a matching question. In my public html (webroot) folder there was following htaccess file:
trante
  • 33,518
  • 47
  • 192
  • 272
0
votes
2 answers

Is there a reason this js breaks without the url prefix: www?

When I test this website, some of the javascript breaks and a checkbox won't mark itself when clicked if I'm using the url without the prefix: www. It works fine if I do have the prefix there. I'm not really asking for help on this specific…
not_shitashi
  • 281
  • 2
  • 4
  • 12
-1
votes
2 answers

Universal list of domain endings?

Does anyone know where I could find a list of all publicly available domain endings? By "domain endings", I'm not necessarily referring to TLDs as I'm not interested in the .uk part of .co.uk since (AFAIK) individuals cannot register sites without…
dmg8
  • 1
-1
votes
2 answers

Https without www not working in aws route 53

i have domain for example, example.com so, http://www.example.com ( works ), https://www.example.com ( works ), http://example.com ( works ), https://example.com ( does not work) so how can i make https://example.com work ? i have two ports…
-1
votes
3 answers

www redirection for co.in and co.uk

Anyone please help me to redirect in apache webserver My domains which have .co.in extensions http://domain.co.in should be redirected to http://www.domain.co.in
Bastian Vs
  • 19
  • 3
-1
votes
1 answer

52 error: www not redirecting in Edge/Chrome/Mobile: `ERR_EMPTY_RESPONSE`

Update: culprit identified: On the 4th to last line, ssl should be removed. Not sure why. If anybody can explain why, please add your answer. Thank you! Target system info: I'm on Debian 10, Buster, using nginx 1.42, certbot latest-stable, and…
-1
votes
1 answer

Force https on apache

I use Apache server to publish my website. The problem is I want to force my website use HTTPS. For example, if someone enters the URL "http://www.alireza.co/contact.html" it should redirect to "https://alireza.co/contact.html". I created a…
user11068988
-1
votes
2 answers

Redirect http to https with htaccess

Its a simple HTML website with apache server. How can I redirect HTTP to https://www with htaccess? Need to redirect http://example.com to https://www.example.com