Tags » Htaccess

Enable caching without plugin or using .httaccess file

You can enable browser caching by adding the following code to your .htaccess file:

## EXPIRES CACHING ##

<IfModule mod_expires.c>

ExpiresActive On

ExpiresByType image/jpg "access 1 year" 76 more words

Website

opencart non www to www adds index.php?_route_=

this time it is about opencart and seo client needs to redirect site from non www to www all time so we added rule in… 153 more words

Opencart

"max_input_var" cannot be set in php script.

Lets understand,

“max_input_vars” is an integer value. It decides how many input variables may be accepted (limit is applied to $_GET, $_POST and $_COOKIE superglobal separately). 94 more words

How to hide index.php from the url in codeigniter

I have noticed it looks a bit awkward with index.php in the url, so here is the simplest way to remove it. What you need to do is to create a .htaccess file in root directory where the application, system, index.php folders and file located, and just paste the below code. 34 more words

.htaccess

Redirect website http to https using htaccess

To redirect all http and www request to https this problem can easily be solved by using htaccess. You have to create new file with .htaccess extension and placed in your root folder of your project and paste below code :- 37 more words

Htaccess

htaccess/web.config url rewrite from asp to php

.HTACCESS:

<IfModule mod_rewrite.c>
RewriteEngine On

#REWRITE RULES
#———————

#RULE REMOVING .PHP
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond {REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php [L]

#RULE ASP CLASSIC LEGACY 301 REDIRECT TO PHP… 151 more words

Htaccess

Konfigurasi Keamanan Web Service Menggunakan htaccess

Apache Web server memiliki beragam opsi konfigurasi bagi administrator. Masalahnya, pada saat Anda memiliki hosting, anda tidak memiliki akses pada konfigurasi apache. Akibatnya anda tidak dapat melakukan perubahan setting dan terpaksa menggunakan konfigurasi default. 90 more words

Home