highlander
Customer
Hello, i am installing a video gallery. The developer who is working on this wants to add custom rewrite rules. He is having trouble with syntax though. How can he add these to dbseo ?
# YTM
ReWriteRule ^videos-category/(\d+)/(.*)/(\d+)$ ytm.php?do=cat&cid=$1&t=$2&page=$3 [QSA]
ReWriteRule ^videos-category/(\d+)/(.*)$ ytm.php?do=cat&cid=$1&t=$2 [QSA]
ReWriteRule ^videos ytm.php [QSA]
ReWriteRule ^video/(\d+)/(.*)$ ytm.php?do=watch&m=$1&t=$2 [QSA]
we tried
"^ytm\.php$" => "videos",
"^ytm\.php?do=watch&m=$1&t=$2$" => "video/(\d+)/(.*)"
but no success.
Thank you
# YTM
ReWriteRule ^videos-category/(\d+)/(.*)/(\d+)$ ytm.php?do=cat&cid=$1&t=$2&page=$3 [QSA]
ReWriteRule ^videos-category/(\d+)/(.*)$ ytm.php?do=cat&cid=$1&t=$2 [QSA]
ReWriteRule ^videos ytm.php [QSA]
ReWriteRule ^video/(\d+)/(.*)$ ytm.php?do=watch&m=$1&t=$2 [QSA]
we tried
"^ytm\.php$" => "videos",
"^ytm\.php?do=watch&m=$1&t=$2$" => "video/(\d+)/(.*)"
but no success.
Thank you