Welcome to WebmasterWorld Guest from 34.239.158.107

Forum Moderators: rogerd & travelin cat

Meta tag and multilingual WP

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

Senior Member

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

joined:Oct 25, 2006
posts: 1103
votes: 1


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.
2:35 pm on June 28, 2019 (gmt 0)

Administrator from US 

WebmasterWorld Administrator not2easy is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Dec 27, 2006
posts:4396
votes: 314


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.

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

Senior Member

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

joined:Oct 25, 2006
posts: 1103
votes: 1


Thank you for all information.
4:06 pm on July 6, 2019 (gmt 0)

New User from US 

joined:July 5, 2019
posts:5
votes: 0


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.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members