Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
(Optional) Remove index.php from non-fancy URLs
#1
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%
Reply




Users browsing this thread: 1 Guest(s)