< Buzzing or vibrating the login form using jquery Posted On May 15, 2012 : 0 comments << >> Simple div slideshow using jquery Posted On May 9, 2012 : 0 comments << >> Copy mysql column in varchar to type date Posted On May 3, 2012 : 0 comments << >> Enter only numbers inside a input field of a form using javascript Posted On May 1, 2012 : 0 comments << >> Slide in and out animate div vertically using jquery Posted On April 25, 2012 : 1 comment << >> Tag cloud using php, mysql and ajax with filter Posted On April 24, 2012 : 0 comments << >> Change webpage font color or background color from the user side using javascript Posted On April 19, 2012 : 0 comments << >> A single link that cycles through several webpage background color using javascript Posted On April 17, 2012 : 0 comments << >> Simple webpage redirection using perl script Posted On April 10, 2012 : 0 comments << >> Get ipaddress using perl script Posted On April 4, 2012 : 0 comments << >>

.htaccess some facts and rules

This Tutorial Has Been Viewed 1,078 Times.
VN:F [1.9.17_1161]
Rating: 0.0/10 (0 votes cast)


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. 

VN:F [1.9.17_1161]
Rating: 0.0/10 (0 votes cast)

Incoming search terms:





You will also be interested in ,

Leave a Reply

Proudly designed by Mistonline.in.
Affordable Seo PackagesSeo BlogEdu Backlinks