[pmwiki-users] Removing index.php from address?

Chris Cox ccox at airmail.net
Tue Feb 26 15:17:37 CST 2008


Maxime Joanis wrote:
> http://wiki.example.com/index.php/Site/Search
> 
> Wouldn't it look better w/o index.php?
> 
> I don't know if this can be done easily, I'm already using the $EnablePathInfo =
> 1; config...
> 
> Any way I can do this?

I use Apache and use mod_rewrite for this.
I also use that for making some pages (e.g. the login page)
SSL'd for my site.

Is that easy?  Well... pretty easy...

I know there's several examples on the pmwiki site
of how to do it this way ... but I'll admit, every
situation is slightly different.

Example sites:

http://www.ntlug.org/Main/HomePage
http://theendlessnow.com/ten/Main/HomePage
http://www.endlessnow.com/poetofgod/Main/HomePage

Each of these are done a bit differently... but
all with rewrites.





More information about the pmwiki-users mailing list