Posts

Showing posts with the label handle

How to Configure .HTAccess File ?

Image
Introduction: .htaccess is one of those things that people often refer to as a dark art, much like reincarnation. However it shouldn't be overly confusing or hard, so here we'll look at the basics of rewrite rules with htaccess as well as the more important 301 redirects. Before you take a read, it's advisable that you take a brief read through the Introduction to Regular Expressions as these will feature rather heavily within rewrites etc. ReWrite URL: The are simple rewrites, not redirections. This will not change the URL that a user sees within the address bar but will load the page that you tell it to. The rules are split into two sections, the first one being what the user/visitor will enter in their browser, and the second being the page that will be served to the user instead Note:   .htaccess  file will be in hidden format, please change your folder and file settings to view this file.  How to Create a .htaccess File? Open any text editor app...