Multilanguage redirection bug
hello,
I have a "websiteEnglish.com" which is the English version of the website.
at the footer of this website I have created a embed code in simple html to show a list of the same website in the other languages (like a network of mirrors).
One of the link lead to "websiteSpanish.com" and this website is in 2 languages: Spanish and Catalan.
So when brizy handle multilanguage, it add the Language Suffix in the URL, so when you load the "websiteSpanish.com" is automatically redirect to "websiteSpanish.com/es/"
BUT
If you create a link that lead directly to the "websiteSpanish.com/es" the redirection became "websiteSpanish.com/es/es" generating a 404 page.
-
Hello Valerio,
Have a look at https://restaurant-1.brizy.site/hyperlinks. I have added two buttons, one with a hyperlink to the Spanish website and the other to the Catalan website. When clicking on each button, the appropriate websites loads. I do not see a 404 error.
Did I understand you question correctly? If not, kindly give us more details.
0 -
try to create an emebd link in pure html, like:
<a href="https://websiteSpanish.com/es"> website</a>
Example
<div><p class="flags">Our services in other languages:<br>
<a href="https://www.traduccionesnaati.com/es" target="_blank" title="Traduccionesnaati.com">
<span class="fi fi-es"></span>
Traduccionesnaati.com
</a></p></div>0 -
Hello Valerio,
I have added the following HTML code for the first button and a similar code for the second button at https://restaurant-1.brizy.site/hyperlinks. The buttons hyperlink correctly to its respective websites.
<a href="https://www.traduccionesnaati.com/es/">
<button type="button" name="myButton">Spanish website</button>
</a>
<style>
button {
color: #ffffff;
background-color: #2d63c8;
font-size: 19px;
border: 1px solid #2d63c8;
padding: 15px 50px;
cursor: pointer;
text-decoration: none;
display: inline-block;
}
button:hover {
color: #2d63c8;
background-color: #ffffff;
}
</style>0 -
maybe the <button> make it correct but a simple text link still has a bug, check the footer of this page:
https://www.naatitranslations.com/
have a look at the footer html, click on the spanish website that now I have linked as
https://www.traduccionesnaati.com/es0 -
Hello Valerio,
Kindly add a forward slash at the end of the hyperlink https://www.traduccionesnaati.com/es. With the forward slash, your hyperlink should look like https://www.traduccionesnaati.com/es/ Adding this revised hyperlink should fix the issue on your website https://www.naatitranslations.com/
0
Please sign in to leave a comment.
Comments
5 comments