[TYPO3] How to avoid frontpage duplicate? (when using CoolURI)
Oliver Rowlands
oliver at liquidlight.co.uk
Sat Dec 29 14:47:05 CET 2007
Hi Morten,
Checking 'Is root of website' in the page properties of your 'Frontpage'
will do the trick but it is a bit of a hack, you might want to check
this doesn't have any unwanted side effects.
Then simply use a ModRewrite rule to do a permanent redirect:
RewriteRule frontpage\.html / [R=301,L]
Best regards,
Oliver
Morten Kjems wrote:
> Hi.
>
> I have a site with the following structure:
>
> ->Root
> ->Frontpage
> ->Subpage
> ->Subpage
> ->Section 1
> ->Subpage
> ->Subpage
>
> The Rootpage hold the template and is a shorcut to "Frontpage".
>
> This works well but it leaves me with two URLs for the same page:
>
> www.domain.com and www.domain.com/frontpage.html
>
> How can I avoid this?
>
> I would like the URL for the frontpage to be simply www.domain.com
>
> But I would like the old link to keep working so that bookmarks and
> links around the net continiues to work.
>
> How can I acheive this?
>
> Any suggestions?
>
> I am using CoolURI to generate the URLs.
>
> Thanks
> /Morten
>
>
--
Oliver Rowlands
:: Liquid Light ::
E - oliver at liquidlight.co.uk
W - http://www.liquidlight.co.uk
T - 00 44 (0)845 6 58 88 35
F - 00 44 (0)845 6 58 44 35
More information about the TYPO3-english
mailing list