[TYPO3-english] RealURL renders all links as baseURL

Jennifer Koenig jenka13all at gmail.com
Wed Jul 13 15:08:47 CEST 2016


hi,,

would anyone have an idea why realurl might render all my fluid links as the baseURL?

TYPO3 6.2.25
RealURL 2.0.14

such a link:

 <f:link.page absolute="1" pageUid="31" noCacheHash="1">my link here</f:link.page>

is rendered as a link pointing to (for example) http://mywebsite.de

My TS config looks like this:

config {
  language = de
  locale_all = de_DE
  htmlTag_langKey = de
  baseURL = http://mywebsite.de/
  tx_realurl_enable = 1
}

RealURL config:

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'] = array(
	'_DEFAULT' => array(
		'init' =>
			array(
				'enableCHashCache' => false,
				'appendMissingSlash' => 'ifNotFile,redirect',
				'adminJumpToBackend' => true,
				'enableUrlDecodeCache' => true,
				'enableUrlEncodeCache' => true,
				'emptyUrlReturnValue' => '/',
			),
		'pagePath' =>
			array(
				'type' => 'user',
				'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
				'spaceCharacter' => '-',
				'languageGetVar' => 'L',
				'rootpage_id' => '1',
			),
		'postVarSets' => array(
			'_DEFAULT' => array(
				'controller' => array(
					'GETvar' => 'tx_myext1_pagecontent[controller]', 'noMatch' => 'bypass'
				),
				'searchController' => array(
					array(
						'GETvar' => 'tx_myext2_rating[controller]', 'noMatch' => 'bypass'
					)
				),
				'sortController' => array(
					array(
						'GETvar' => 'tx_myext3_packagelist[controller]',  'noMatch' => 'bypass'
					)
				),

				'page' => array(
					array(
						'GETvar' => 'tx_myext2_rating[@widget_0][currentPage]',
					),
				)

			),
		),

		'fileName' =>
			array(
				'defaultToHTMLsuffixOnPrev' => 1,
				'acceptHTMLsuffix' => 1,
				'index' =>
					array(
						'print' =>
							array(
								'keyValues' =>
									array(
										'type' => 98,
									),
							),
						'sitemap.xml' => array(
							'keyValues' => array(
								'type' => 808,
							),
						),
					),
			),
	)
);


and .htaccess:

RewriteEngine On
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php

The page id 31 exists - I can call it as http://mywebsite/index.php?id=31 just fine. Yes, I've cleared all the caches several times. I've even tried deinstalling and reinstalling realurl. Also, the realurl config is pointing to the correct file with my realurl configuration, and there is no auto_config.php file to get messed up with.

Anyone have an idea?


More information about the TYPO3-english mailing list