History: TikiWikiRewriteRule
Preview of version: 17
This is useful to make short URLs
http://tikiwiki.org/TikiWikiRewriteRule
shows http://tikiwiki.org/tiki-index.php?page=TikiWikiRewriteRule
An htaccess file is now available directly in the Tiki download. Just rename _htaccess to .htaccess
You can also get it from CVS:
http://tikiwiki.cvs.sourceforge.net/tikiwiki/tiki/_htaccess?view=markup
Developers: please contribute your enhancements to CVS.
The comments/info below may be outdated...
That page had an odd problem of display recently.
I investigated and that's really odd it looks like it depends on the number of line of the rule. I srip some lines, and, at one point, it works, after 9 liners removed, whatever the lines. I fixed it by splitting the preformatted tag in two. I tried np, pp and CODE, same result... mose
--
Fixed the rewrite rules a bit, primarily by trial and error, based on http://tikiwiki.org/SEFURLs
- Having a "slash" in beginning of the the rewriterule didn't work,
is this an apache2 thing maybe? Don't think spacing in Wiki names will work yet either.
FunkyPenguin 2004-07-01
You can now find SEF URL mod in the mods.tikiwiki.org file gallery
--
A very wise post from Loyd Wood :
For the upcoming version, you say:
"Search-engine friendliness: Re-write rules added so your Tiki objects can be accessed in a search-engine friendly way"
What would it take to provide better naming of tiki pages?
wiki/RandomSubjectName
is far better expressed as
wiki/Random-Subject-Name
so that e.g. google can pick up on the individual words and index them with high priority. Most 80sTrendyAppleCaps wikis fare badly in search engines as a result; the hyphenated form should imo be the default, and that would work better with typos and Apache's mod_speling too.
thanks.
L.
--
Loyd: I think spaces are now supported in object names, so: wiki/Random+Subject+Name
SEWilco 2004-04-14
Disable the re-writes in a directory
You can disable the re-writes in a directory by dropping in an .htaccess file containing the following:
<IfModule mod_rewrite.c> RewriteEngine Off </IfModule>
As you probably know, this affects all sub directories.
History
| Information | Version | |||||
|---|---|---|---|---|---|---|
| drsassafras Mass search and replace | 22 | |||||
| drsassafras Mass search and replace | 21 | |||||
| Marc Laporte | 20 | |||||
| Marc Laporte no longer relevant | 19 | |||||
| Marc Laporte more info | 18 | |||||
| Marc Laporte cleanup | 17 | |||||
| Jason Diceman add disable the re-writes in a directory code | 16 | |||||
| Lorinc | 15 | |||||
| Juzan Jean-Michel | 14 | |||||
| Juzan Jean-Michel | 13 | |||||
| Damian Parker tidy up and move the junk to the bottom. | 12 | |||||
| Jason Diceman add mod link | 11 | |||||
| funkypenguin | 10 | |||||
| SEWilco Noted Wiki Names allow spaces | 9 | |||||
| Marc Laporte | 8 | |||||
| Mose | 7 | |||||
| Mose | 6 | |||||
| Mose | 3 | |||||
| Mose added numbers in rule for wiki pages match | 2 | |||||