GetSimple Support Forum

Full Version: (Optional) Remove index.php from non-fancy URLs
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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%