How can i redirect from www.example.com/dietitian/reema.verma.3 to www.example.com/dietitian/#/3 ? Please help.
Options +FollowSymLinks
RewriteEngine On
Redirect www.example.com/dietitian/reema.verma.3 www.example.com/dietitian/#/3
How can i redirect from www.example.com/dietitian/reema.verma.3 to www.example.com/dietitian/#/3 ? Please help.
Options +FollowSymLinks
RewriteEngine On
Redirect www.example.com/dietitian/reema.verma.3 www.example.com/dietitian/#/3
You can only match REQUEST_URI using RewriteRule or Redirect.
Use this rule:
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^/?(dietitian)/.+\.(\d+)/?$ /project/$1/#/$2 [L,NC,NE,R=301]