Vijaya Kumar Blog

(Stunning PHP/MYSQL/AJAX/SEO Tips)

Entries for the ‘ Htaccess ’ Category

External Redirect .php files to .html files (SEO friendly)

Most of the developers like to show PHP  files as HTML. This can be done via htaccess.  .htaccess files (or “distributed configuration files”) provide a way to make configuration changes on a per-directory basis. In htaccess, we have Rewrites. Htaccess Rewrites are enabled by using the Apache module mod_rewrite, which is one of the most [...]

Comments (1)

5 htaccess Tricks Every Webmaster Should Know

Here are 5 sets of htaccess directives every webmaster should know: Redirect Visitors While You Update Your Site Update and test your site while visitors are redirected to the page of your choice: order deny,allow deny from all allow from 123.123.123.123 ErrorDocument 403 /page.html <Files page.html> allow from all </Files> order deny,allow deny from all [...]

Comments (2)

Useful URL rewriting examples using .htaccess

If you are looking for the examples of URL rewriting then this post might be useful for you. In this post, I’ve given five useful examples of URL rewriting using .htacess. Now let’s look at the examples 1)Rewriting product.php?id=12 to product-12.html It is a simple redirection in which .php extension is hidden from the browser’s [...]

Leave a Comment

  
 

You need to log in to vote

The blog owner requires users to be logged in to be able to vote for this post.

Alternatively, if you do not have an account yet you can create one here.

Powered by Vote It Up