View Single Post
  #4  
Old 11th March 2011, 15:04
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
that is a search and replace system it search's for a text and replaces them with a defined text like so
search for
http://yoursite/index.php
replace with
http://yoursite/home

and again

search for
details.php?id=([0-9]*) (this ([0-9]*) denotes to look for only a number)

replace with
(found number)-ie-cache-fix.html

example
PHP Code:
        $rewrite_search[] = "'(?<!//)details\.php\?id=([0-9]*)'";
        
$rewrite_replace[] = "\\1-ie-cache-fix.html"
and remember in rewrite.htaccess
you need to set the rule
Code:
RewriteRule ^([0-9]*)-ie-cache-fix.html details.php?id=$1
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote