Main menu

Forum


× Help Forum English

Modern Routing 404 Error

  • Dwuletzki
  • Topic Author
  • New Member
  • New Member
More
5 years 7 months ago #15998 by Dwuletzki
Modern Routing 404 Error was created by Dwuletzki
Have the following problem.
Have in Joomla the Modern Routing enabled, and to remove the option IDs set to YES.

Since old URLs with IDs give an error 404, I made the following entry in the htaccess
RewriteCond %{REQUEST_URI} ^(.*)/(\d+)-([^/]+)$
RewriteRule ^ %1/%3 [L,QSA,R=301]

Now the old URLs with IDs will work again and will be redirected to the URL without ID.
But if I have this entry in the Htaccess, will all links on iCagenda stop working?

If I remove the entry again, then everything works wonderfully, but then go just the old URLs with the article Ids no more

Can who help?
I use iCagenda ™ PRO [3.7.3]

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
5 years 7 months ago #16001 by Lyr!C
Replied by Lyr!C on topic Modern Routing 404 Error
Hello,

There's not yet integration of new routing in iCagenda component (to be done when i will set minimum Joomla version to the one including the new joomla routing).

So, if you mean the option in Articles global options, this should have no effect on iCagenda.

Your htaccess rewite may have bad effect on not-ready new routing extensions.
And the new routing of Joomla was integrated as a by-component option.

You can just enable it for articles and compatible components, and let for now iCagenda with ids...

Hope this helps ?

Cyril

Latest version : iCagenda 3.9.3
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Please Log in or Create an account to join the conversation.

  • Dwuletzki
  • Topic Author
  • New Member
  • New Member
More
5 years 7 months ago #16005 by Dwuletzki
Replied by Dwuletzki on topic Modern Routing 404 Error
First of all thank you very much for your answer!
I then only have one option, and this would be that I remove the rule from the HTACCESS again. Then iCagenda would work again.

But old links with article IDs in search engines lead to a 404 error.

Therefore, I will unfortunately have to do without iCagenda for the time being.

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
5 years 6 months ago #16014 by Lyr!C
Replied by Lyr!C on topic Modern Routing 404 Error

But old links with article IDs in search engines lead to a 404 error.

Yes, this is one reason it is recommended to use for articles only on new site.

But if you use the component Redirect from joomla, and you don't have to much articles, you can set redirect for each one (from with id to without id).
I don't know if any htaccess trick can do the job for articles only... but maybe you could find it on the joomla forum or stack ?

Regards,
Cyril

Latest version : iCagenda 3.9.3
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Please Log in or Create an account to join the conversation.

Moderators: Lyr!C
Time to create page: 0.117 seconds

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new