Welcome Guest, Not a member yet? Register   Sign In
Question on using .htaccess


I'm working on a code-igniter based site at http://mith.umd.edu/theatrefinder and need to change the .htaccess rules to hide some /class/function/ID paths.

Here's the problem: When clicking on the About section from the main page, the URL changes to http://mith.umd.edu/index/about. We want this to be http://mith.umd.edu/about, essentially taking out the 'index' portion of the URI. I've been bumping around http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html trying to familiarize myself with RewriteRule in .htaccess, but I find myself just scratching my head.

Anyone have any advice or tips?


Whoops - let me correct something:

We want the .htaccess file to direct http://mith.umd.edu/theatrefinder/index/about to: http://mith.umd.edu/theatrefinder/about

good read: http://www.farinspace.com/codeigniter-htaccess-file/

Theme © iAndrew 2016 - Forum software by © MyBB