[TYPO3] Advanced Banner management and RealURL problem

matt matt at f13.co.uk
Thu Jan 26 15:41:52 CET 2006


Hi,

I've checked out my config.baseURL paramter... And it exists... And it is correct... Also in the head of every page of site appears
the base tag e.g.

<base href="http://domain.tld/subdirectory/" />

Anyone got any other ideas?

Thanks

-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de [mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Christopher
Sent: 24 January 2006 17:40
To: TYPO3 English
Subject: Re: [TYPO3] Advanced Banner management and RealURL problem

Hi,

On 1/24/06, matt <matt at f13.co.uk> wrote:
> I don't really understand how using the RewriteBase directive is going to help... I tried it anyway and it didn't solve the
problem.
>
> What I can see happening is this....
>
> The links that the Banner system are producing are relative links e.g.
>
> <a
> href="products/interesting_page.html?no_cache=1&amp;tx_macinabanners_p
> i1%5Bbanneruid%5D=1">
>
> Hence, if your currently viewing a page at say:
>
> URL: http://mydomain.tld/home/products/morestuff.html
>
> and click to link above, it will take you to the following page, relative to the current page:
>
> URL: http://mydomain.tld/home/products/products/interesting_page.html
>
> I don't think the fact that my typo3 install is in a subdirectory has much significance, but I may be wrong of course.
>
> If anyone knows what's going on here I would be very thankful to hear.


I think there's an error in your logic above :)

Using Realurl, you should have, in the head of your page:

<base href="http://domain.tld/subdirectory/" />

Set this up with "config.baseURL=http://domain.tld/subdirectory/" in your template. Any relative links on the page will be relative
_to the href attribute of the base element_. This leads me to conclude that the base element is probably missing from the head of
your pages--OR, since you're working in a subdirectory, that the href attribute is somehow wrong (i.e. missing the subdirectory
etc).

-Christopher
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.22/239 - Release Date: 1/24/2006
 




More information about the TYPO3-english mailing list