Re: SEF URLs .. Yes I know it's been discussed Reply #15 – January 05, 2018, 09:33:43 pm Quote from: ahrasis – January 05, 2018, 08:52:14 pmSure. If your are willing to share yours @Feline, I think many of those who are interested can easily port it here.Well .. we are near to release the next Update (version 1.3) because we have optimized many parts, also the SEF engine.If this availabe, any registered member can download this release and look at our SEF code .. it's only one file and all parts can by called via hooks ...Ofcourse all (c) notices must stay in any clone ... it's licensed under MPL 1.1Fel
Re: SEF URLs .. Yes I know it's been discussed Reply #16 – January 05, 2018, 09:49:21 pm Quote from: Feline – January 05, 2018, 09:33:43 pmQuote from: ahrasis – January 05, 2018, 08:52:14 pmSure. If your are willing to share yours @Feline, I think many of those who are interested can easily port it here.Well .. we are near to release the next Update (version 1.3) because we have optimized many parts, also the SEF engine.If this availabe, any registered member can download this release and look at our SEF code .. it's only one file and all parts can by called via hooks ...Ofcourse all (c) notices must stay in any clone ... it's licensed under MPL 1.1FelIt's interesting, though I doubt it will be as simple as that... SEF as an afterthought isn't super simple but it's doable, and unless the architecture is similar it will require heavy modification indeed.. I kind of like how Joomla CMS has done it with their router framework.. but stripping that out and porting it over would be difficult too, and there'd be no help I'm sure. It's part of the core of the software.
Re: SEF URLs .. Yes I know it's been discussed Reply #17 – January 05, 2018, 10:24:21 pm Well ... elkarte and our Forum is based on the same source .. SMF
Re: SEF URLs .. Yes I know it's been discussed Reply #19 – January 06, 2018, 07:57:02 am Quote from: oneduality – January 05, 2018, 08:22:01 pmI absolutely get it, It was not meant in the sense I was expecting you to pick it up, sorry for the misunderstanding [1], it was more stating the facts that leaded to not have it implemented in Elk up until now. Quote from: oneduality – January 05, 2018, 08:22:01 pmI just think this software is one of the cleanest I've looked at, I like the interface on the back-end and it's feature rich.. so I think the one thing missing is this.Yep, agree, and that's why I proposed it as project to work on. TBH I (as a user) am not very fond on the "friendly" urls, mostly because I'm kind of old school and from time to time I cannot do copy&paste, but I have to type things (on different devices), so for me it's much easier to type 123 rather than a long title, but of course that's just me. 1 Of course if you are interested in picking it up that's all good ↵
Re: SEF URLs .. Yes I know it's been discussed Reply #20 – January 06, 2018, 08:09:14 am Quote from: ahrasis – January 05, 2018, 07:17:25 pmI think most of SEF or similar mods requires only apache rewrite so it is not universal enough for those who use nginx to test or help to develop.That's why one of the things I would like to evaluate is using a routing php-side, maybe symfony or the routing component of another framework.
Re: SEF URLs .. Yes I know it's been discussed Reply #21 – January 06, 2018, 08:49:02 am Quote from: emanuele – January 06, 2018, 08:09:14 amusing a routing php-sideI've seen this aproach in other forum software, and works fine with Apache or Nginx or other web server
Re: SEF URLs .. Yes I know it's been discussed Reply #22 – January 06, 2018, 09:46:30 am Quote from: oneduality – January 05, 2018, 08:40:45 pmOhh, I didn't realize you were mentioning your forum software on ElkArte's forums .. usually that's frowned upon so I assumed it was a customization to ElkArteWhen relevant (like here) I don't see why it should be frowned upon. The advertisement in the signature is more questionable I suppose.Quote from: Allan – January 05, 2018, 07:20:34 pmEven though it's not a need for proper SEO it still brings a very clean look to a forum, that many people want. I don't give a darn about it looking "clean",[1] but I definitely prefer elkarte.net/community/sef-blablabla over community/index.php?topic=4848 because then I know what it is I'm clicking on.I despise the rise of URL shorteners. Quote from: emanuele – January 06, 2018, 08:09:14 amThat's why one of the things I would like to evaluate is using a routing php-side, maybe symfony or the routing component of another framework.Heck, you could also have something like elk.com/?t=1234&legible-but-totally-unused=sef-urls-yes-i-know-its-been-discussedAlso, while I'm not fond of the idea, with History.push() you could just pretend on the client-side without any server involvement at all.1 That's not entirely true, but I think that one or two query string parameters like in Elk are also "clean." It's only on, say, Google that query strings become absurd, unclean creatures. But that doesn't really have anything to do with query strings per se.↵
Re: SEF URLs .. Yes I know it's been discussed Reply #23 – January 08, 2018, 08:47:26 pm A question for @Feline, does your forum + customized SEF mod work well on Nginx?
Re: SEF URLs .. Yes I know it's been discussed Reply #24 – January 09, 2018, 01:06:42 am Quote from: Feline – January 05, 2018, 08:45:24 pm@emanuele known the code .. she is the right person to implement that for elkarte (I think) FYI she is a he. Okay, sometimes women have beards too. lol
Re: SEF URLs .. Yes I know it's been discussed Reply #25 – January 09, 2018, 01:15:22 am esp dwarves (yay LOTR)
Re: SEF URLs .. Yes I know it's been discussed Reply #26 – January 09, 2018, 01:31:31 am I love LOTR and all stories that play in Tolkien's worlds! oh, I still have to read the letters to Santa Claus!
Re: SEF URLs .. Yes I know it's been discussed Reply #27 – January 09, 2018, 11:33:16 am Quote from: ahrasis – January 08, 2018, 08:47:26 pmA question for @Feline, does your forum + customized SEF mod work well on Nginx?Because I don't have Nginx I can't test it ...What you need is a mod_rewrite like apache have ..This is the .htaccessCode: [Select]# sef engineRewriteBase /forum/RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)$ index.php?q=$1 [L,QSA]Fel
Re: SEF URLs .. Yes I know it's been discussed Reply #28 – January 09, 2018, 08:08:00 pm That part is quite easy in Nginx. But others, I am not so sure. However, thank you very much for the information.
Re: SEF URLs .. Yes I know it's been discussed Reply #29 – January 10, 2018, 08:34:10 am No harder in Lighttpd either.