htaccess

  1. HostSailor

    How to Setting https redirect using .htaccess?

    If you are using an SSL certificate with your domain, you may need to set up a redirect when someone trying to access the domain with HTTP to load it with HTTPS automatically. We can use the following redirections as per your needs: 1. If you need to redirect all HTTP requests to HTTPS, paste...
  2. Rahul_A

    How to solve Redirect chains from htaccess in Cpanel?

    I found many redirect chaned backlinks and due to this my sites spam score gone up. I want resilve it. please help
  3. Fusion Arc Hosting

    How to Edit .htaccess File via the cPanel Filemanager?

    1. Log into your cPanel account. 2. In the "Files" section, click on "File Manger" Icon. 3. cPanel File Manager will be open, select the appropriate domain name or folder location, and press the "Go" button. 4. Navigate to the directory where your .htaccess file is located. If you want to...
  4. Maxoq

    Subdomain redirection in htaccess?

    What codes in htaccess file to use to redirect type of thee URL https://subfolder.example.com ---> https://example.com/subfolder/ https://subfolder.example.com/subfolder/ ---> https://example.com/subfolder/ https://subfolder.example.com/subfolder/my-wordpress-post-title/ --->...
  5. Dr. McKay

    Redirect all pages to homepage htaccess?

    We are planning to move a domain to a new hosting and also changing its cms from a custom cms to Wordpress cms thus the structure of urls will be change. I have two options are: Using htaccess 301 redirect old url to new url. Using htaccess to redirect all pages to homepage Which one is...
  6. David Beroff

    Enabling htaccess in Plesk for all websites?

    I heard that Nginx doesn't support htaccess file while 80% my websites are running with htaccess. My hosting provider is offering Plesk with cheap pricing, around $4 for a licence, I would take one but if I install Plesk on my host, how can I enable htaccess for all my sites? Where can I...
  7. Moebuntu

    How to enable ssl and running htaccess in plesk onyx?

    I have only installed Plesk onyx on my VPS but not tried to check any real sites with it. I heard that Plesk running with Nginx and it doesn't allow to run .htaccess file. How can I solve this? another question is how to enable SSL from Plesk control panel if I used ssl service from cloudflare...
  8. Paul Wellner Bou

    htaccess redirect all pages to homepage?

    can any one share me htaccess codes to redirect all pages to homepage, on the old domain names I didn't use it any more but I have got a new domain, but pages on old domain names were indexed by Google, I want to redirected all its pages to homepage or to new domain name. How can I do that?
  9. HostBastic

    Forcing SSL with .htaccess, cPanel & CloudFlare

    Using the following code in your .htaccess file automatically redirects visitors to the HTTPS version of your site: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] If you have an existing .htaccess file: - Do not duplicate...
  10. Maxoq

    Force www or non-www in htaccess?

    Many my friends at some point asked me ways to force either the www or non-www version of their site to display in their visitor's browser. For example we always use www.example.com or simply example.com display in our web browsers. There is a common thought that forcing one format is better for...
  11. Marc0

    How to use htaccess to protect your config files

    To stop anyone exploit/view your config files from your service by some tools, we can use .htaccess to protect our files by using code: # to protect config_file.php <Files config_file.php> order allow,deny deny from all </Files> # to protect wordpress config file <Files wp-config.php>...
Top