Jump to content

Need Mod Rewrite Help


SevenBC

Recommended Posts

Ok.. I'm very very new to Mod Rewrite.. and I just started reading about it, but I'm pretty much lost.. haha

 

First off, I'm not sure if I'll be able to use it, bcuz the pages that I want to "Rewrite" are receiving variables from other pages using the GET method..

Which, I luckily made it through that.. Let me show you examples of pages I want to rewrite..

 

They aren't using any ID Numbers.. they are using Strings.. which are important, bcuz these strings are used to pass information

such as the header and other info that I do not want to lose.. Here is an example:

 

1.) http://www.sevenbeez.com/watchVideo2.php?id=/videos/e/16711680/wshhXIiiJ3CG68m53wJ1&name=Seal%20-%20A%20Change%20Is%20Gonna%20Come

 

2.) http://www.sevenbeez.com/listenAudio.php?path=mp3/The%20Fugees%20-%20Ready%20Or%20Not.mp3&name=The%20Fugees%20-%20Ready%20Or%20Not

 

3.) http://www.sevenbeez.com/viewLyrics.php?file=lyrics/Carter3/mrcarter.txt&song=Mr.%20Carter

 

 

These are very very very ugly looking links, I know.. but If I could somehow clean it up, without losing the functionality of passing the information, that would be great.. Is this Possible. and if so... HOW DO I DO IT?  Please help!  Thanks.

Link to comment
https://forums.phpfreaks.com/topic/127090-need-mod-rewrite-help/
Share on other sites

I added this rule, and it had no effect.. I even changed it around a bit, and it didn't alter the URL at all.. im wondering if im missing something very very simple.. I believe my server has mod rewrite capabilities bcuz, I already see other Rewrites within the .htaccess file.. Hmm.. I know that it says someting about adding a $ after the strong code, which I didn't see in the code that u gave me.. but I added that, and still nothing.. any ideas?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.