GetSimple Support Forum
(Optional) Remove index.php from non-fancy URLs - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Feature Requests (http://get-simple.info/forums/forumdisplay.php?fid=7)
+--- Thread: (Optional) Remove index.php from non-fancy URLs (/showthread.php?tid=651)



(Optional) Remove index.php from non-fancy URLs - Carlos - 2010-04-19

With the default installation (fancy URLS off) pages have URLs like this:

SITE/index.php?id=page-slug

In most cases (index.php being a default document, no other index.html, etc. present) you can also open them with this shorter URL:

SITE/?id=page-slug

Not as good as fancy URLs, but a bit prettier for those without mod_rewrite (or not wanting to use it).

It isn't difficult to patch GS to do it this way, by editing function find_url(), but it would be fine to have it as an option (be it in GSCONFIG, or in a checkbox).

---
Edit: since GS 2.03 you can do this with custom permalink structure ?id=%slug%