Location,GUJARAT,INDIA
+91 9426209259
vrkansagara@gmail.com

Htaccess file for WordPress

Programmer

Htaccess file for WordPress

Htaccess file for WordPress project.

 

# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress

If you want to force http request to https then add following code after RewriteEngine on

RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

 

No Comments

Add your comment