Mod Rewrite: What actually is this?
Sorry if this is too basic a question but I gotta know 🙂
I have been reading articles on archives and noticed that a lot of people mention mention the following:
RewriteRule ^archives/?$ /archive.php
As I understand this, this means that archive.php can be in the root and not in a folder called ‘archives’ and so when you click on a link called archives it mimics a folder called ‘archives’
My question is why would you do this over having an actual folder called ‘archives’ with the file archive.php in it?
Further to this, do you guys use this mod rewrite for all your additional pages that are use the links from wordpress but not the actual blog?
- The topic ‘Mod Rewrite: What actually is this?’ is closed to new replies.