a digital blog

Tag: htaccess

HTACCESS, PHP

Hide .php extension with url rewriting using .htaccess

This post explains how to Hide .php extension with url rewriting using .htaccess file and also it will improve your Web projects security. For rewriting the URL, you should create a .htaccess file in the root folder of your web directory. And have to put the following codes into htaccess file. Sample .htaccess RewriteEngine on RewriteRule ^(.*)\$ $1.php [...]

Read More »
Custom Error Pages Using HTACCESS

HTACCESS, PHP, Tutorial

Custom Error Pages Using HTACCESS

This post explains how to create Custom Error Pages with .htaccess mod redirection. Before trying this you have to enable mod_rewrite.so module at httpd.conf. For more information about htaccess and mod_rewrite go to my previous tutorial  http://www.91weblessons.com/what-is-htaccess We can  use custom error pages for any error as long as you know its number by adding the following code [...]

Read More »
SEO-Friendly-URL

HTACCESS, PHP, Tutorial

SEO Friendly URL using HTACCESS

This post explains how to create SEO friendly URL using .htaccess mod redirection. Before trying this you have to enable mod_rewrite.so module at httpd.conf. For more information about htaccess and mod_rewrite go to my previous tutorial http://www.91weblessons.com/what-is-htaccess SEO friendly are known to be better than Dynamic URLs because of a number of reasons 1. SEO friendly [...]

Read More »

Copyright © 91 Web Lessons - a digital blog