How to add the Google Analytics tracking code to WordPress • WordPress Help

It does not matter if your site is a website, a blog, an online store or whatever, you have to track your traffic to know what you're doing right or wrong and the standard in web analytics is Google Analytics so let's see how to integrate Google Analytics with WordPress in all possible ways

But let's go in parts …

Sign up in Google Analytics

Even if you already have a GMail account you do not have the default Google Analytics account active you must activate it, so you'll have to go to to create the account.

On the first screen you just have to press the button to start the registration:

And already in the next screen you will be asked the data for your first account and web [194] 59010]:

Keep in mind some basic Google Analytics concepts:

  1. With your Google user you can create up to 100 Analytics accounts .
  2. Each account Analytics can have up to 50 properties (webs).
  3. These limitations are for free accounts.

Ergo …

  1. An Analytics account is a grouping of websites for example , webs of your company, personal webs, webs of clients 1, webs of clients 2, etc.
  2. In each Analytics account you will add properties (webs) with a cap of 50, so if you have more than 50 webs of customers name your accounts as Clients 1, Clients 2, etc. and in each account you enter up to 50 properties, reaching up to 5,000 sites as cap in free accounts .

Well, having said that, in the screen of the previous capture you will name your first Analytics account, eg " My webs [1 9459023] ", you will give a descriptive name to the first property, eg" My personal blog ", and you will put its URL, choosing if it is under the http or https protocol.

The adjustments of " Category of Sector " and " Time Zone of Reports " is optional, but choose whichever comes closest to what you want.

At the bottom of this first screen you also have other options, mainly tracking …

My advice is to leave them active, because many of them, even scare what you share, will help you to make your site more visible, even for possible advertisers. That's what it is.

That said, you only have to press the " Get tracking ID " button, which is where we wanted to go. Click on the button, and you will be asked to accept the terms and conditions of the service.

Once accepted you will already have the following tracking ID and some generic instructions to add it to your website.

It offers you 2 basic options, to call them in some way, because they are more for developers, but that's what we're doing in a moment. Do not worry we will see all, also these, and also simpler ways.

At the moment what I want to call your attention is on the so-called tracking ID, actually ID of the property, of the type ] UA-XXXXXXXXX-X .

Your tracking ID for this account that you have created will be, for example, UA-123456789, and each property of the same account will be distinguished by the number as of script . That is …

  • UA-123456789-1 will be your first property of that account.
  • UA-123456789-2 the second.
  • … and so on.

To add more properties you only have to display the name of the current property and click on " Create property ".

The following steps will be as in the first example:

To create more accounts you just have to navigate on this administration page from the arrows you'll see and choose " Create an account " (remember, up to 100).

Well, although this is not exactly integrating Google Analytics in WordPress (yet) it seems to me that it was worth explaining the previous steps, because many times we take for granted too many things, and most of people has never done it, so it's worth a review.

And if it's your first time for sure this preamble will not hurt you right?

Are we going to the heart of the matter?

How to add the Analytics tracking ID in WordPress with the All in One SEO Pack plugin

I want to start with this plugin, of the most used, and one of my favorites because it has a feature that greatly facilitates the integration of Google Analytics in WordPress .

You just have to go to the administration of your WordPress and, in the menu All in One SEO Pack> Settings navigate to the section named Settings of Google> Google Analytics ID . [19659003] Once there you just have to enter the tracking ID of your property, for example UA-123456789-1 .

Next I recommend you check the box called "Settings Advanced Analytics "and set them up like this: [19659003]

Of course, change that of by yours.

Once you save the changes Google Analytics will start tracking your site's traffic.

How add the Analytics tracking ID in WordPress with the Google Analytics Dashboard for WP plugin (GADWP)

If you do not use the All in One SEO Pack plugin, or if you prefer to use a method that gives you added value, then nothing better than the plugin Google Analytics Dashboard for WP (GADWP) .

Once installed and active you have to go to the plugin settings, in the new menu of your desktop called Google Analytics > General settings where you will have to obtain a Google authorization code, a very simple process.

Click on the button " Authorize plugin ", which will will take you to a page with a link in red, click there.

[19659003] It will take you to the Google accounts page, where you must select yours, with which you created your Google Analytics accounts and properties previously, and authorize the application (the plugin) to collect data from Google Analytics.

On the next screen you will be shown a code, which you must copy

And paste on the screen of the one you left in the plugin settings on your WordPress desktop (it will still be there, the whole process is opened in a new window)

If you did not make a mistake when choosing your account Google, and you already had the property created, the plugin will detect the property and show it to you in the view selection of that screen once the access code changes have been saved.

[19659003] Save the changes and you already have it. Your WordPress site integrated with Google Analytics.

What is the added value?

Well here comes the difference. After this process, this plugin wonder offers you the main statistics of Google Analytics without leaving your WordPress .

You can see them on your desktop, those of each publication in the listings of entries, pages, products, etc. and even on the web view, from the admin bar.

You will not have all the variety of reports and analyzes of Google Analytics but the main ones for to permanently track your traffic without leaving WordPress .

How to add the tracking ID of Analytics in WordPress with Divi

If you use the theme Divi and do not use any of the previous plugins, it is It's also very easy to integrate Google Analytics with your site.

Go to your Google Analytics account and copy the tracking JavaScript code.

Then go to your WordPress desktop, at Divi> Theme Options> Integ ration and on that screen activate the option " Activate header code ".

Once activated go to the box named " Add code to of your blog "and paste there the tracking code that you will find in your Google Analytics property.

Save the changes and you already have it.

As you can imagine, it is not the only subject that includes any section to insert the Analytics code, if you use another search in your settings.

How to add the Analytics tracking ID in WordPress with a function

Other Clean enough way to insert your Analytics code is doing it with a function . To do this, open your functions plugin, and if you did not have one, create one already and add the following function:

I think it's pretty self-explanatory function. Simply replaces the complete line 6 with the Google Analytics JavaScript code and saves the changes in your feature plugin.

How to add the Analytics tracking ID in WordPress manually in the theme code

] If you are one of those who like to manually enter your codes then your method is the traditional one .

Open the file header.php of your active topic (better if it is a child theme of course) and, before closing the header, paste the Google Analytics JavaScript code, previously copied clear.

You save the changes and that's it. Now, remember, lest you do not use a child theme and when you update the theme you lose the code, or change one of these to another topic and forget to re-insert the Analytics code.

As you will understand, for these reasons, I always recommend using any of the previous methods preferably using plugins that you always use, even if you change the subject.

How to add the Analytics tracking ID in WordPress with the implementation method PHP

If none of the previous methods convinces you, Google also suggests the possibility of manually inserting the code through what it calls the PHP implementation method which is a variation of the previous method .

What you have to do is create a new file and call it analyticstracking.php (for example). Open this file in your favorite code editor, paste the tracking JavaScript code there, save the changes and upload it to the active theme folder.

Once this is done, you just have to add the following line to your file ] header.php of the active theme, as in the previous method before closing the header tag:

] The disadvantages of this method are the same as those of the previous one, and it's a slower process, but well, you know something else.

I finally see the statistics of my site!

No matter the method chosen, in a few hours you should be able to see the traffic reports of your site in Google Analytics so you can make strategies of SEO, get to know your visitors and adapt to them and their likes your content marketing actions .

Final notes and tips

Before to answer your questions I would like to point out some detail and advice:

  • You will see in many parts that it is recommended to insert the code of Analytics in the tag but is cleaner in and the most reliable reports which is what it is.
  • I strongly recommend using a plugin or custom function before any method that has to do with the subject, because in case of updates or change of subject it is very common forgetting to re-insert the code.
  • DO NOT use more than one method simultaneously or you could falsify the statistics, and it's not about fooling yourself, but learning from your traffic to create better content strategies and SEO.
  • Do not use s other statistics systems neither those of JetPack nor those of any other plugin or service, no matter how much you like them more. The harsh reality is that Google Analytics are the standard and the only ones that any agency or client will accept you.
  • Do not get obsessed with real-time tracking. Analyze once a day the main parameters of traffic sources, bounce rate, time of stay and new users, verifying that there is no surprise or drastic change. With the GADWP plugin you have it very easy. And then, once a week, it analyzes the rest of the reports in Google Analytics and makes decisions.

I usually use the GADWP plugin since it offers a good balance between ease of implementation and tracking of daily statistics without have to go to the Google Analytics website.

In addition, makes it much easier to see the statistics of each publication something that in Google Analytics involves quite a few clicks until you arrive.

If you have any questions, consider it in the comments, and if you do otherwise, we are willing to learn.

Loading …

may also help you:

How to set up a perfect WordPress xml sitemap

If you have installed an SEO plugin like All in one SEO Pack or Yoast SEO you probably already have an XML sitemap but do you have it? configured correctly? Not only do we have to create an XML sitemap from our website, and add it to the Search Console and to Tools for Webmasters of Bing we also have to configure it well.

What is the XML Sitemap and what is it for?

 sitemap-xml "width =" 550 "height =" 265 "srcset =" 03 / sitemap-xml-550x265.gif 550w, 578w "sizes =" (max-width: 550px) 100vw, 550px "/> </a> </p>
<p> A XML Sitemap basically <strong> is a file that informs search engine crawlers about the structure of your website </strong>listing all (or part) of the existing URLs. search engine bots use this sitemap as an initial guide to crawl your website. </p>
<p> An XML Sitemap <strong> can contain information (metadata) about the frequency of update of each URL, the priority </strong> of it and, in the case of videos, the duration of the content. </p>
<p> You can (and must) create specific sitemaps for images, video and specialized content for mobile phones. of your compressed XML sitemap (gzip). </p>
<p> <span class= An XML sitemap is the first line of attack for indexing in SERPs #WordPress #SEO @fernandot Click to tweet

Search engines will not be guided exclusively by the information given in the XML Sitemap but it is your first map to your web, they will take into account your indications, will always benefit you and it will never hurt you to have it that's for sure.

So create a Sitemap XML is the first line of attack for the correct indexing in the SERP of the search engines, and configuring it properly is a fundamental task for any web administrator, but the default settings of the plugins are that, by default, and not they adapt to all existing webs.

If you use the Yoast SEO plugin you can only configure what type of content will be added to the XML sitemap without being able to determine more important settings, so we will concentrate on the aj You are available in All in one SEO Pack practically the same as you will find the fantastic (but heavy) plugin Google XML Sitemaps which do allow you to configure an XML sitemap with precision

What to include in the XML Sitemap

In the sitemap you must include all the URLs in which there is content related to the theme of your website and that offer unique, valuable information and relevant for readers and, logically, also for search engines.

 elements to include in sitemap xml wordpress

So, as a starting rule, the XML Sitemap should always include :

  1. The cover of your website most importantly, the gateway to your site.
  2. Pages : your invariable and unique content that it defines you and explains what you are, what you do, what you offer, what are your values?
  3. Entries : your periodicals, in which you offer valuable information to visitors to your website about the content of your sector or business.
  4. Taxonomies : those that serve organize and rank your content, such as labels and categories.

Also, depending on the orientation and segment of your website, the XML Sitemap can include :

  1. Videos : indicating the duration, content category and audience classification
  2. Images / Attachments : specifying the metadata that identifies them
  3. Mobile content : especially if you offer special pages for old mobiles, but also if you have defined a precise mobile strategy.
  4. Topics in the forums if you had them.
  5. Custom content types such as projects, portfolios, etc., if they are relevant to your topic and SEO strategy.
  6. Author files necessary for Google's authoring algorithms.

Additionally, if there are URLs that you want to add to the Sitemap and you have not generated them with WordPress the plugin allows you to add them manually and configure their parameters.

 pages added sitemap xml wordpress

What NOT to include in the XML Sitemap

It will depend a lot on your content strategy but as a starting rule the XML Sitemap should not include:

  • URLs with duplicate content.
  • URLs of attachment pages automatically generated by WordPress.
  • Membership URLs.
  • Files by date.
  • Taxonomies self-generated by the theme or plugins that do not offer organization or content hierarchy.

Additionally, you can also manually exclude URLs, even if you have indicated that they are included, indicating the ID or slug of the same. [196] 59003]  excluded elements sitemap xml wordpress

Update frequency of the XML Sitemap

An important parameter, that the search engines will value, will be the frequency with which your URLs are updated. The plugins that allow you to configure these values ​​offer you the following values:

  1. Do not overwrite : Which will use the default values ​​of the plugin. The default settings are usually for blogs so as a rule do not ever leave it like this.
  2. Always (always): Ask the crawlers to visit your URLs as often as possible, every minute if possible. Configuration suitable for sites with many news that are updated very often, such as digital newspapers of the first order.
  3. Every hour (hourly): You want the bots to visit you every hour. Suitable for news sites that publish new content several times a day.
  4. Every day (daily): To be visited once a day, ideal for blogs that post a daily entry as much.
  5. Each week (weekly): If you update the blog from time to time it is a good configuration.
  6. Every month (monthly): Typical for static websites without a news section or blog, for crawlers to check if Every year (yearly): For exclusively static websites and landing pages ( landing pages ) that never change, but that you want Google to remember that exist.

 frequencies sitemap xml wordpress

And now the usual doubt arises what frequency do I assign to each type of URL? Of course, you want the search engines to visit you the more the better. However, many visits from the trackers does not mean that they will position you better in the SERPs.

Make life easier for search engines and they will reward you, complícase and penalize you #WordPress #SEO @fernandot Click to tweet

In fact, the algorithms of crawlers could " think " that you cheat them if you make marks, for example, a frequency always and do not update anything from your content never or you do it very infrequently.

The rule that you should always apply with the search engines is not to lie to them or try to cheat them because they will catch you and they will penalize you if you generate a consumption of their resources inadequate to the result they will obtain. Google and Microsoft are million-dollar companies but they did not get rich by being fooled, and they are very jealous of the money they use to manage their tools.

I always recommend the universal rule of … " It makes life easier for search engines and you reward, complícales the task and you will be penalized . "

With this in mind, you must assign a frequency appropriate to the reality of each type of URL that you include in the XML Sitemap, being honest with your settings.

Do not try to cheat Google, you will always get caught #WordPress #SEO @fernandot Click to tweet

For a blog like WordPress Help a suitable configuration would be More or less like this:

  1. Portada : always because I publish every day, sometimes several times, and in many occasions I modify titles and extracts of the entries, with what what appears on the cover You can change . Also valid would be the value hourly .
  2. Entries : hourly for the same reason above, since it is quite usual to modify entries once published, to correct errors, add links, provide more content that comes up with the conversation with readers in the comments.
  3. Taxonomies : as they show the file of the entries should be the same parameter you use for them, in the example that we are following hourly .
  4. Pages : daily | weekly | monthly | yearly any of these values, it will depend a lot on how often you modify the information of your pages. When in doubt put the same frequency as for entries, although a reasonable value, even ambitious, would be daily .
  5. Author pages : the same frequency that you establish for taxonomies, being a file of entries.

Above all, keep in mind what we are talking about, how often the URL is updated, how often it shows new or updated information.

So you must clearly distinguish the archival pages, like the cover page and taxonomies, of the entries and pages. The first ones will be updated whenever there is new content, the second ones only when you modify them independently. Keep this in mind when defining frequencies.

XML Sitemap Priorities

One parameter of great relevance is the priority we assign to each URL in our Sitemap. The available settings come in numeric format of type: 1.0, 0.9, 0.8, and so on up to 0.0, and always include the option Do not overwrite to use the plugin's default values.

]  Sitemap priorities xml wordpress

Although the value is of this type then it will be displayed in the XML Sitemap as 100%, 90%, 80% and so on.

This is translated in which we are going to tell search engines what percentage value each URL of our website has in SEO of our entire site, that's nothing.

Come on, you have to decide what value has on the total weight of the positioning of your website each type of content or file difficult decision where they are or not?

My advice is that always, always, assign the value 1.0 (100% ) to the cover as a fundamental element of the SEO of your website (normally) since it contains the eta title main and the most relevant and up-to-date information on your site.

For the pages you must apply the value 9.0 (90%) as they must always contain absolutely relevant information about what What are you offering?

If, in addition, you publish entries with valuable content, that you use to reinforce your positioning you assign them also the value 1.0 (100%) or as little 0.9 (90 %) or 0.8 (80%) since the search engines feed mainly on relevant and updated content.

From here there is no fixed rule apart from not assigning very high values ​​to the rest of the URLs except specific strategy on some type of content (video, images, etc.) basically so that they do not compete with your main URLs (cover, pages, entries).

Basically, what you are saying to Google and Bing is where you publish your most relevant content with your theme which you prefer to position in front of other URLs in case of doubts or need of saving of resources.

More parameters to take into account in the XML Sitemap

, our beloved WordPress plugins also offer us other interesting parameters to configure, and the main ones are the following:

  • Create a compressed XML sitemap (gzip) : Believe it always, in fact the crawlers read them more faster than standard.
  • Notify Google and Bing : Here the plugin sends a ping to the crawlers when your sitemap is updated so they can see what has changed. I think it goes without saying that you always activate it.
  • Generate the XML sitemap dynamically when you publish new content: Do I really need to tell you whether to activate it or not? Ok, yes.
  • Schedule updating of the XML sitemap : This is in case you want to specify a specific time in which to update your sitemap. This is because the creation of the sitemap, on websites with many URLs (thousands), can consume many resources of your server, and it may be better to choose certain hours to avoid slowing down your website if you do not have a powerful server. If you use it you must disable the automatic update when you publish new content, for obvious reasons.
  • Prefix of the site map : By default the prefix is ​​ sitemap so your XML sitemap will be will call sitemap.xml . You should only change it if there is a conflict with another sitemap
  • Create indexes of the site map : If you activate this the sitemap will not initially show all your URLs, but it will be a kind of menu with links to other sitemaps , organized by type of content (pages, entries, taxonomies, etc.), in which the URLs of each container will be. You must not activate it unless your website contains so many URLs (the rule is that does not contain more than 50,000 URLs and does not weigh more than 10 Mb ) that slows down too much the visualization of the sitemap ( Note: the plugin Yoast SEO creates the sitemap with indexes by default, without the possibility of changing ). What has been said, ideally, unless you have many URLs, is to display it directly, without indexes, to facilitate browsing and indexing the crawlers, without having them visit several URLs to see the structure of your website. If you need to create the index the plugin All in One SEO Pack creates it with links to the compressed sitemaps of each type of content, much more efficient and fast loading for crawlers.
  • Add link to the virtual robots.txt file ]: WordPress always offers a robots.txt virtual file. If you are going to create a file robots.txt own (with All in one SEO Pack you can do it easily) do not activate this box, especially if both are going to be in the same route, usually in the root folder of the site . If you are not going to create your own file activate it, it is better than nothing.
  • Add sitemap in HTML format : The Google XML Sitemaps plugin offers you this option, but it is not necessary. The normal xml Sitemap offers the necessary, basic styles for the crawlers to read them correctly.
  • Change the sitemap route : Another setting that allows the Google XML Sitemaps plugin, very useful if not the root folder of your site does not have writing permission, allowing you to save the sitemap in any other folder.

Any questions?

If it has there is some doubt put in the comments and we all solve it.

NOTICE : this publication is from two years ago or more. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say we have not warned you.

Loading …

That may also help you:

All in One SEO Pack in Spanish • WordPress Help

If you use the wonderful plugin All in One SEO Pack surely you will have verified that, although the translation files are included in the package, it is not in Spanish, a nuisance especially for some important settings where it is important to know exactly what you should choose as setting .

Well, it's been a while since I got in touch with the people of Semper Fi to offer to do the translation , I even joined the group of translations, but since there was no answer or anything like that, I got my hands on the work and translated the 657 plugin translation chains .

Make it clear that it is not the best way to do it, but before my inability to contact them or upload the translation to the official site, here you have it to download and upload it yourself to use it on your websites .

To put All in One SEO Pack in Spanish you just have to unzip the downloaded file and upload the files all_in_one_seo_pack-es_ES.po and to the folder ' ] wp-content / plugins / all-in-one-seo-pack / 'of your WordPress installation to have the plugin in Spanish.

Note: you will see that there is still some untranslated text ( very few) is simply that they are not available to translate.

WordPress plugin feed • WordPress Help

The programmers who work with WordPress must be informed of the updates of the plugins that they use . The problem is that although the plugins are open source and Automattic provides a tool to examine their code no feed is provided in which it is correctly described the historical changes nor the importance of these.

To cover that gap David Martinez has created a tool called WordPress Plugin Feed that is responsible for obtaining all available information from each release of a plugin to generate a feed that allows you to stay updated without having to go to the WordPress control panel or the tab of each plugin in .

Also supported are a series of plugins from third parties whose source code does not is publicly available ( such as Gravity Forms Slider Revolution or WPML ) and others whose change log is not available in the public repository (such as All-In- One SEO Pack BuddyPress ).

The source code, which you can download in ZIP format, and the installation instructions you have in GitHub .

Does Yoast have a future?

As you already know, recently, coinciding with the 5th anniversary of the company, Joost de Valk has sold his company Yoast to CrowdFavorite [19659004]which raises a lot of uncertainty and doubts about the continuity of its products and services, among which is the very popular WordPress SEO by Yoast .

Although in principle Joost has said that its intention is that none of the plugins and services suffer with the acquisition and neither the updates nor the licenses suffer changes, there are some elements that make doubt such claims.

 yoast crowdfavorite

Team integration

The first is that, logically and as acknowledged, for a few months will be dedicated to the necessary integration of your company in CrowdFavorite what you learned The resources, and even the attention of employees and managers, will be focused on the acquisition, integration of equipment, migration of licenses, servers, software, etc. Anyone who has suffered an acquisition or merger of companies knows what I am talking about.

The reality is that, despite Joost's well-meaning statement, the reality is that a merger or acquisition of companies takes months adaptation, in which the services always suffer some kind of abandonment simply because the employees are to something else, such as what their future will be in the new company. Joost has already secured a position as Marketing Director at Crowdfavorite, but what about the others? It is logical, right?

Other acquisitions

On the other hand, another aspect that worries in this matter, and that adds to the problem I mentioned above, is that turn CrowdFavorite, and acquired. about a year ago by VeloMedia is currently in the process of being acquired by another company, 10Up . All this volatility does not help to know what future awaits the products of the various acquisitions.


But the thing gets worse if we take a look at the plugins that the same CrowdFavorite keeps in the official WordPress repository . A simple review of those offered shows that they are without updates a long time ago, they have problems, in short, they seem to be abandoned by the company, which does not bode well with the addition of one more product.

The star product of Joost is the plugin WordPress SEO by Yoast with a huge implantation in the WordPress community, with millions of installations, and an abandonment, even if temporary, of its development could compromise the digital strategy, and even security, of thousands of WordPress installations worldwide .

Of course, this situation could affect any of the other 28 Yoast plugins . among which is the one that integrates Google Analytics, another of the most used, which could also be compromised.

I hope I'm wrong and this acquisition breaks the rule and everything is perfect, being able to continue enjoying the Yoast plugins, without stoppages or license changes or loss of benefits, or even improve, but experience and signals teach us to be cautious and we will have to be vigilant, for example, if Yoast plugins maintain the current update rate, especially when they have been compromised previously.


Are there alternatives? Of course. There are plugins as capable and professional as All in one SEO pack which has been offering quality SEO improvements for years and which is incorporating important improvements in each new version. And on the other hand we can always manage the SEO of our WordPress using a intelligent tagging of the theme create our own SEO plugin or by applying the basics which they always work.

Note: it seems that in the end it was a joke, so calm down

NOTICE : this publication is from two years ago or more. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say we have not warned you.

Loading …

That may also help you:

Plugins that you should NOT install

 guitar burning

Plugins are a big part of the huge success of WordPress but as with everything, there are good ones, bad ones , regular and just the opposite. Today we will see some that, and not precisely because they are bad plugins, you should avoid as much as possible.

I mean plugins that, despite their virtues, are detrimental to the performance of your site , that slow it down, and you already know that this is not good, not only because Google can penalize you, but because you do not want your visitors to abandon you for having a slow site?

Let's go to it …

 wordpress slow

Google XML Sitemaps

This plugin is a wonder it not only creates a site map that is updated only each time you publish something but it has so many settings that it is absolutely impossible not to have a file sitemap.xml perfect and thus help search engines index your site.

Now this plugin is a enormous resource devourer because precisely the process that must be done of revision of and all your database to create correctly the map of the site means that in many servers (shared of course) there are times when you will not even create the map due to lack of memory.

Are there alternatives? bad is not, at least as good. There is one that is not bad, Better WP Google XML Sitemaps but personally I did not like its operation, not even the map it generates. But come on, that's a personal opinion, make the site map and quite complete.

Another option is Google Sitemap this is weaker unless you opt for the payment options, but it can be

The other possible alternative is using the plugin's sitemap modules such as All in one SEO pack or Yoast's WordPress SEO .

Broken link checker

] Wonderful, essential, obligatory but it happens the same as the previous one, that when analyzing ALL the links of your site to find broken links, in a constant and tremendously effective way, is a memory devourer like no there is another, even worse than Google XML Sitemaps.

The bad thing is that a server has not found any other plugin that does not even look like it, so be damned. The only possible alternative is to use web services or SEO desktop applications, which sometimes offer search engine broken links, such as BrokenLinkCheck CheckLink or LinkChecker this last installable.

Or, what I do: a day of little traffic I install it, I activate it, I let it work a few hours, fix links and I deactivate it until next time .

WP Post Views

This veteran plugin, from the last century, is actually a very cool tool because it shows us the most viewed posts, which we can make visible in the form of widget or code.

It is a good SEO tool but it has its hidden face, and is that, of course, being constantly reviewing your entries to show their popularity consumes many resources to be constantly checking your database .

I would say any plugin that does the same it can be useful of alternative but it is not true, they are not alternative, all plugins of this type have the same problem because they all do the same, so your only alternative are external statistical analysis systems like Piwik or the same Google Analytics.


Of course, I could not miss, and that is that JetPack has modules that do much of the above, although it has other modules that help speed up your site, but in this kind of thing you do not have to to compensate, we must be as effective as possible.

Whether we are talking about the statistics module, because of what was said previously of WP Postviews, of Markdown, Beautiful Mathematics or the Shortcodes because they have to "translate", of the infinite Scroll by the JavaScript, of the Gravatar Hovercards until they load the information or the Contact Form, that consumes what is yours even if you do not believe it, we are facing a monster .

So avoid it, and use to alternative plugins for each utility you "really" need .


Yes, remove that face of astonishment, that Akismet, and wonderful as it is, is also piece of plugin brick, that slows down your site more than desirable .

This is due to several reasons, because not only do you have to connect to the JetPack servers to check lists of spammers but also check your database to show more comments of each author, and even shows thumbnails emerging from the URLs in the comments, and all that consumes his .

Also, you have enough alternatives to combat spam .

Are there more mallet plugins?

There is more, of course, and there's nothing better than doing your own checking on your site with plugin P3 which analyzes the loading of the components of WordPress. It seems almost messy but this plugin is also a great consumer of resources, but at least it is of the type to install, activate, use and deactivate.

The best, in any case, is to follow a series of guidelines to the time to choose plugins and avoid – where possible – those that comply with the following rules:

  1. Plugins that load a lot of scripts, style sheets and other additions.
  2. Plugins that add additional requests to the database on each page of your site.
  3. Plugins that perform complex operations like MySQL commands or intensive search in the database.
  4. Plugins that make many requests to the database.

It is not the number of plugins you have installed which slows down your site but the quality of the plugins you have installed.

Choose well, choose only those you need, and for everything else create your own plugin functions only with what each site re

NOTICE : this publication is from two years ago or more. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say we have not warned you.

Loading …

That may also help you:

SEO in WordPress without plugins

/ * SEO WordPress to the brave


1. add this code to your functions.php file

2. replace the string $ default_keywords with yours

3. add <? php echo seo_wp_bravo () ; ?> to the header.php file

4. check that everything works fine and you have not broken anything

Optional: add keywords or a description, title to any entry or page using these custom field keys:


mm_seo_keywords [19659002] mm_seo_title

To migrate from any SEO plugin, replace your custom field keys with the previous keys. More information:

* /

function seo_wp_bravo ( ]) {

global $ page $ paged $ post ; [19659013] $ default_keywords = 'wordpress, plugins, themes, seo, programming, security, htaccess, apache, php, sql, html, css, jquery, javascript, tutorials' ] // customize this

$ output = '' ;

// description

] $ seo_desc = get_post_meta ( $ post -> ID 'mm_seo_desc' true ) ;

$ description = get_bloginfo ( 'description' 'display' ) ;

$ pagedata = get_post ( $ post -> ID ) ;

if ( is_singular () ) ] {

if (! empty ( $ seo_desc ) ) {

$ content = $ seo_desc ;

} else if [19659008] (! empty ( $ pagedata ) ) {

$ content = apply_filters ( 'the_excerpt_rss' $ pagedata -> post_content ) ;

$ content = [19659007] substr ( trim ( strip_tags ( $ content ) ) 0 , 155 ) ;

$ content = preg_replace ( '# n #' [19659008] '' $ content ) ;

$ content = preg_replace ( '# s {2,} #' '' $ content ) ;

$ content = ] trim ( $ content ) ;


} else [19659331] {

$ content = $ description ;


[19659051] $ output . = '<meta name = "description" content = "' . esc_attr ( $ content ) . '"> ' . " n" ;

// keywords

$ keys = get_post_meta ( ] $ post -> ID 'mm_seo_keywords' true ) ;

$ cats [19659037] = get_the_category () ;

$ tags = get_the_tags () ;

if ( empty ( $ keys ) ) {

] if (! empty ( $ cats ) ) foreach ( $ cats as $ c at ) $ keys . = $ cat -> name . ',' ]

if (! empty ( $ tags ) ) foreach ( $ tags as $ tag ) $ keys . = $ tag -> [19659117] name . ',' ;

$ keys . = $ default_keywords ;


$ output . = " t t" . [19659038] '<meta name = "keywords" content = "' . esc_attr ( $ keys ) . '" > ' . " n" ;

// robots

[19459] 007] if ( is_category () || is_tag () ) [19659331] {

$ paged = ( get_query_var ( 'paged' ) ) ? get_query_var ( 'paged' ) : 1 ;

if ( $ paged > 1 ) {

$ output [19659331] . = " t t" . '' . " n" ;

} else {

$ output . = " t t" . '' [1 9659331] . " n" ;


} else if ] ( is_home () || is_singular () ) {

] $ output . = " t t" . '' . ] " n" ;

} else {

$ output . ] = " t t" . '' . " n" ;


// titles

$ title_custom = get_post_meta ( $ post -> ID 'mm_seo_title' true ) ; [19659013] $ url = ltrim ( esc_url ( $ _ SERVER [ 'REQUEST_URI' ] [19659008]) '/' ) ;

$ name = get_bloginfo ( 'name' 'display' ) ;

$ title = trim ( wp_title ([19659064] '' false ) ) ;

$ cat = single_cat_title ( '' false ) ;

$ tag = single_tag_title ( '' false ) ;

$ search = get_search_query () ;

if (! e mpty ( $ title_custom ) ) $ title = $ title_custom ;

if [19659331] ( $ paged > = 2 || $ page > = 2 ) [19659030] $ page_number = '| ' . sprintf (' Page% s' max ( $ paged $ page ) ) ;

else $ page_number = '' ;

if () is_home () || is_front_page () ) $ seo_title = [19659030] $ name . '| ' . $ description ;

elseif ( is_singular () [19659008]) $ seo_title = $ title . '| ' . $ name ;

elseif ( is_tag () [19659008]) $ seo_title = 'Tag Archives:' . $ tag . '| ' . $ name ;

elseif ( is_category () [19659008]) $ seo_title = 'Category Archives:' . $ cat . '| ' . $ name ;

elseif ( is_archive () [19659008]) $ seo_title = 'File:' . $ title . '| ' . $ name ;

elseif ( is_search () [19659008]) $ seo_title = 'Search:' . $ search . '| ' . $ name ;

elseif ( is_404 () [19659008]) $ seo_title = '404 – Not found:' . $ url . '| ' . $ name ;

else $ seo_title = $ name . '| ' [19659000]. $ description ;

$ output . = " t t " . '' </span><span class="crayon-h"> </span><span class="crayon-sy">. </span><span class="crayon-h"> </span><span class="crayon-e"> esc_attr </span><span class="crayon-sy"> (</span><span class="crayon-v"> $ seo_title </span><span class="crayon-h"> </span><span class="crayon-sy">. </span><span class="crayon-h"> </span><span class="crayon-v"> $ page_number </span><span class="crayon-sy">) </span><span class="crayon-h"> </span><span class="crayon-sy">. </span><span class="crayon-h"> </span><span class="crayon-s"> '' . " n" ;

return $ output ;


Problems with WordPress SEO by Yoast?

It has been messed up brown! and the worst thing is that in the heat of battle one no longer knows who is right because it is already known that there are always arguments for everything.

I refer to the imbroglio formed in relation to information related to failures of the WordPress SEO plugin by Yoast .

an entry of the official ManageWP blog the service of integrated WordPress management headed with the shocking headline " Is WordPress SEO by Yoast broken? ", a series of problems detected in the plugin WordPress SEO by Yoast that had caused positioning damage (precisely) in the affected sites are reported.

In particular some disturbing examples are detailed , that said by any means I have also detected in some sites and that's why I stopped using it on some websites where I had it.

One of the failures refers to a kind of " communication failure " between the relative plugin settings to Google+ authorship and the resulting code.
 google-plus-authorship wordpress seo yoast

What was detected is that, even having defined the editor of the web with the Google+ profile in the plugin settings, it turns out that it should link to the author page on the web but the plugin itself has disabled that possibility .

Ok then in the comments of this controversial entry the plugin creator himself has told him that he better put the URL of his Google+ profile on the WordPress user profile page, in the field of " Web ", but personally I do not think either a valid answer, but a solution without justification, is Especially when Joost is quite explicit in promoting his plugin as the best of the best .

 wordpress seo yoast

The other bug, not yet explained by Joost at the time I write this article, is that Google did not index the tags of a web, in which the plugin settings option of " not indexing tags was explicitly disabled ". This supposes a serious problem for the positioning of the tags of the web because is telling Google not to index the tags .
 noindex-tags wordpress seo yoast ]

The following was detailed the huge number of support questions in the official unanswered forums the large number of incompatibilities reported by users ] lack of response to requests for help with these problems and, well, there has derived the debate about the non-obligatory support of the free software, curiously coinciding with the fact that it has just been announced that there will be paid versions of WordPress SEO by Yoast, which will include support which in my view makes this whole issue even more suspicious

Anyway, that is a delicate matter, but of interest sante debate and I would like you to tell me if, from your point of view, there is something that smells bad in this whole matter and, on the other hand, if you have also had some problem of this type with the WordPress SEO plugin of Yoast.

We already discussed it in the comments if you like 😉

NOTICE : this publication is from two years ago or more. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say we have not warned you.

Loading …

That may also help you:

What's New in All in one SEO Pack 2.0

 all in one seo pack

Some time ago I had my heart split with the plugin All in one SEO pack because there were some versions that did weird things, but the truth is that I have returned to him and I am happy, after a step by his clone called Platinum SEO pack, also very majete.

yesterday came to version 2.0 and, well, I'm pretty fly but still not quite, I'll explain …

Despite the infatuation of many people with the plugin WordPress SEO by Yoast , personally I do not usually recommend it except to learn because the truth is that for newbies it helps that little pill that you add in the WordPress editor where it shows you the Google snippet, SEO tips and those things, but for a normal use not I recommend it, and I always encourage you to use All in one SEO pack or Plat inum SEO.

Why do not I recommend Yoast's WordPress SEO? then for two fundamental reasons ?:

  1. I've seen things that you would not believe, oops, sorry, ] I have seen how it destroyed the SEO of several sites due to poor integration with the WordPress theme used. The plugin wants to do so many things, and puts so much into the code of the page that sometimes it spoils more than fix .
  2. It is a megaplugin, which does many things but none perfectly and many in "automatic" . It is very comfortable " jetpack style " to install a plugin and have almost everything, but carries certain weaknesses, in addition to servitudes. For example, it includes a module to create a sitemap, but it is really a trick, much worse than Google XML Sitemaps, a whole standard; let's not say that utility to modify the system files, which should be prohibited until the age of 50 or have gone through 2 divorces . Of the automatisms, active options by defect, we talked another day in earnest.

In short, that is a plugin " apañao " to have that of " all in one ", but if you want to control what a plugin does, especially in the SEO of your website, it is better to leave automatisms and more with the speciality that Google has lately put with the automations in SEO.

] That's why I do not share the teenage crush with the Yoast plugin and I always recommend this beauty that is All in one SEO pack, beautiful in its simplicity, power and transparency of what it does ]

Now, and we go back to the beginning of what it is today: version 2.0 of All in one SEO pack has come to light, and something had to be done to make it noticeable, and I started shaking there, before agreeing to update it somewhere.

What's new? ? then some, important :

  • New interface (miedito, with the beauty of simplicity combined with power)
     Capture of settings all in one seo pack 2.0
  • New module system (what I told you about the "jetpack system", even more scary)
     capture of modules in aiosp 2
  • New performance module ( still without much chicha, and the little that has EYE)
     Capture of performance settings of aiosp 2
  • New options to control the " rewrite " of titles in the custom input types (an obligation, especially for WordPress 3.6 )
     personalized post settings aiosp 2
  • Advanced settings for controlling titles in custom input types
  • Possibility of showing custom meta fields normally hidden
  • Visual Upload SEO status in posts, pages, etc (without colorines, thank goodness).
     seo indicator in entries aiosp 2
  • The pointer to show you the news (and the mania that I'm taking
  • The preview of the Google snippet has been added in the plugin box in the entry and page editor (come on, like Yoast's)
     view snippet aiosp
  • options to mark for noindex, nofollow in all boxes
  • In the settings has been added field for verification of webmasters from Google, Bing and Pinterest (this is cool)
     webmasters check aiosp 2
  • Field to add the Analytics ID
     google analytics aiosp 2
  • Links to the plugin settings (optional) in the WordPress admin bar (not worth anything, really , do not activate it)
     seo links in menu admin aiosp 2
  • … and the typical solutions to errors and such, the normal in each update.
  • Oh, I forgot, now the options are no longer as Settings submenu but with its own icon below the "casita" ( bad, very bad)

I've put captures of all the news, but what's important …

Has the All in one SEO pack become a crap? Is it a cool thing but a petard like Yoast's?

Well, fortunately it seems that no, at least for the time being because it maintains its main virtues, namely:

  • ] Rewrite of titles PERFECT the most important
  • Code inserted in the subject very clean, without goals that are redundant or redundant all well picked up and doing their job.

The rest are trinkets or toys to entangle, except the inclusion of Webmasters verification in Google, Bing and Pint erest, really useful which added to the verification of Google+ makes your site is connected to the basics.

The performance screen, if you ask, does not work – at least for now – practically for nothing , it informs you of what any PHPinfo would tell you and makes you a list of plugins, come on, a subnormality, in which I hope you do not dare and start to put analyzers and other crap that end up going crazy with the " SEO status " of our publications, when Google does nothing but remind us what has always been law and axiom: content is king, and what you have to worry about is to create good articles and then, that if, move them around so that people know them, but forgetting to do excess accounting positioning (how do I call it), of thinking if you have gone enough keywords or if you title is more SEO than the mother who gave birth to him and those things, is that clear ?, well that, to stop being bullshit .

And what does it do on the screen? " Performance " almost better than you do not touch it or you're sure to screw something! Bets are allowed!

You can modify PHP memory and runtime parameters something that later modify some plugins, or it will not matter what you put if your hosting has it on it, something quite common.

Now, I'm a little concerned that the thing is being dismissed, maybe taken away by the recent Yoast's popularity, to put him useless shit to look like " cool " like the "other", error in which I hope you do not incur, then in version 2.0, All in one SEO pack is still the perfect plugin for SEO .

And if nothing else, make a clean fork of guarre Rías, but for now continues to fulfill its function, and very well, in fact better than before .

NOTICE : this publication is two years ago or more. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say we have not warned you.

Loading …

That may also help you: