[TYPO3-english] How to configure page redirections?
Jean-Nicolas Kuttler
typo3-english at nicolaskuttler.de
Fri Jun 25 08:42:16 CEST 2010
That's configured in the site's template, see the realurl docs for details. I've been using something like
[hostname = localhost]
config.baseURL = http://127.0.0.1/
[else]
config.baseURL = http://example.com/
[global]
in the theme's setup to make the same install work on a dev server.
Nicolas
On Fri, Jun 25, 2010 at 08:21:40AM +0200, Patrick Perroud wrote:
> Hello,
>
> I am new to Typo3 and need to make a developer copy of an existing site in order to test modifications on localhost before they are eventually deployed online - etc.
>
> I was able to duplicate the entire site and related databases and to run it from my local system - but most href links are re-written on the fly and related pages are loaded from the online site - not from my local copy - which is hardly helpful to have modifications tested from my local system...
>
> In most page headers I can read stuff like this:
>
> <head>
> <base href="http://www.mysite.xyz/" />
> <meta http-equiv="Refresh" content="1;URL=<?php echo $_SERVER['REQUEST_URI']; ?>">
>
> etc...
>
> I suppose this is something I should be able to re-configure somewhere - so there is my question: How do I re-configure page redirections (assuming this is really the issue I need to address) to have the local site pages loaded from my local system but NOT from the online site as it's actually hapenning - as the local thing is just a plain duplicate from the online site...
>
> Any advice or pointer to have this issue addressed would be very much appreciated indeed.
>
> Best regards
>
> Patrick Perroud
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
--
Jean-Nicolas Kuttler
Web : www.nkuttler.de | www.nicolaskuttler.de
Mail : office at nicolaskuttler.de
Tel. : +49 681 3838138
MSN : msn at nicolaskuttler.de
skype : nkuttler
More information about the TYPO3-english
mailing list