Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

How to make a multi-language meta tags on the fly ?


Recommended Posts



I have a specific .php (meta_tags.php) file that generates pre-defined meta tags form my showdefine.php?iautoid=XXX pages. It's fine but it works only in french ! The pages in English or German (the two other languages in my website) uses french meta tags (so I understand it's bad from a SEO prospective...)


The .php file is located at the admin level. I though it would be better to locate it in includes/languages/french and use the translated versions of this .php in includes/languages/english and includes/languages/german.


Does it make sens ?


If so, what you be the script (is it actually the following : //echo TITLE; ?></title>-->

<? include "meta_tags.php"; ?>)






Thx in advance ;-)

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.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

  • Create New...