Translations
Info
All page names need to be in English.
en da  de  fr  it  ja  km  nl  ru  zh

Cooluri

From TYPO3Wiki
(Redirected from Ext/CoolURI)
Jump to: navigation, search
Extension detail information
CoolURI
This extension will offer you nicer URLs.
documentation state needs a review document state list
licence OCL
forgeproject
mailinglist
usergroups list of usergroups forAdmins, forIntermediates
author(s) Jan Bednarik
TER category fe
dependency NONE

<< Back to Extension manuals page

[edit]


notice - Open Content License

This document is published under the Open Content License

The content is related to TYPO3 - a GNU/GPL CMS/Framework available from typo3.org


Introduction

The CoolURI extension is for getting nicer URLs within your TYPO3 installation.

What does it do?

It will transform all parameters and options to your favorite directory names.

Users manual

For the users manual please have a look at the extension page for CoolURI.

Installation

TYPO3 Extension

  1. First open the Extension Manager at the Admin tools section of TYPO3.
  2. Import CoolURI extension online from repository or via upluad from a local filebase.
  3. Afterwards install the extension.
  4. Now CoolURI should be listed as a 'loaded' extension.
  5. Furthermore your typo3conf/LocalConfiguration.php of TYPO3 should contain $TYPO3_CONF_VARS['EXT']['extListArray'] = '... ... ... cooluri'
  6. cd typo3conf/ext/cooluri/cooluri/
  7. cp CoolUriConf.xml_default CoolUriConf.xml

.htaccess

  1. Go to your TYPO3 installation directory
  2. cp _.htaccess .htaccess
  • If you want to get access to some special directories (e.g. my_special) outside your TYPO3 CMS but within this path you must adjust the .htaccess like the following:
vi .htaccess
###RewriteRule ^(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favicon\.ico)/ - [L]
RewriteRule ^('''my_special'''|typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favicon\.ico)/ - [L]

your URLs

  • Extend your root-TypoScript
TS TypoScript:
page.config.simulateStaticDocuments = 0
page.config.tx_cooluri_enable = 1
# my_basedomain
page.config.baseURL = http://my_basedomain/
# optional: redirect old links to the new once
page.config.redirectOldLinksToNew = 1
  1. Clear all caches of TYPO3
  2. Go to Admin tools / CoolURI
  3. Select 'Delete/Update all'
  4. Delete everythink and start again
  5. Now start testing and look afterwards at 'Cached links' which should contain a transformation matrix now.

FAQ

Subdirectory

  • If your TYPO3 installation is in a subdirectory of the webserver and NOT in the root directory you must do the following additional task:
  1. Edit first your root-TypoScript and change
    page.config.baseURL = http://my_basedomain/my_subdirectory/typo3/
    
  2. Go to 'Admin tools / CoolURI / New link'
  3. Enter URI like: my_subdirectory/typo3/
  4. Enter Parameters like: id=1
  5. Mark 'Sticky (won't be updated)' as selected
  6. Save new URI
  7. Got to 'Cached links' and check if my_subdirectory/typo3/ id=1 is listed
  8. Now accessing your TYPO3 frontend (e.g. http://my_basedomain/my_subdirectory/typo3/) without adding 'index.php' should work.

Hide pathsegments

  • Hide some pathsegments of your template TYPO3 tree.
  1. Go to Template
  2. Select the entry to hide
  3. Edit page properties
  4. If Type is not 'Standard' select it temporary
  5. Now you can mark Exclude this page from middle of a page path
  6. If necessary change your template type back to the original setting
  7. I don't know why this entry is not visible at a 'Shortcut' type!?!
  8. Clear cache
  9. Delete CoolURI data and start again