This is the code for an .htaccess file which does: -> Redirect all www requests to non-www requests<br /> -> Always force SSL<br /> <br /> RewriteCond %{HTTPS} !=on<br /> RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]<br /> RewriteCond %{HTTP_HOST} ^www\\.(.*)$ [NC]<br /> RewriteRule ^(....
If you put this in your htaccess, the server will forward all request from HTTP to HTTPS<br /> (with all details after the domain included like get variables)<br /> It will also rewrite all www.yourdomain.de requests to yourdomain.de.<br /> So its not possible to create 2 sessions on the same website. Replace yourdomain.de with yo...
Enter this in your Websites .htaccess main directory to let the server redirect<br /> HTTP404 Errors or misc to a specified site. ErrorDocument 400 /error/400.php<br /> ErrorDocument 401 /error/401.php<br /> ErrorDocument 403 /error/403.html<br /> ErrorDocument 404 /error/404.php<br /> ErrorDocument 500 /error/405.php ...