Forums »
  Linux wallpaper Hosting forums topics about gallery sites in linux systems »
    Explain What Is Mod Rewrite

Explain What Is Mod Rewrite

Description: this page is about the explanation of what is mod rewrite and what mod rewrite is about so if you want to know the explanation and examples of what mod rewrite is about this page will explained mod rewrite
Tags: apache , httpd , mod rewrite , module , feature , works , how , tutorial , explain , teach
Posted On Fri Feb 18, 2011 By santos In Linux wallpaper Hosting forums topics about gallery sites in linux systems Forums
explain what is mod rewrite - i downloaded the wallpaper script. there is one option on it that say enable permalinks type URLs

im not familiar with permalinks so i enabled it to see what it would do but it says i need modrewrite in order to be able to use this feature. can you please explain what is mod rewrite

i really like the script so far, so thanks for sharing it. great script
wallpaperama Fri Feb 18, 2011
well, you can read about it in the official apache website here:
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html

but for you, whats important to know is that with mod rewrite you can rewrite a url into a different url.

for example, lets say you have a blog and the url to access one of your blog pages is:

http://www.myblog.com/blog.php?blog_id=1945

as you can see from the above example, when you visit that page, it should open blog_id 1945 from your database,

but how about if you can have it the url like this instead:

http://www.myblog.com/1945.html

as you can see, the url is much shorter and it will display the same content

thats what mod rewrite can do for you. i believe wordpress calls these "permalinks"
Information
Title: Explain What Is Mod Rewrite
Info: This Post Has Been Viewed 0 Times Since
Date: Fri Feb 18, 2011
Author santos Received 1 Replies #531
Related Sites
Add Your Website
Share
wallpaperama | Wallpapers | Forums | Terms Of Service

copyright © 2013 wallpaperama - All Rights Reserved - Last Updated Tue Jun 18, 2013 (-8 GMT)
Powered by: Webune Forums V5