Wrong redirect with i18n languageprefix

Created on 5 February 2013, over 11 years ago
Updated 2 May 2024, about 2 months ago

I updated a i18n site from D6 to D7 and divided the modules according the the new standard both in contrib and custom.
Some "users", like search engines and other bots, try to fetch images from the module section. Due to the change in the path the old imagelocation is gone. Example:
sites/all/modules/languageicons/flags/en.png
now is
sites/all/modules/contrib/languageicons/flags/en.png.
I defined this redirect in the redirect module.
But when the redirect is requested the redirect ends in a redirect to:
xx/sites/all/modules/contrib/languageicons/flags/en.png
where xx is the current languageprefix.
And this path doesn't exists.

Is this a problem:
- in my settings
- in the redirect module
- in the i18n module

Thanks for your answer.

πŸ› Bug report
Status

Closed: outdated

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands PROMES

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024