Ask us any question about Linguise service and get an instant reply!
Hello!
It's not entirely clear from the documentation...
We run a self-hosted Next.js/Node site behind Cloudflare, not PHP. Can we use Linguise’s native axantum.com/de/... subdirectory mode without installing the PHP script?
Please confirm the DNS/origin configuration and that canonical URLs, hreflang, sitemaps, and dynamic JavaScript content are supported.
Hello,
Thanks for your question!
The native subdirectory mode (axantum.com/de/...) relies on the Linguise PHP script, so it is only available for PHP-based platforms. Since your site runs on Next.js/Node and not PHP, it needs to be registered as "Other Cloud Hosted CMS", which serves the translated pages on language subdomains instead (de.axantum.com, fr.axantum.com, etc.). The PHP script is not required for this.
The setup is:
1. Register your domain in the Linguise dashboard and select "Other Cloud Hosted CMS".
2. Add the TXT record (domain validation) and one CNAME record per language in your DNS settings (you can do this in Cloudflare).
3. Add the Linguise JavaScript snippet in the head of your site.
Regarding your other points, hreflang tags are added automatically, and content loaded dynamically with JavaScript can be translated through the script's dynamic translation feature. For canonical URLs and sitemaps, we will confirm the details for your setup with our team and follow up here.
Setup documentation: https://www.linguise.com/documentation/linguise-installation/install-linguise-automatic-translation-on-cloud-hosted-cms/
Let us know if you have any further questions.
Best regards,
Linguise Support
Leave a reply