Mobile app version of vmapp.org
Login or Join
Murray155

: Best SEO practice to redirect wrong URLs with mixed langage in it a bad plugin generated some wrong path that returned 404 errors when switching language on Joomla website. The plugin problem

@Murray155

Posted in: #Joomla3 #Seo #UrlRewriting

a bad plugin generated some wrong path that returned 404 errors when switching language on Joomla website. The plugin problem is solved (I removed it), now I just want to redirect this few errors to get everything clean.

Here is what happened :


User was on page /en/englishcontent
When switching to german langage, the URL retured was /de/englishcontent/id-germancontent
In case of long path, i got something like : /de/english-category/english-subcat/englishcontent/id-german-category/id-german-subcat/id-germancontent


So i have two langages in this URLs, and the SEF part is in the wrong langage.What's the best SEO practice : should I redirect to german content (the landing page) or to english content (the starting page)?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Murray155

1 Comments

Sorted by latest first Latest Oldest Best

 

@Alves908

What language was the content in?

If the broken link had english content, redirect there. And vice versa.

If there was no content - then it won't matter. Make sure you have the hreflang references either in your HTML or sitemap, then flip a coin. If the broken links are indexed by Google and are using 301 redirects then the equity will soon be absorbed by the page you've redirected to. The index can then sort which language the person is searching in and produce the appropriate alt.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme