Hi
I am sorry to say that this is not true. Maybe in the past, I don't know, but today it isn't. Simply keep the ID of the articles in the migration and that's it.
I have migrated sites from joomla 1.5 to joomla 3 with more than 10,000 articles and the id in the url without problem.
This is totally true. You're only talking of a very small subset of possible migrations. Should one day Joomla universal content system (UCM) be generalized or com_content be reworked, you'll see what I mean.
The URL and the title are very different things and to assume that they should go "together" is very exaggerated
Not what I said. I said that two different page, with 2 different URLs, must have 2 different titles. If that title is to be determined automatically, as is th case here, I see not other option than including the id.
among other reasons because Google News required it to index us when they started working.
At this time, the item id was not valid for Google News (it was too small). sh404SEF had a Google News-compatible id system:
You can still use is, it's still there for backward-compatibility reasons.
The problem is that now removing the ID from the URLs would mean changing the url of thousands of articles and it would be a serious SEO problem.
I wish we could remove the ID from the URLs of the articles without affecting SEO.
Better not change indeed. The "right" way would probably be to keep them both but insert a canonical from the id-version to the non-id-version. Minimal benefit and risks associated with possible errors in the process makes it a non-starter for me.
I thank you very much, and we will be aware of upcoming changes, but in summary: Please do not add the ID to <title> automatically! Thank you very much and greetings from spain.
The default behavior will not change (sh404SEF is backward compatible to its mambo version, I don't change things at all, usually). However you'll be able to customize the automatically generated title as you see fit, as I said, with a few lines of code. Something like that:
ShlHook::add(
'sh404sef_should_insert_article_id_in_title',
function (
$shouldInserArticleId,
$use,
$item) {
$shouldInserArticleId = $item->id != 17;
return $shouldInserArticleId;
}
);
This is a "filter" and we have started adding many of them throughout sh404SEF, based on what we do for our WordPress plugin: it allows fine-grained customization in a very simple manner without cluttering the user interface and documentation with hundreds of settings - sh404SEF currently has more than 300 options.
Best regards