The default configuration of DokuWiki is good enough for most uses, but with SEO in mind, it has some poorly chosen configuration options. We're not sure why these settings have been set this way but assume historical reasons (or in other words: backward compability).
Note that this page is part of our article on a SEO optimized DokuWiki.
The following table lists the configuration settings changed from its default values and provides the reasoning behind it. As you can see, the table is quite long, which indicates, that we have changed a lot of options:
work in progress!
Setting | Default Value | SEO Value | Description | Comments |
---|---|---|---|---|
start | start | ![]() | name of start page | We did not change this value and will not change it in the future due to compability issues. However, you might change it to an important keyword (e.g., seo). That way, you'll get some additional keywords in default urls (instead of http://en.seowiki.info/start you'll get http://en.seowiki.info/seo as inbound links) |
title | DokuWiki | SEO Wiki ![]() | what to show in the title | Should be a short name that is being displayed in the header of the page (right side) and, more importantly in the title of the page. This value should contain your most important keyword (here: “SEO” and “Wiki”) |
template | default | seo ![]() | download and extract to lib/tpl | We are currently preparing our SEO optimized template for DokuWiki for your convenience |
breadcrumbs | 10 | 0 ![]() | how many recent visited pages to show | We think that the breadcrumbs are a little complicated, therefore we turned them off |
youarehere | 0 | 1 | show “You are here” navigation? 0,1 | Instead of the breadcrumbs, we turned the hierarchical breadcrumbs on. This shows our visitor the current location within the Wiki. |
useheading | 0 | 1 | use the first heading in a page as its name | This is an important option for onpage SEO. Turn it on to make sure that the first heading is used as the title of the page. This makes sure that you can better influence what keywords are included in your page title. |
refcheck | 1 | 1 | check for references before deleting media files | |
refshow | 0 | 0 | how many references should be shown, 5 is a good value | |
usewordblock | 1 | 1 | block spam based on words? 0,1 | |
indexdelay | 60*60*24*5 | allow indexing after this time (seconds) default is 5 days | ||
relnofollow | 1 | 1 | use rel=“nofollow” for external links? | |
useacl | 0 | 1 | Use Access Control Lists to restrict access? | |
autopasswd | 1 | 0 | autogenerate passwords and email them to user | |
userewrite | 0 | 1 | this makes nice URLs: 0: off 1: .htaccess 2: internal | |
useslash | 0 | 1 | use slash instead of colon? only when rewrite is on | |
usedraft | 1 | 1 | automatically save a draft while editing (0,1) | |
sepchar | _ | _ | word separator character in page names; may be a letter, a digit, '_', '-', or '.'. | |
canonical | 0 | 1 | Should all URLs use full canonical http://... style? | |
autoplural | 0 | 1 | try (non)plural form of nonexisting files? | |
cachetime | 60*60*24 | 60*60*24 | maximum age for cachefile in seconds (defaults to a day) | |
subscribers | 0 | 1 | enable change notice subscription support | |
compress | 1 | 1 | Strip whitespaces and comments from Styles and JavaScript? 1,0 | |
hidepages | Regexp for pages to be skipped from RSS, Search and Recent Changes | |||
send404 | 0 | 1 | Send a HTTP 404 status for non existing pages? | |
sitemap | 0 | 1 | Create a google sitemap? How often? In days. | |
rss_type | rss1 | rss1 | type of RSS feed to provide, by default: ('rss' - RSS 0.91, 'rss1' - RSS 1.0, 'rss2' - RSS 2.0, 'atom' - Atom 0.3, 'atom1' - Atom 1.0) | |
rss_linkto | diff | page | what page RSS entries link to: ('diff' - page showing revision differences, 'page' - the revised page itself, 'rev' - page showing all revisions, 'current' - most recent revision of page) | |
rss_content | abstract | abstract | what to put in the items by deafult? | |
rss_update | 5*60 | 5*60 | Update the RSS feed every n seconds (defaults to 5 minutes) | |
recent_days | 7 | 7 | How many days of recent changes to keep. (days) | |
rss_show_summary | 1 | 1 | Add revision summary to title? 0,1 | |
target:wiki | Set target to use when creating links - leave empty for same window | |||
target:interwiki | Set target to use when creating links - leave empty for same window | |||
target:extern | Set target to use when creating links - leave empty for same window | |||
target:media | Set target to use when creating links - leave empty for same window | |||
target:windows | Set target to use when creating links - leave empty for same window |