Please Explain To Me What Is Mod Rewrite In Apache Server
- Forums
- Linux Hosting
- Please Explain To Me What Is Mod Rewrite In Apache Server
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 [531], Last Updated: Sat May 18, 2024
santos
Fri Feb 18, 2011
1 Comments
848 Visits
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
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"
https://www.wallpaperama.com/forums/_wxxwxp.html