highlander
Customer
The question below didn't get answered in a way that was helpful to the developer. Do you have some kind of document that describes the syntax of these rewrite rules? He is struggling with the syntax
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
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