Quote:
Originally Posted by Hastin
Great hack, but have a couple of issues:
1. What would the .htaccess look like for a forum installed in /forums/?
2. It seems that all my videos in the index are black. I've tracked this down to how the script is parsing the videoid. Most of my videos have the wrong id in the database. What's going on?
|
Code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^videos\.html&page=([0-9]+)$ http://www.micechat.com/forums/videos-page$1.html [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^videos\.html$ index.php?videos=1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^videos-page([0-9]+)\.html$ index.php?videos=$1 [L]
Regarding the wrong ID's, could you please show me an example?
Best Regards,
Jan Jaap