20100305

Changing index PATCH .html”or“index.php

 If you are blogging and use wordpress as your blog platform .By default, when a visitor types your domain name in their browser, the “home” or “index” file will be displayed- for instance “index.html” or “index.php”.
You can change the default index page by inserting the following code in your .htaccess file:


DirectoryIndex
default.html


Tips on changing the default page display
In the above example, the “default.html” page will be displayed by default. This can be changed to any filename you wish.

You can also insert this code in any .htaccess file in any directory you wish to change the default page for any specific internal folder.

 Thanks For Visiting This Blog.
This Blog is about Blogging Tips and Blogging Resources

No comments:

Post a Comment

weblog Contents: