Main menu

Forum


× Help Forum English

Modern Routing 404 Error

  • Dwuletzki
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 5 ans 7 mois #15998 par Dwuletzki
Modern Routing 404 Error a été créé par 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]

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 5 ans 7 mois #16001 par Lyr!C
Réponse de Lyr!C sur le sujet 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • Dwuletzki
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 5 ans 7 mois #16005 par Dwuletzki
Réponse de Dwuletzki sur le sujet 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.

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 5 ans 7 mois #16014 par Lyr!C
Réponse de Lyr!C sur le sujet 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: Lyr!C
Temps de génération de la page : 0.117 secondes

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new