Results 1 to 1 of 1
-
3rd Mar 2014, 01:26 PM #1
How can I enable Mod_Rewrite?
Recommended for Advanced Users Only
What is mod_rewrite?
This module provides a rule-based rewriting engine to rewrite requested URLs on the fly. For instance, you can re-write a complicated URL such as:
302 Found
So that it reads:
302 Found
This is highly useful if you are creating a PHP driven web site, for instance, but you wish to have nice search engine and human friendly URLs appearing in the address bar.
How can I enable mod_rewrite?
1. Create a file called .htaccess in the folder you wish the rewrite rules to apply.
2. The first line in the file should be RewriteEngine On
3. After this, you can put all the rules you require. You can visit this useful web site for more information on mod_rewrite, and a handy cheat sheet with common rules.
If you have any further problems please don't hesitate to contact us.
Example mod_rewrite file:RewriteEngine on
RewriteRule ^([^/\.]+).htm$ index.php?page=$1 [L]Areon Reviewed by Areon on . How can I enable Mod_Rewrite? Recommended for Advanced Users Only What is mod_rewrite? This module provides a rule-based rewriting engine to rewrite requested URLs on the fly. For instance, you can re-write a complicated URL such as: 302 Found So that it reads: 302 Found This is highly useful if you are creating a PHP driven web site, for instance, but you wish to have nice search engine and human friendly URLs appearing in the address bar. How can I enable mod_rewrite? 1. Create a file called .htaccess Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Blocking spammers with mod_rewrite
By NewEraCracker in forum Tutorials and GuidesReplies: 11Last Post: 2nd Oct 2011, 05:19 PM -
mod_rewrite fix
By fdls in forum Web Application/Script SupportReplies: 4Last Post: 9th Sep 2011, 05:51 PM -
Mod_rewrite access???
By SaBteCh in forum Server ManagementReplies: 6Last Post: 18th Dec 2010, 01:09 AM -
mod_rewrite help
By Paul in forum Webmaster ResourcesReplies: 1Last Post: 23rd Mar 2010, 12:02 AM
themaLeecher - leech and manage...
Version 5.02 released. Open older version (or...