Forum Moderators: rogerd & travelin cat

Message Too Old, No Replies

Meta tag and multilingual WP

         

toplisek

10:21 am on Jun 28, 2019 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I like to set multilingual WP using just meta tags like:
<meta property="og:locale:alternate" content="en_GB" />

How to manage this in practice. Is there any good article to do this as I do not like to implement plugins.

not2easy

2:35 pm on Jun 28, 2019 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



The default WordPress template and theme does not have meta tags but you can add your own. There are complete instructions on how to do that at the WordPress Codex: [codex.wordpress.org...]

To add meta tags to your site, simply add them to the header.php template file in your WordPress Theme, specifically in the head section near the link for the style sheet. At the top you will see the DOCTYPE tag and below that you will see a couple more tags and then the <title> tag....


Note: if you are not using a child theme, your header.php file will be overwritten with any WP update.

toplisek

12:57 pm on Jul 1, 2019 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thank you for all information.

HColor

4:06 pm on Jul 6, 2019 (gmt 0)

5+ Year Member



There is a plugin called "Meta Tag manager". It allows you to add, edit and manage meta tags for WordPress like you'd to it in HTML. Install it and try it. It works great and you have full control over the meta tags.