How to create a custom sitemap of multiple subdomains? - wordpress

how can I achieve a certain well structured layout in the Google search results as presented below? I am working with multiple Wordpress instances on several sub domains (not a multisite). Google does not get along with the sitemap structure so all sites are scattered around. Any ideas?
In the search results it should look like this (basically like any other well structured sitemap):
MAINPAGE.COM
(Meta text)
---- SUB.MAINPAGE.COM
---- SUB.MAINPAGE.COM
---- SUB.MAINPAGE.COM
I messed around with Toast but I did not reach any results.

Messed around with Yoast? You just need to install Yoast on all instances. Submit the sitemaps generated by Yoast from all sites to Search Console.
Positioning the results in Google SERPs is not driven by sitemap. It
is driven by Google's algorithmic analysis and rankings. For one
search query, it is possible that Google finds a page from Instance B
better than instance C page or other site etc.
Under Google Search Console > Indexing > check the issues you're having with indexing. Do this for each instance property OR if you've only one property for ALL sub-domains, just check the Indexing/Coverage issues.
Additional Notes:
Wordpress 5+ comes with built-in sitemap functionality. If you're having issues with Yoast sitemap generation, try that as a fallback. Yoast sitemaps are better than built-in ones. Anyway. Submit them for each WordPress instances to Search Console to let Google discover pages from your submitted sitemaps.
Plus. If you want Google to analyze pages from all of your sub-domains, verify Search Console via DNS property. It acknowledges Google to explore through all main site and its sub-domains under the same property including https & http versions.

Related

Unable to get Google to index certain pages on website

WordPress website
Checked and no security issues
Checked and not black listed
Checked correct settings in Yoast
Checked basics in Google Search Console
Checked asked Google to reindex pages with issues
Pages appear in the sitemap
25 pages are indexed on the site so know there is no wider issue
Have a client website https://mgrplumbingandheating.co.uk/ the issue is that many of the pages are not being indexed by Google. Have taken all the above steps, and see no issue with the way pages are built.
Example page with issue indexing is https://mgrplumbingandheating.co.uk/landlords-safety-checks-berkhamsted/)
Any help would be handy, going crazy with this.
Have requested indexing of pages several times over the last 3-4 weeks.
Is there anything else I can do or try to get these pages indexed?
Once try the Rankmath SEO plugin and add the sitemap url to Google Console provided by Rankmath and check wether the pages is indexing or not.
Check the Yoast setting of the page which is not indexing and make sure it is set to "index"

Is it possible to have google analytics users that can only view pages within a subdirectory?

Have setup a WordPress multisite which is using the same GA tracking ID to make things much simpler in our Google Analytics Dashboard (plus there is like a limit of 50 individual IDs you can track with one account I think?).
WP multisite is setup on subdirectories and not subdomains, e.g.
mysite.com.au/sitename1
mysite.com.au/sitename2
Anyway, some of the admin from the sites want access to the Google Analytics for their site. Upon investigating, I found that they would be able to access stats for other sites (besides their own) within the multisite. We definitely do not want this.
Is there a way to limit a GA user account so that they can only view pages within their own site (a fixed subdirectory), for example:
mysite.com.au/sitename1
and not be able to view information from any other site subdirectories? I'm a beginner to Google Analytics and I heard I might be able to setup particular views, goals or campaigns to achieve this.
You can do this with Views (bad thing - each property can just have 25 Views)
You find Views in the right column of the Admin page. Add a new View through the Dropdown. You can now set a filter to this View (/sitename1).
After this click on "User Management" in the View column and give the User you want to have there access.

Telling Google to index a new page, without using Webmaster Tools

I have a WordPress site that generates a single page site for users from some fields they enter into a form and some images they upload. I want to get Google to come out and index the page but my users will not be technical enough to set their page up with Webmaster Tools. What can I do from WordPress when I build the page to tell Google a new page is up and to please come out and index it when they have a chance?
Well you don't have to do anything actually, you could just sit back and wait for it to happen naturally. However there are things you could do to speed up the indexing process.
Here's a suggested way that does not involve having your users do anything:
Create one or more (quality) links pointing to their single page site from other websites that you know are already indexed in Google (see https://www.youtube.com/watch?v=4LsB19wTt0Q for more information). Ideally on blogs that get updated frequently because then then it is likely google crawls them more frequently.
Use a site:domain.com search in Google to see whether google has already found your new pages.
Here is how google crawling and indexing works:
Crawling:
Crawling is the process by which Googlebot discovers new and
updated pages to be added to the Google index.
We use a huge set of computers to fetch (or "crawl") billions of pages
on the web. The program that does the fetching is called Googlebot
(also known as a robot, bot, or spider). Googlebot uses an algorithmic
process: computer programs determine which sites to crawl, how often,
and how many pages to fetch from each site.
Google's crawl process begins with a list of web page URLs, generated
from previous crawl processes, and augmented with Sitemap data
provided by webmasters. As Googlebot visits each of these websites it
detects links on each page and adds them to its list of pages to
crawl. New sites, changes to existing sites, and dead links are noted
and used to update the Google index.
Google doesn't accept payment to crawl a site more frequently, and we
keep the search side of our business separate from our
revenue-generating AdWords service.
Indexing:
Googlebot processes each of the pages it crawls in order to
compile a massive index of all the words it sees and their location on
each page. In addition, we process information included in key content
tags and attributes, such as Title tags and ALT attributes. Googlebot
can process many, but not all, content types. For example, we cannot
process the content of some rich media files or dynamic pages
Source: https://support.google.com/webmasters/answer/70897?hl=en

How to track single folder traffic in Google analytics?

I have forum directory on my website. That sub directory is located on http://www.mobilestore.pk/forum I was wondering that how can I track forum traffic only as a separate property in Google Analytics without filtering it from the whole traffic of the website. So I can show the trends of forum to Moderators or Editors.
I don't recommend using a property to break out traffic on the same domain. It's better to use a new view with a filter. Be sure to keep a view that is unfiltered.
If you do decide to use a separate property, you will need to modify the code in all the page templates used in the /forum path to use a different UA tracking ID.
You can add a 2nd tracker for just the forum.
As per Google:
"In some cases you might want to send data to multiple web properties from a single page. This is useful for sites that have multiple owners overseeing sections of a site; each owner could view their own web property."
This exactly fits your scenario
See https://developers.google.com/analytics/devguides/collection/analyticsjs/advanced#multipletrackers

Changed content type leading to wrong crawls by google

In our website built on WordPress, we changed name of one of our Custom Post type from 'A' to 'B' and also changed hierarchy of few categories.
Now, the problem is that google is indexing/crawling the old 'A' CPT Name and also old catgeory structure, which is leading to either random pages (because WordPress makes guess and shows page with those keywords in URL) or 404 errors.
What can we do (via Webmaster Tools) to make google re-index our whole site and start honoring our new structure? Thanks.
Here is the brief explanation of the Google's indexing policy:
The process
The crawl process begins with a list of web addresses from past crawls and sitemaps provided by website owners. As Google crawlers visit these websites, they look for links for other pages to visit. The software pays special attention to new sites, changes to existing sites and dead links.
Computer programs determine which sites to crawl, how often and how many pages to fetch from each site. Google doesn't accept payment to crawl a site more frequently for your web search results. They care more about having the best possible results because in the long run that's what's best for users and, therefore, their business.
Choice for website owners
Most websites don't need to set up restrictions for crawling, indexing or serving, so their pages are eligible to appear in search results without having to do any extra work.
That said, site owners have many choices about how Google crawls and indexes their sites through Webmaster Tools and a file called “robots.txt”. With the robots.txt file, site owners can choose not to be crawled by Google bot or they can provide more specific instructions about how to process pages on their sites.
Site owners have granular choices and can choose how content is indexed on a page-by-page basis. For example, they can opt to have their pages appear without a snippet (the summary of the page shown below the title in search results) or a cached version (an alternate version stored on Google's servers in case the live page is unavailable). Web-masters can also choose to integrate search into their own pages with Custom Search.
Read more here and here.

Resources