Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

1.2. Users manual

- Default configuration file is placed in EXT:cooluri/coouri/CoolUriConf.xml_default. You have to copy it somewhere, remove “_default” from the extension and specify path to it in the extension's setup.

- Use the same .htaccess as you'd with the RealURL (that means, redirect everything to index.php):

RewriteEngine On

RewriteRule ^/(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)$ - [L]

RewriteRule ^/(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/.*$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule .* index.php

  1. Add this to your template:

config.baseURL = http://www.example.com/

config.tx_cooluri_enable = 1

config.redirectOldLinksToNew = 1 # if you want to redirect index.php?id=X to a new URI

Multidomain support

If you have more domains in one page tree, make sure to check the option in ext. setup. And then you have to specify domain for EVERY rootlevel page!

Migrating from RealURL

The field Speaking URL path segment (tx_realurl_pathsegment) is kept with its values, but make sure it's listed in the <title> element.

Installing CoolURI with DBAL extension

Everything is fine now.