Help Center Advanced
SEO: Language Codes As Subdirectories
SEO: Language Codes As Subdirectories
Last updated: 4 months ago
1 minute read
Steven Wise
CEO at SiteTran


SEO: Language Codes As Subdirectories

If you have control over your backend so that you can create subdirectories to return static translated pages like those generated by our Static API, or if you’re generating static translated pages another way, SiteTran can keep everything in sync for an optimal SEO solution.

Add your language codes and URLs as "key": "value", pairs respectively to the object variable below.


For example, on SiteTran’s homepage, this is what we have.

sitetran.static_url_language_code_lookup = {

Couldn't find what you were looking for?

In this article

Website Translation Made Easy