Code Is Poetry

Life is Binary


A good ref link for online htaccess redirect generator

Use of htaccess file is essential for url redirection. When site old urls need to be changed to new urls maintaining Search Engine Ranking in tact knowledge of htaccess redirect is must to meet this purpose with a few lines of code. Searching google I have found the following url that allowed me to do these redirections in no time.

Read more

Redirect all pages to index.php

It is often necessary to redirect all pages to index page of a site because of site maintenance. So, you need to put following code in your htaccess file. RewriteEngine on RewriteCond %{REQUEST_URI} !^/$ RewriteRule .* / [L,R=302]

Read more