[TYPO3] Unique page titles? (CoolURI | RealURL)
Sascha Mantscheff
sascha at mantscheff.net
Wed Jan 16 12:04:59 CET 2008
Thanks a lot. That's a really helpful answer. Now I even now where the
numbers come from in non-unique alias fields.
s.m.
Ernesto Baschny [cron IT] schrieb:
> Sascha Mantscheff wrote: on 13.01.2008 00:47:
>
>> For SEO purposes I'd like to enforce unique page titles throughout my
>> site. Do you know of an extension or a configuration option which
>> helps with that?
>> I could just add a unique index to the pages table. But this approach
>> would require a varchar field instead of a blob, and it would not
>> consider hidden and deleted page records which should not be taken
>> into account by the unique title requirement.
>
> To make TYPO3 enforce that, you need to tweak the TCA that configures
> the pages "title" field:
>
> $TCA['pages']['columns']['title']['config']['eval'] = 'required,unique';
>
> e.g. in typo3conf/extTables.php
>
> That would enforce the uniqueness by appending numbers to "non-unique"
> page titles.
>
> Like Dmitry, I don't see how this relates to realurl / cooluri or how
> this can be of any use for SEO purposes, but maybe that hint helps in
> your task.
>
> Cheers,
> Ernesto
More information about the TYPO3-english
mailing list