URL rules for pages with different languages?

3 replies
  • SEO
  • |
Hi guys,

I work on a website that is in English and in Spanish. The same categories have English and Spanish variations / pages.

Each version of the URL is different, so I assumed they would be different pages, but according to one of our developers it's the following:

<link rel="canonical" href= "https://oursite.com/en/category1english" >

<link rel="alternate" href= "https://oursite.com/en/category1english hreflang="en-us">

<link rel="alternate" href="oursite.com/es/categoria1español" hreflang="es-es">

"As a variation. Not as separate."

I wonder, from an SEO perspective, could having this one variation affect the other page? Would it be better to have two URLs perhaps? Or is this setup okay? Historically it hasn't harmed the ranking of pages, but with new algorithm updates, some pages have taken a hit, all other things held equal...

I know no one has the answer 100%, but any insights would be greatly appreciated.

Thanks
#languages #pages #rules #url
Avatar of Unregistered
  • Profile picture of the author Milesgeek
    Google might consolidate the content of both URLs.To avoid this you can separate your URLs with hreflang tags for better clarity.

    Eg.

    <link rel="canonical" href="https://oursite.com/en/category1">
    <link rel="alternate" href="https://oursite.com/en/category1" hreflang="en-us">
    <link rel="alternate" href="https://oursite.com/es/categoria1" hreflang="es-es">
    Signature
    MilesWeb cPanel Plans - Start White-Label Reselling
    Multiple Server Locations | 24x7 Support
    {{ DiscussionBoard.errors[11787336].message }}
  • Profile picture of the author Priya Zinavo
    Implement language-specific subdirectories or subdomains in URLs, such as /en/ for English and /es/ for Spanish, ensuring clear organization and SEO optimization for pages in different languages.
    {{ DiscussionBoard.errors[11788687].message }}
  • Profile picture of the author dave_hermansen
    Originally Posted by David C. View Post

    Historically it hasn't harmed the ranking of pages, but with new algorithm updates, some pages have taken a hit, all other things held equal...
    I think you may have answered your own question with that sentence. If only a handful of pages have had decreased rankings but the majority have not, how you are dong it now is clearly not affecting your page rankings, although other things are playing a factor.
    Signature
    BizSellers.com - The #1 place to buy & sell websites!
    We help sellers get the MAXIMUM amount for their websites and all buyers know that these sites are 100% vetted.
    {{ DiscussionBoard.errors[11788765].message }}
Avatar of Unregistered

Trending Topics