X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/6af5bf82902dc31491da50c3e836f03ec1073e48..651cdd4b2a85f4e5f9d298a7eea7d0e6d94442b1:/doc/tips/switching_to_usedirs.mdwn?ds=inline diff --git a/doc/tips/switching_to_usedirs.mdwn b/doc/tips/switching_to_usedirs.mdwn index 183ce00ac..777394f10 100644 --- a/doc/tips/switching_to_usedirs.mdwn +++ b/doc/tips/switching_to_usedirs.mdwn @@ -1,3 +1,5 @@ +[[!meta date="2007-04-29 22:48:35 +0000"]] + As of version 2.0, ikiwiki will switch to enabling the 'usedirs' setting by default. This *will* break all URLs to wikis that did not have 'usedirs' turned on before. You can either follow this procedure to convert your wiki @@ -8,9 +10,7 @@ to usedirs, or edit your setup file and turn usedirs back off. or manually. * Since usedirs is enabled, ikiwiki will have created a bunch of new html files. Where before ikiwiki generated a `dest/foo.html`, now it will - generate `dest/foo/index.html`. But, the old html files will still be - present too. Remove them: - find dest -name \*.html -not -name index.html -exec rm {} \; + generate `dest/foo/index.html`. The old html files will be removed. * If you have a blog that is aggregated on a Planet or similar, all the items in the RSS or atom feed will seem like new posts, since their URLs have changed. See [[howto_avoid_flooding_aggregators]] for a workaround.