Common command suffixes
At the end of many lines you will see a suffix within square brackets. These instructions modify the main command of that line.[301] = permanent redirect[302] = temporary redirect[NC] = no case (ignore upper / lower case)[L] = last – if this direction is met, then quitA redirect should always be a 301, Permanent, and never a 302, Temporary.
I cannot think of any case in which the use of a 302 is valid. It should never be used for any purpose on a server, for anything. Even if you know that it will be changed tomorrow – don’t use a 302. There are a bunch of search engine related issues here. Unfortunately, a server may default to issuing a 302 if you don’t specify a 301 permanent redirect; therefore you should always specify a 301.
A major problem here is that hosts in general(a) do not know that a server defaults to 302 if you don’t specify otherwise(b) Their actions in many cases get you an automatic search penalty.These modifiers can be written in upper or lower case, it doesn’t matter.You can use [NC] or [nc], it’s the same thing. However, it may be clearer in upper case.[NC] means ‘no case’, or ignore the use of upper / lower case in this command line. [L] – last – is used to terminate a sequence.
Incoming search terms:
- htaccess interview questions (6)
- htaccess lowercase (2)
- cpanel ignore upper case lower case (1)
- loading swf from apache (1)
- jsp htaccess (1)
- htaccess:1 was not closed (1)
- htaccess [NC] = no case (ignore upper / lower case) (1)
- htaccess url upper lower (1)
- htaccess upper lower case (1)
- htaccess rule with lower upper and number (1)
- htaccess rule terminate (1)
- htaccess no case (1)
- htaccess nc not (1)
- fixing random 500 errors after changing htaccess (1)
- no case htaccess (1)
You will also be interested in ,
- Import large files in mysql using PhpMyAdmin
- Adding Handlers Directly In httpd.conf Of Apache
- ScriptAlias and Alias in httpd.conf at a glance
- Speed up wordpress using .htaccess part 2
- Fix the problem in getting 500 Internal Server Error In Localhost Due To .htaccess
- Apache AddHandler application/x-httpd-php not working?
- mod_proxy_balancer and installation
- How to install XAMPP
- How to run or Configure Apache to use PHP as CGI
- Speed up wordpress using .htaccess part 1
