are there any .html pages in tiki?
To everyone who was saying removing the tiki- prefix on pages is a huge task that probably isn't really worth it, I just accomplished it with a grand total of three (3) lines of code in the .htaccess file. I win.
For anyone interested, this is what I did:
ReWriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /tiki-(.+)\.php
ReWriteRule ^tiki-(.+)\.php %1.html [R=301,QSA,L]
ReWriteRule ^(.+)\.html $1.php [QSA]
Feel free to post it on the tiki site if you want :)
Oh, sorry, I forgot one more line further down in the file: ReWriteRule ^(.+)\.php tiki-$1.php [QSA]
that's only half of the issue
you still need to get tiki to generate those links
Eh, it's good enough
If you click on a tiki link that goes to a tiki- page, it'll change it to a non-tiki- page...the only time users will see the tiki- is in the little bar at the bottom of their browser that says where a link goes to when they mouse over it
hmm...i take that back, it appears to prevent me from logging in :(
meh, i was so close :(
why is there a tiki- in front of all the pages anyway?
someone thought it was a good idea nearly a decade ago and the convention stuck
maybe i'll try renaming all the files again...
it's sad really, seems like tikiwiki is a great cms, one of the best i've tried, but this is really preventing me from using it :(
all right, i can't get this to work :(
you said before there's a ton of templates and some php to modify...any hints on where i should start looking for these?
anyone here?
Myrkul: For the PHP side, tiki-sefurl.php, lib/smarty_tiki/modifier.sefurl.php and/or the tiki_sefurl_regex_out table.
ok, 2 files, that's not so bad
For templates, see for example templates/tiki-lastchanges.tpl line ~53 ( {$lastchanges[changes].pageName|sefurl} )
how many templates do i need to change?
probably a few hundreds
but the sefurl out table wih the option enabled might help
all right, well, there's no way i'm gonna change a few hundred templates
thanks for all the help, but tikiwiki is useless for me, i'll have to find a different cms
sad to hear hiding the CMS was your #1 priority
good luck
ok, i'm trying to understand how these template files work...in the one chealer posted before (templates/tiki-lastchanges.tpl), there's a link that looks like this: