Customizing SMF > SMF Coding Discussion
Queryless URL's - how do they work?
Curbow 5:
Common sense dictates they should use Apache's mod_rewrite. I found all the querystring rewriting stuff in Querystring.php, but I can't seem to find any reference to a .htaccess file or the RewriteEngine anywhere...
How does this work in SMF? ???
Skoen:
You can set urls to be queryless in your admin panel -> in the Mod Settings -> just below the Moderator log setting. Activate it, hit Save and the forum should have queryless urls.
Curbow 5:
LOL I'm sorry, I must've not been clear. I know how to activate the queryless URL's; I was asking how they work technically: what happens codewise when I hit that checkbox and save.
Thanks for helping though! ;)
[Unknown]:
Apache, in most configurations, will send:
index.php/some/stuff
To index.php.
-[Unknown]
Curbow 5:
i see... so there's no .htaccess with rewriting rules?
also, which configuration specifically is needed?
thanks!
Navigation
[0] Message Index
[#] Next page
Go to full version