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 (7)
- htaccess lowercase (2)
- htaccess [NC] = no case (ignore upper / lower case) (1)
- htaccess:1 was not closed (1)
- jsp htaccess (1)
- 301 ignore upper case (1)
- jsp IE9 prevent caching (1)
- loading swf from apache (1)
- no case htaccess (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)
- cpanel ignore upper case lower case (1)
- 301 redirect htaccess file example (1)
- perl apache_request_headers (1)
You will also be interested in ,
- Speed up wordpress using .htaccess part 1
- Fix 500 Internal Server Error In WordPress
- make_sock: could not bind to address 0.0.0.0:80 windows apache not starting [Solved]
- How To Avoid 404 Error Pages Easily and Reliably
- How to run or Configure Apache to use PHP as CGI
- IE compatibility view force Internet Explorer to use Internet Explorer 7 rendering mode
- Custom Error Pages Using .htaccess
- Disable the TRACE and TRACK For More Security
- ScriptAlias and Alias in httpd.conf at a glance
- Simple Javascript Slideshow

