I have a strange problem with my website: www.hotelilconvento.it. It is a multilingual website, and I have associated the “Contact Us” page across all languages.
Everything works fine except for the Italian language. When I open the “Contact Us” link in any language except Italian and then click on the Italian flag, Joomla opens the link https://www.hotelilconvento.it/contattaci?format=html instead of https://www.hotelilconvento.it/contattaci.html.
Do you have any Idea to fix this problem?
Thank you
Tony
Advertisement
Association arrticle problem link with ?format=html as suffix
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Intern
- Posts: 67
- Joined: Mon Sep 06, 2010 5:41 pm
- Contact:
Advertisement
-
- Joomla! Explorer
- Posts: 375
- Joined: Thu Jun 10, 2010 12:38 pm
- Contact:
Re: Association arrticle problem link with ?format=html as suffix
Tony,
I just tried your site selecting each language and they all looked fine, including Italian. When I selected Italian the link that opened was: https://www.hotelilconvento.it/contattaci.html
I tried on two networks I have access to and with different browsers. Could it be a cache issue on your browser?
I just tried your site selecting each language and they all looked fine, including Italian. When I selected Italian the link that opened was: https://www.hotelilconvento.it/contattaci.html
I tried on two networks I have access to and with different browsers. Could it be a cache issue on your browser?
-
- Joomla! Intern
- Posts: 67
- Joined: Mon Sep 06, 2010 5:41 pm
- Contact:
Re: Association arrticle problem link with ?format=html as suffix
Hi and thank you to help me.
Yes off course it's work if you click on the contact us when you visit the Italian language
But if you are on the English page contact us and then you click on the Italian flag to open the Italian page connected on the English contact us you can see the Italian page opened but the link is different.
The correct one is /contattaci.html
The one that Joomla shows Is :
/contattaci?format=html
But the page is opened. It's works.
The problem is only the link.
I don't know if I can have problem with that
Yes off course it's work if you click on the contact us when you visit the Italian language
But if you are on the English page contact us and then you click on the Italian flag to open the Italian page connected on the English contact us you can see the Italian page opened but the link is different.
The correct one is /contattaci.html
The one that Joomla shows Is :
/contattaci?format=html
But the page is opened. It's works.
The problem is only the link.
I don't know if I can have problem with that
-
- Joomla! Guru
- Posts: 544
- Joined: Sat Aug 20, 2005 3:15 pm
- Contact:
Re: Association arrticle problem link with ?format=html as suffix
Hi
The problem is not in the language switcher or the language by itself. The links in the language switchers are fine, including the Italian link:
Your problem is that if someone clicks on that link, https://www.hotelilconvento.it/contattaci.html, your server is doing a redirect to https://www.hotelilconvento.it/contattaci?format=html
So you should look for anything on the site that does redirect:
- the Joomla redirect component
- your .htaccess
- any extension you may have where you configured some redirects
It's still very odd as the redirect only happens when you click on the link in the language switcher. If you just paste the https://www.hotelilconvento.it/it/contattaci.html in your browser, no redirect happens.
The problem is not in the language switcher or the language by itself. The links in the language switchers are fine, including the Italian link:
Code: Select all
<ul aria-labelledby="language_picker_des_142" class="lang-block dropdown-menu">
<li><a aria-label="Русский (Россия)" href="/ru/свяжитесь-с-нами.html"> <img
src="/media/mod_languages/images/ru_ru.gif" alt="Русский (Россия)"> RU </a></li>
<li><a aria-label="Español (España)" href="/es/contáctenos.html"> <img src="/media/mod_languages/images/es_es.gif"
alt="Español (España)"> ES </a></li>
<li><a aria-label="French (fr-FR)" href="/fr/contact-nous.html"> <img src="/media/mod_languages/images/fr_fr.gif"
alt="French (fr-FR)"> FR </a></li>
<li class="lang-active"><a aria-current="true" aria-label="English (United Kingdom)"
href="https://www.hotelilconvento.it/en/contact.html"> <img
src="/media/mod_languages/images/en_gb.gif" alt="English (United Kingdom)"> EN </a></li>
<li><a aria-label="Italiano (it-IT)" href="/it/contattaci.html"> <img src="/media/mod_languages/images/it_it.gif"
alt="Italiano (it-IT)"> IT </a></li>
</ul>
So you should look for anything on the site that does redirect:
- the Joomla redirect component
- your .htaccess
- any extension you may have where you configured some redirects
It's still very odd as the redirect only happens when you click on the link in the language switcher. If you just paste the https://www.hotelilconvento.it/it/contattaci.html in your browser, no redirect happens.
4SEO, 4AI, 4Command, 4Podcast, 4Video, SEO and content extensions for Joomla 3, 4 & 5 - https://weeblr.com
I don't reply to PM anymore. Thanks for using our extensions.
I don't reply to PM anymore. Thanks for using our extensions.
-
- Joomla! Intern
- Posts: 67
- Joined: Mon Sep 06, 2010 5:41 pm
- Contact:
Re: Association arrticle problem link with ?format=html as suffix
Thank you for you r help.
I'll check the .htaccess hoping I found the problem there.
Thank you
Tony
I'll check the .htaccess hoping I found the problem there.
Thank you
Tony
Advertisement