Advanced Search
Search Results
8 total results found
How to redirect my site from HTTP to HTTPS?
REDIRECT ALL WEB TRAFFIC To force all web traffic to use HTTPS insert the following lines of code in the .htaccess file in your website’s root folder. RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-vali...
How to redirect my site from HTTP to HTTPS?
REDIRECT ALL WEB TRAFFIC To force all web traffic to use HTTPS insert the following lines of code in the .htaccess file in your website’s root folder. RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-vali...
What is the .htaccess file and what do I use it for?
Htaccess files are hidden plain text files that are on the server to help control how your visitors interact with your website. The htaccess file is also used to block specific traffic from being able to view your website. If you look for your .htaccess file y...
How to change my document root folder using an .htaccess file?
By default your website is loaded from the public_html folder of your account.The public_html directory is also called web root folder or document root folder.If you’ve created a test website under a sub-folder and you want it to be displayed when you type you...
Change HTTP header settings using .htaccess file
First step, if you do not already have a .htaccess file created in the root directory of the affected domain name document. To do this, refer to the following: How to create .htaccess file? If the file already exists, you can edit it as described below: Cre...
URL redirect/rewrite using the .htaccess file
By default your website can be accessed with both www.example.com and example.com. Since Google penalizes this due to duplicated content reasons, you should restrict the access to either www.example.com or example.com. Some links may be outside of your website...
How to Change your Default Index Page in htaccess
The server looks for specifically named files as the first page of your website, also known as the index page. The default order of index file names our particular servers look through is index.php, index.htm, index.html, and finally default.htm. You can chang...
How to create .htaccess file?
You can create an .htaccess directly on your web server using an FTP client, cPanel internal File Manager or SSH. View the following articles for instructions on how to use either option to create the file: Creating and editing a file via FTP (e...