0
votes
1answer
22 views

www subdomain is crashed and no-www is ok

I have noticed when browsing my site using www. symbols are appearing within the body like so: <body>�껈ƶ</body> but viewing the site without www works fine. Summary Symbols when viewing ...
1
vote
1answer
53 views

Need help getting 'www' working for domains and subdomains using Apache & DNS

I've searched through a lot of different posts asking this question and I haven't really seen a straight forward answer on how to get this working. At the moment, with the following settings, adding ...
3
votes
2answers
153 views

Apache Rewrite Rule non-www to www + http to https + remove trailing slash

I would like to accomplish the following: rewrite non-www to www redirect from http to https remove trailing slash e.g. http://example.co.uk should redirect to https://www.example.co.uk How ...
2
votes
1answer
51 views

Force url to use www [duplicate]

I'm confused about how to force my url to use www in the address. I have a .htaccess code like this: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f ...
2
votes
1answer
4k views

301 Redirect from www to non-www without using VHOST

I have my web application running on EC2 with Apache. I want to redirect www to non-www. On searching Google, I used this but it leads to redirect loop: <VirtualHost *:80> ServerName ...
0
votes
3answers
190 views

Subdomain Is Redirected and Causing an Error Because www. is Added

On my site, say example.com, if I try to access test.example.com, Firefox automatically adds www. to test.example.com, making it www.test.example.com, which causes an error. However, if I visit a site ...
7
votes
2answers
3k views

Why does my site only work with a www in the URL?

I'm a bit confused as the following points: There is a simple text website, with no javascript, that works only with the prefix. http://www.mysite.corporation.com works but ...
0
votes
2answers
433 views

domain.com to www.domain.com .htaccess redirect working except one subdir

I've setup a redirect in .htaccess to consolidate domain.com to www.domain.com traffic on our Apache server. Looks like this: Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ...
1
vote
2answers
116 views

SSL Certification on both www and no-www domains

We've got our website running and HTTPS / SSL works just great. EXCEPT: when users enter http://www.mydomain.com and then enter the secure area and get directed to https://www.mydomain.com it works ...