What does it mean by “Home page / Archives” in JetPack Site Stats? [closed]
My understanding is that it counts the hits for the homepage and all archive pages, specifically the ones you mentioned.
My understanding is that it counts the hits for the homepage and all archive pages, specifically the ones you mentioned.
You can do that programmatically right from inside the plugin’s settings by using the wpseo_canonical filter. You can also set it on a per post basis: You can even set the canonical links for categories, tags and any taxonomy for that matter as well. All you have to do is follow instructions at Canonical URLs … Read more
<?php if (is_home() || is_front_page()) { $header_tag = ‘h1’; } else { $header_tag = ‘h2’; } ?> <<?php echo $header_tag;?>><?php the_title();?></<?php echo $header_tag; ?>> Expanding on what Stephen Harris said, here is a useable example. Lots of different ways to use same code function.
I normally use WP SEO by Yoast, but here’s a troubleshoot: what if you use only wp_title(”); (this is a WPSEO requirement) what do you have as Home Title at the plugin’s settings page? search your theme’s functions.php for a similar hook, and disable if found: add_filter( ‘wp_title’, ‘twentyten_filter_wp_title’, 10, 2 ); dig into WordPress … Read more
Below is a small plugin using which you should be able to replace the domain for canonical url to another domain. <?php /* * Plugin Name: WPSE WPSEO Canonical * Plugin URI: http://wordpress.stackexchange.com * Description: Changes canonical url domain. * Author: Sisir * Version: 1.0 * Author URI: http://developerpage.net * **/ add_filter(‘wpseo_canonical’, ‘swpseo_canonical_domain_replace’); function swpseo_canonical_domain_replace($url){ … Read more
First thing: When searching for costruzioniao google thinks you just misspelled costruzioni. It doesn’t think of it as being an independent search term yet. This should get better with time, especially if you get more links pointing to your domain. Second thing: Your first screenshot shows a search result with Site links. Google generates them … Read more
If you use Yoast SEO, you can go to Users > All Users, and in the Yoast SEO settings, check Do not allow search engines to show this author’s archives in search results. See this link. OR With robots.txt, you can add: User-agent: * Disallow: /author/* OR You can also add the robots meta-tag to … Read more
If the comment is a pingback or a trackback and short_ping is true then the comment is processed by the ping method which formats the comment differently than either the html5_comment method or the comment method both of which create a much longer more complicated format than does the very minimal ping method. You can … Read more
Add image tags to native WordPress XML Sitemaps
You should set rel alternate hreflangs on both sites – <link rel=”alternate” href=”http://example.com.au” hreflang=”en-au” />on example.com and <link rel=”alternate” href=”http://example.com” hreflang=”en-us” /> on example.com.au then you sholud set targeting site content to a specific country (geotargeting) in Google search console for – example.com – United States, for abc.com.au you don’t need to do anythong because … Read more