Custom deployment of Angular applications within your Continuous Delivery

Angular provides already a ng build command as well as an option for production environment. But how can this be transfered to your existing continuous delivery infrastructure. Imaging you have got a Bamboo or Jenkins responsible for building and deploying your software application.

Continue reading “Custom deployment of Angular applications within your Continuous Delivery”

Redirect domain always to subdomain (eg. www) in .htaccess

You might want to redirect your website always to www and avoid duplicate content on search engines by providing your website by both domain and www-subdomain. 

RewriteEngine On

RewriteCond %{HTTP_HOST} ^web-devil.com$
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [R=302]
Continue reading “Redirect domain always to subdomain (eg. www) in .htaccess”