Ah! I see, we have shorten the URL and this is generated URL
http://aro.koyauniversity.org/aro/editor/submission/91
That …/aro/… should not be there. it should read which I tried and it works
http://aro.koyauniversity.org/editor/submission/91
So the base url does not work in this case.
From submission page I click to send email to author and gives me correct URL
http://aro.koyauniversity.org/user/email?redirectUrl=http%3A%2F%2Faro.koyauniversity.org%2Faro%2Feditor%2Fsubmission%2F91&to[]=Hamid%20Turki%20Maliki%20<hamid.haykal%40gmail.com>&subject=&articleId=91
which I send the email, which email is sent successfully, the return page land in 404 Not found, which is caused by that extra /aro/ which should not be there. I refer to this discussion which we had before
Yes that solved the issue with user site, and now I can add the /index to base_url[index] in config as
base_url[index] = http://aro.koyauniversity.org/index
base_url[aro] = http://aro.koyauniversity.org
restful_urls = on
but still I have to have redirection to my htaccess to make the short URL work
RewriteEngine On
RewriteCond %{HTTP_HOST} ^aro.koyauniversity.org$
RewriteRule ^$ http://aro.koyauniversity.org/index [L,R=301]
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{DOCUMENT_R…