Quote:
Originally Posted by soundbarrierpro
Hi @ jacquiicooke
that won't work, at least for me, because the video director settings is specifically looking for the rewrite rules configured with the package. Once I add the rewrite rules in your post, then go back and refresh the vid directory options in ACP, it's still saying to add the package re-write rules. And I get a mysql cannot connect to database message.
|
Ooops - sorry. I believe the settings looks for
"//Video-Directory" code - so add that at the top of the rewrite rules and the message should no longer appear:
Quote:
//Video-Directory
'^video\.php\?do=viewrecent'=>'videos/recent-videos.html'
'^video\.php\?do=viewtag&tag=(.*)'=>'videos/tags/$1/'
'^video\.php\?do=viewcategory&categoryid=(\d+)&cat egorytitle=(.*)&sort=dateline& order=DESC&page=(\d+)'=>'videos/$2-$1/page-$3/'
'^video\.php\?do=viewdetails&categoryid=(\d+)&cate gorytitle=(.*)&videoid=(\d+)&v ideotitle=(.*)'=>'videos/$2-$1/$4-$3.html'
'^video\.php\?do=viewcategory&categoryid=(\d+)&cat egorytitle=(.*)&page=(\d+)'=>' technique/$2-$1/$3/'
'^video\.php\?do=viewcategory&categoryid=(\d+)&cat egorytitle=(.*)'=>'videos/$2-$1/'
'^video\.php'=>'videos/'
|