htaccess Archives

Redirect all Requests to HTTPS Non-WWW with htaccess

We can redirect all requests to https non-www version of a domain names using a simple code in our htaccess files. For this you need to paste a piece of code in the htaccess file which you can find in the public_html directory of file manager. Using this code all requests for your domain like http://example.com, https://www.example.com and http://www.example.com will be automatically transferred to non-www […]

Redirect all Requests to HTTPS://WWW with Htaccess

If you have SSL certificate for your domain name then you can enable https for your domain so that all your visitors can visit your website through secure protocol. Here were have shared a simple htaccess code to redirect all requests to https://www version of your website. Follow these steps to know how to redirect all requests http://example.com, https://example.com or http://www.example.com to https://www.example.com with a […]

How to redirect WWW to Non-WWW with htaccess

If you want that all of your traffic moves to non-www version of your website then you will need to insert a piece of code into your htaccess file in public_html folder. Choosing one from www or non-www version of your website is good for SEO. Redirct WWW to Non-WWW with .htaccess 1. Login to cPanel and go to File Manager. 2. Go to Public_html […]

How to redirect Non-WWW to WWW with htaccess

Having a single version of your website is good for search engine optimization. If you do not choose one from non-www and www version of you website then there are chances that search engines will look both versions as separate websites. It is not good for SEO. If you want to redirect non-www version of your website like http://example.com to http://www.example.com/ then you will need […]

Copyright © 2014-2018 Webxen.com. All rights reserved.