Jump to content

SEO tricks for multilanguage WHMCS-based site


Remitur

Recommended Posts

Having my main site which is managed by WHMCS too (and not only the "customer control panel), and using a (limitated) number of different languages (three), I'm wondering what's the best way to manage it for SEO purposes.
I've read here other posts about it, have googled around, but still quite confused...  😮

  • for knowledge base, no great issues: WHMCS still manage them well, so maybe just a sitemap specifying different URL for same article in different languages will be sufficient (even if a little annoying)
  • main issue about a limited number of pages, which mainly presents different services in three different languages.
    The issue is that WHMCS create them using the very same url, even if later proposed in different languages.... so, i.e., the same URL  https://mywhmcssite.com/reseller_hosting.php may bring to tthree completely different pages, in three different languages
    And for SEO and Google this is horrible.

I can see three different ways to fix this issues:

  1. for every needed page, I create three different pages, with different URL/title for every language.
    So, i.e.,  https://mywhmcssite.com/reseller_hosting.php for english, https://mywhmcssite.com/hosting-reseller.php for italian, https://mywhmcssite.com/der-reseller-hosting.php for deutsch and so on...
    Then, in sitemap I'll need to specify corresponding pages in different languages.
    And compiling the menu will be little complicated (with a number of nested "if" clauses, related to the language used)

     
  2. In sitemap I consider the URL for every page not a simple https://mywhmcssite.com/reseller_hosting.php, but always with the language specified: so, in sitemap I'll have three entries: 
    https://mywhmcssite.com/reseller_hosting.php?language=Italian 
    https://mywhmcssite.com/reseller_hosting.php?language=english 
    https://mywhmcssite.com/reseller_hosting.php?language=deutsch
    maybe the simplest way, but I'm not sure it will works (and maybe I must also specify in sitemap that the pages without the language clause need not to be indexed...)  
     
  3. I create three different subdirectories:
    https://mywhmcssite/en/
    https://mywhmcssite/it/
    https://mywhmcssite/de/
    And in each of them i insert the right version of each page for the corresponding language.
    Maybe the best fix for SEO purposes, but I didn't found any way to do it with WHMCS (and I'm not sure it even exist...)  

    Any further idea?

 

Link to comment
Share on other sites

You should also force visitors to stay on the right page. Let me explain:

  • English pages:
    • example.com/cats
    • example.com/news
  • Italian pages:
    • example.it/gatti
    • example.it/news

Not only you need to create this structure that actually works, but you should force all your visitors on the correct page. They can't be allowed to browse example.com/cats in Italian. Similarly example.com/news must provide contents always written in English.

Back on topic In order to create this stucture you need to detect your language directly from domain (example.it, example.com, example.de), directory (example.com/it, example.com/en, example.com/de) or alias/subdomain (it.example.com, en.example.com, de.example.com) and set the right language accordingly.

Link to comment
Share on other sites

9 hours ago, Kian said:

Back on topic In order to create this stucture you need to detect your language directly from domain (example.it, example.com, example.de), directory (example.com/it, example.com/en, example.com/de) or alias/subdomain (it.example.com, en.example.com, de.example.com) and set the right language accordingly.

It would be great but... how to force WHMCS to work on different domains or subdomains?

AFAIK, if I install WHMCS on mydomain.com, it won't work (with a licence issue) if I try to install it also on mydomain.it or even in it.mydomain.com ... 😳

While I guess (but not for sure) that somehow it's possible, having WHMCS installed in mydomain.com, make few additional pages working in a different subdirectory (i.e. mydomain.com/it/ ...)

Link to comment
Share on other sites

If you are using multiple domains, subdomains/aliases you simply have to make them resolve your server address from DNS Management so that you have something like follows:

  • example.com A 123.123.123.123
  • example.it A 123.123.123.123
  • example.de A 123.123.123.123

When DNS propagation has completed for you, all the above domain will resolve and open your WHMCS. Now you have to code your script inside an action hook (I can't remember the right one at the moment) so that when it detects example.com it loads English, when it's example.it loads Italian and so on.

p.s. Before you ask there's is no issue with WHMCS Licensing. Years ago they confirmed that there's nothing wrong.

Link to comment
Share on other sites

  • 2 weeks later...
On 8/9/2018 at 10:50 AM, Kian said:

 

p.s. Before you ask there's is no issue with WHMCS Licensing. Years ago they confirmed that there's nothing wrong.

I confirm it's working fine (caveat: it's required to WHMCS support to add the further domains to licence and reissue the licence with new domains)

On 8/9/2018 at 10:50 AM, Kian said:

Now you have to code your script inside an action hook (I can't remember the right one at the moment) so that when it detects example.com it loads English, when it's example.it loads Italian and so on.

hummm... any further details about such a hook?

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated