[TYPO3] Realurl: looking for comprehensive simple
teepo3
nospam at thanks.com
Mon Feb 6 16:12:51 CET 2006
Ries, it worked for me providing I use it along with:
config.baseURL = http://localhost/typo3/
in my local Windows machine. 'localhost' alone w/o dir doesn't work.
"Ries van Twisk" <typo3 at rvt.dds.nl> wrote in message
news:mailman.10763.1138764243.6406.typo3-english at lists.netfielders.de...
> Simon Child wrote:
>
> >"Matyi Gábor" <gmatyi at freemail.hu> wrote in message
> >news:mailman.10680.1138740657.6406.typo3-english at lists.netfielders.de...
> >
> >
> >
> >>I have a very simple website, there are 5 page:,
> >>
> >>
> >
> >
> >
> >>for this site structure I'd like to get the following pages:
> >>
> >>http://www.mysite.hu/home.html
> >>http://www.mysite.hu/aboutus.html
> >>http://www.mysite.hu/references.html
> >>http://www.mysite.hu/links.html
> >>http://www.mysite.hu/contacts.html
> >>
> >>
> >
> >For this simple you don't need to use RealURL. Instead, just set the
alias
> >in the header of each page, e.g. page id 1 set alias to home, and page id
2
> >set alias to aboutus, etc.
> >
> >
> >
> You also need to add this to localconf.php
>
> I did cut and pasted it a bit...... so let me know if it works, and /or
> come to #typo3 :)
>
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
> 'init' => array(
> 'enableCHashCache' => 1,
> 'appendMissingSlash' => 'ifNotFile',
> 'enableUrlDecodeCache' => 1,
> 'enableUrlEncodeCache' => 1, ),
> 'preVars' => array(
> array(
> 'GETvar' => 'no_cache',
> 'valueMap' => array(
> 'no_cache' => 1,
> ),
> 'noMatch' => 'bypass',
> ),
> ),
> 'fileName' => array (
> 'defaultToHTMLsuffixOnPrev' => 1,
> ),
> 'pagePath' => array(
> 'type' => 'user',
> 'userFunc' =>
> 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
> 'spaceCharacter' => '-',
> 'languageGetVar' => 'L',
> 'expireDays' => 365
> ),
> );
>
> Ries
More information about the TYPO3-english
mailing list