Quote:
Originally Posted by joeroberts
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
|
I know what you mean, I need that if I want to Torrent Name appears as the end of the URL.
For example:
My Torrent name is: No Strings Attached 2011, my website is
http://www.yoursite.com ,
Then the URL will now show
http://www.yoursite.com/details.php?id=1,
I want to show the URL
http://www.yoursite.com/No-Strings-Attached-2011.html,
how to change it?
Other pages are similar to the above situation.
Now,the URL shown by default.
In addition: It seems that the default only recognizes the first Tracker, how can it recognize Additional Tracker, and display the Trackers and the Additional Tracker's seeds and leechers