You cannot use [R=301] and expect the URL to not change. R stands for redirection. This way it will change to the URL you told him. For internal rewriting you need to leave this.
If you have .htaccess at the root of your document, you should do this. I donβt know how your setup is, but this should rewrite the URI.
Options -Multiviews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^app/index.php/appmedia/default/login/?$ /app/index.php/zurmo/default/login [L]
If you are using the yii framework , follow these steps:
'urlManager' => array ( 'class' => 'application.core.components.ZurmoUrlManager', 'urlFormat' => 'path', 'caseSensitive' => true, 'showScriptName' => true, 'rules' => array(
source share