The journal's URL will be http://ojs.ed.uiuc.edu/index.php/<path>
What I want is this:
The journal's URL will bee http://ojs.ed.uiuc.edu/<path>
What do I need to do?
I'd similarly like to have this url redirct too , because index.php is redundant in the url and makes it a hassle for individuals linking the site up and I consider it a search engine opitimization to have clean, simple urls. So, I have taken Kevin's response to use mod_rewrite in creating a .htaccessfile to mask the url and make it much cleaner, my .htaccess file looks like this:
- Code: Select all
Options -Indexes
Options +FollowSymLinks
DirectoryIndex index.php index.html
RewriteEngine on
RewriteBase /
RewriteRule ^\.htaccess$ - [F]
RewriteRule ^index.php/(.*)$ e/$1
The bottom rewrite rule is the one that takes anything with a index.php and just clips it out... but when I point my browser to my url, http://primatology.info, I notice the url properly reflects my recipe, however it doesn't load up anything... meaning the redirect timed out. Is this because index.php is required to parse information?
Can anyone help out in modifying the recipe, to get it to rewrite without an index.php in the url but have it functional? I am sure there are others out there that have either tried this and ran into road blocks like, tried this and succeeded, or would like to do this in the future.
