0

I have had a joomla component 1.5 which is rebuild for joomla 3x The URL structure is native URL Structure index.php?option=com_productnews&view=list&Itemid=7

However - after rebuild the Itemid is changed to 102 index.php?option=com_productnews&view=list&Itemid=102

How to ensure or reswap in the Old Itemid to it Pls advise

  • Is it a problem for SEO reasons or something else? If it is, I'd probably turn on SEO friendly links and use the redirects manager to redirect the old URLs. It's not really good practise to show the users the parameters. If your productnews component is bespoke then you might need to write a router. – Richard B Jul 20 '16 at 17:44
  • Similar topic: joomla.stackexchange.com/questions/16245/… – FFrewin Jul 27 '16 at 15:40
-1

Just create a redirect in the .htaccess file from the old URL to the new URL.

  • This will break the menu item with the id 7 in the migrated site forever. I know what you want to archive, it's a simple solution but not the best way. – Dennis Heiden Jul 27 '16 at 9:05
  • How will it do that? Could you please elaborate? The redirect includes the full link, and not just the item id. I also noticed that you downvoted my answer but your answer is exactly the same as mine, albeit longer and somewhat wrong. – itoctopus Jul 27 '16 at 13:41
  • I did a mistake, redirecting cannot break a menu item with the same id in OPs context, because the url would be different and therefore not matching the redirect rule. – Dennis Heiden Jul 28 '16 at 6:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.