Url rewriting not working in Concrete5.8.3.1

Permalink 0 0 Browser Info Environment
Hello Team,

We have developed a website in Concrete5.8.3.1. We have a single page where we are showing details of particular object. The url of single page is "/training/detail/1". Now I want to make some seo friendly url so if we type /alle-opleidingen/1 it must call /training/detail/1. I created a htaccess file in root and below is my code :

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule ^/alle-opleidingen/(.*)$ /training/detail/$1 [L]
RewriteRule ^/test$ /contact [L]
RewriteRule . index.php [L]
</IfModule>

When I type /alle-opleidingen/1 in url concrete return me 404 error. I also tried some basic rewriting like '/test' should call '/contact' but it also not work. Can you please suggest me what I have to do ?

Thanks


Status: New

concrete5 Environment Information

All environments

Browser User-Agent String

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.108 Safari/537.36