Webmaster Tools: mod_rewrite Rewrite URL Generator Tool

URL Rewrite Tool using mod_rewrite

mod_rewrite is used for rewriting a URL at the server level in Apache Web Server, giving the output for that final page for search engine & visitors . Search engines count dynamical url as slow script pages & give them less weightage than static url So, for example, a user may ask for http://www.yoursite.com/var/yes/ , but will really be given http://www.yoursite.com/new.php?var=yes by the server. Of course, the user will be none the wiser to this little bit of chicanery.


Enter URL With Query String
Copy & paste codes in .htaccess file of root directory & enjoy dynamical Url in the form of static url. Search engines count dynamical url as slow script pages & give them less weightage than static url. This tool will help you to rewrite your dynamical url into static url.

Assume that you don't have access to view or edit the Apache server httpd.conf file, so the easiest way to check whether the mod_rewrite module is installed will be to look on your phpinfo page. If you've not already created one of these for yourself, just copy and paste the following code into an new text file using your favorite text editor, save it as phpinfo.php , and upload it to your server:

<?php phpinfo(); ?>

Load that page up in your web browser, and perform a search for “mod_rewrite”. All being well, you'll find it in the “Apache loaded modules” section of the page. If it isn't there, you'll have to contact your hosting company and politely ask them to add it to the Apache configuration.

mod_rewrite is an incredibly handy tool to have in your arsenal. This article only scratched the surface of what is possible with mod_rewrite, but should have given you enough information to go out and start mod_rewriting history yourself!

For more on mod_rewrite on Apache Web server Click Here