Okay I've spent some time trying to look into this and I just can't figure it out, so I'm going to tell you what I'm trying to do and hope that someone can help me out.
I'm trying to use the mod_rewrite command so that the following things happen:
- when www.epasture.com/content.php?content=laughables.php&ID=8 gets requested the browser will show something like www.epasture.com/laughables8.html
- similarily, when www.epasture.com/laughables8.html is requested the browser bar stays the same but the URL in the first example is delivered to the user
The twist: I have different sections so I need this to work for all of the pages. What I need is if someone typed in:
1) epasture.com/laughables.html it takes them to epasture.com/content.php?content=laughables.php
2) epasture.com/laughables8.html it takes them to epasture.com/content.php?content=laughables.php&ID=8
3) epasture.com/tutorials.html it takes them to epasture.com/content.php?content=tutorials.php
4) epasture.com/tutorials2.html it takes them to epasture.com/content.php?content=tutorials.php&ID=2
I hope this explained in enough detail what I'm after. Can anyone help?
I'm trying to use the mod_rewrite command so that the following things happen:
- when www.epasture.com/content.php?content=laughables.php&ID=8 gets requested the browser will show something like www.epasture.com/laughables8.html
- similarily, when www.epasture.com/laughables8.html is requested the browser bar stays the same but the URL in the first example is delivered to the user
The twist: I have different sections so I need this to work for all of the pages. What I need is if someone typed in:
1) epasture.com/laughables.html it takes them to epasture.com/content.php?content=laughables.php
2) epasture.com/laughables8.html it takes them to epasture.com/content.php?content=laughables.php&ID=8
3) epasture.com/tutorials.html it takes them to epasture.com/content.php?content=tutorials.php
4) epasture.com/tutorials2.html it takes them to epasture.com/content.php?content=tutorials.php&ID=2
I hope this explained in enough detail what I'm after. Can anyone help?













