I am using opencart and I want to rewrite a url through htaccess. I have tried to rewrite the url but it redirects me to the "page not found" page.
I have tried to rewrite the url using the following pattern
RewriteRule product/detail/(.*)/$ /index.php?route=pro/det&photo_id=$1
Thanks in advance.