Custom pages for separate taxonomy terms in drupal 8

I want to design different pages for different categories.

For example, if I have 2 categories with machine names
One
Two
I want to have pages like this
page – taxonomy – one.html.twig
page – taxonomy – two.html.twig

seo – Why do my different product pages with similar content have different search engine rankings?

We have a product-based car website where we publish content for cars and bicycles. This includes car images, videos, prices, reviews, similar offers.

We want to improve our Google SEO ranking for these product pages. To my surprise, few of these model pages occupy the first place, while others occupy the 5, although the quantity and quality of the content of these models are very identical. In addition, the classification pattern is stable for months, so it is not random. In addition, I compared competition model pages for the same product page and that is also identical. Now I wonder why Google is ranking us low for some products, while it is higher for other products. Is there a way to detect differences due to classification differences?

I checked some things but I couldn't get a convincing answer:

  1. Domain score: although the competition has a better DA but that does not explain why they rank lower for some models with identical content.
  2. Lighthouse / Google Page speed score: we have better scores and page time here compared to the competition.
  3. Page score: I'm not sure if we can get this type of score for each model page.
  4. Time invested, bounce rate and exit rate: all these indicators that give indications about user comments have similar numbers for both models, that is, where we rank 1 versus where we rank 5
  5. The images / videos are there with a similar quality
  6. Pricing information is available for both
  7. Revisions are available for both
  8. Similar offers are available for both
  9. Both have a similar structured fragment
  10. The title description URL has been formed with identical logic for all products.

What should I see to detect this difference and verify how I can improve the range of product pages with lower ranges?

How to get the Google Analytics report of the selected pages using a regular expression?

That is a perfectly valid regular expression that you should do what you want, so here is my guess: are you opening the advanced filtering area and not changing the RegExp match type drop-down menu from contention to match?

As a side note, that regular expression will match what you want, but I suspect not in the way you intend.
FR_PLT* match the pages that contain FR_PL with or without T at the end and FR_Country* match the pages that contain FR_Countr with or without y in the end. In both cases, the match is not case sensitive, so if you had a page below fr_pl It would also coincide with the first regular expression.

To match FR_PLT with something later, you would use the wildcard character of point:
FR_PLT.*. However, since the regular expression matches inside the chain by default, instead of requiring a match across the chain, does not match more or less with FR_PLT.* that with just FR_PLT.

htaccess: block / allow access to certain PHP pages

Would it be better to put all these scripts in a subfolder first?

Yes. Then create a .htaccess file in that subdirectory with the following directive (mod_authz_core):

Require all denied

(Assumes Apache 2.4+)

This will return a Forbidden response 403 for anyone trying to access anything within that subdirectory.

Even better, put these "included" PHP outside the root of the document and are inherently protected from direct access without doing anything else.

Error "This document has missing fonts" for the fonts that are installed (Pages / Numbers)

I have installed a lot of fonts in ~/Library/Fonts That didn't come with macOS Catalina. When I open a document in Pages that contains these fonts, the error "This document has missing fonts" appears.

However, in the "replace with" functionality of Pages, I can replace all missing sources with themselves. Why does Pages not recognize that these fonts are installed when I can select them on the error correction page?

Other information: I cannot select the fonts in the Font drop-down menu of the Pages, but I can select them through the CMD + T font selection tool. I verified that all are enabled in Font Book and deleted the font database. according to this answer

ssl: Gitlab pages show 503 when access control is enabled, access token recovery fails with http redirect message to https

I have Gitlab Omnibus (12.4.2-ee) configured in Ubuntu and I was trying to make Gitlab Pages work with access control enabled. It always returns a 503 after the Gitlab authentication page.
Using it with access control off works fine.

Gitlab and Gitlab Pages run on the same server with Gitlab at https://gitlab.example.com and pages at https://pages.example.com

I am using Apache to serve the sites and the Gitlab nginx is not enabled.

Both have SSL enabled and http requests will be redirected to https through a RewriteRule.

I tried turning on and off inplace_chroot and it doesn't seem to be the problem.

After a little research, what I found is that when Gitlab Pages tries to retrieve the token from https://gitlab.example.com/oauth/token, it receives the redirect response and stops there.

The error in gitlab-ctl tail show this:

{"error":"Post https://gitlab.example.com/oauth/token: Moved Permanently","host":"examplegroup.pages.example.com","level":"error","msg":"Fetching access token failed","path":"/auth","redirect_uri":"https://examplegroup.pages.example.com/example","state":"...","time":"2019-11-09T01:00:00Z"}

Making a POST curl at https://gitlab.example.com/oauth/token returns a json response that is different from what the Gitlab Pages Go server is receiving.

From /var/log/apache2/other_vhosts_access.log:

gitlab.example.com:80 46.137.245.184 - - (09/Nov/2019:01:00:00 +0000) "CONNECT gitlab.example.com:443 HTTP/1.1" 301 451 "-" "Go-http-client/1.1"

I assume that the Gitlab Pages program does not follow the 301 it was given?
Could this be the result of something configured incorrectly in Apache or with /etc/gitlab/gitlab.rb?

Design system: how does Angular ViewEncapsulation affect web pages and style maintenance?

Then we have a team of developers that adopts Angular and with that comes ViewEncapsulation.

This means that when they create an angular component, they add the style with the component and do not use the global CSS. Depending on the ViewEncapsulation mode, the CSS ends up as an online style in the header or in the HTML.

We have a design system and we want to create a library of reusable angular components.

During my years developing web pages, the mantra was: Online style is bad!
I don't know if this still applies today as browsers become more advanced.

My arguments for not encapsulating the style in angular components are:

  • The online style increases the size of html documents and, therefore, its loading is slower
  • If the angular component reads a css file on the page load, it creates additional HTTP requests that again slow down the page load
  • Maintaining a style guide will be difficult when you have no control over the components used
  • Different styles can be added to similar components because they are made by different developers. This can alter the behavior of the components.

Does anyone have experience putting style in angular components and at the same time managing a design system?

Facebook: applications to manage social media pages

I am looking for a good social media management application (preferably free) that can be used by a small team of people.

Basically, an application that would allow a single administration account, linked to all our social media pages (Twitter, Instagram and Facebook), so that everyone on the team can schedule / manage publications and view the work of others, through Your different devices.

Any suggestions?

terminal – man -k and apropos cannot find pages in section 3 in Catalina

For example, run apropos printf:

Printf(3o)               - Formatted output functions
Stdlib.Printf(3o)        - no description
gprintf(1), printf(1)    - format and print data
format(ntcl)             - Format a string in the style of sprintf
fwkpfv(1)                - FireWire kprintf viewer
printf(1)                - formatted output
xprintf(5)               - extensible printf

printf(3) not on the list but man 3 printf You can find that manual page.

Meanwhile, stderr prints many errors like this:

makewhatis: /usr/lib/libgcc_s.1.dylib: Not a directory

What should i do to do apropos Y man -k work properly?

google analytics: understanding external references against self-references to landing pages in GA

I am trying to understand how many visits to landing pages (eg. /) come from external references (for example, Google / other direct search engines) versus personal references (people who click on links that take them back to landing pages while they are active on our site). But it seems that most referral reports focus on external / direct references and not on their own references.

I tried to go to Behavior> Site content> All pages and then click on the landing page that I try to understand (/, the home page), and then add Source as a secondary dimension, but it seems that all sources are other sites (google, github.com, etc.), or are (direct) (Which I understand means writing the URL in the address bar, bookmarks or visiting the site after the GA session expires). I would expect to see our domain on the list, or something like (self), but none of the results shows something like this.

I have also tried going to Acquisition> All traffic> References, but all these are external sites. The acquisition> All traffic> Treemaps would be useful, as it shows the medium (eg. organic search, referral, direct, social, email, (other)), but still does not seem to include self-references.

Would self-references be included in direct? (Hopefully not, since it seems important to distinguish between self-references and bookmarks / references in the address bar). Or am I missing something?