8 – How can I limit access to static pages in my project?

I have a site I created with Drupal 8, lets say https://example.com/.

I have “embedded” a static site (a bunch of static pages linked to each other) as a “subsite” of example.com, i.e. accessible as https://example.com/whatever/, by ‘simply’ putting all its files in a subfolder of the D8 site, i.e. docroot/whatever.
I’d like to limit access to this “subsite” to the users that are registered to my D8 site.

How can I do that?

wp link pages – Use custom referrer (?ref=xyz) and review in Jetpack Statistics?

I am pretty new to all this WP stuff, so apologies if this has been asked before but the search didnt show anything relevant to my case.

I am about to launch a campaign on LinkedIn where I am looking to drive traffic to a landing page. The link used for that landing page goes through a referral plugin which automatically keeps track of geolocation, IP, language, etc. so I am all good there.

The issue now is that the landing page also includes links to my main website which is hosted on the same server/domain. This now means that Jetpack will not identify traffic from the landing page to the main page as it is coming from the same domain. My solution to this would now be to add a custom referrer (eg. ?ref=campaign_202010) to all the links leading from the landing page to the main page in order to identify where those visitors are coming from. Having tested this though, I did not see Jetpack picking up on the custom referrer, therefore have no statistics from this particular landing page.

So in short: is there a way to append a custom ?ref=xyz tag to my links and have Jetpack capture this in its statistics?

Thank you very much

sharepoint server – Configure search service to search only by pages content excluding CreatedBy(Aurhor field)

I have several Search Result Sources configured in CA.

For example result source Documents(search by documents) and Pages(search by Pages content type).

I have custom spfx search results web part.
Web part sends 2 REST API requests to search service including sourceId(sourceId=Result source guid) property.

I need search by CreatedBy field in Documents area and I don’t need search by CreatedBy in Pages area.

There are hundred of sites and webs.

How I can achieve this? – Search by CreatedBy for Documents result source and Search only by page content for Pages result source.

UPD. I tried to manipulate selectProperties parameter but it wasn’t helpful.

How to backup the pages of a wikilibrary from SharePoint Online with Powershell to my own drive?

Stack Exchange Network


Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

seo – Would Google consider it door way pages to create pages for each menu item that are very similar and allow online ordering?

Let’s say I have a food delivery business that offers pizzas, hot dogs, ice cream, burritos, etc. My website has a page titled “What food do we offer” and that page has a list of food types each linking to a separate page, like this:

/pizza  
/hotdog  
/icecream  
/burrito  

All these pages are basically the same, except that the type of food is different. So it would say something like

“Order your pizza quickly and easily online here!”
“Order your hotdog quickly and easily online here!”
“Order your ice cream quickly and easily online here!”
“Order your burrito quickly and easily online here!”

… and a few other phrases like this.

Obviously this is designed to lure anyone who is looking for, say, pizza to our website where it is specifically mentioned that they can order pizza.

Is this bad for SEO, i.e. would Google see this as a set of doorway pages?

Internal links from “money pages”

Advertising

y u no do it?

Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

Starts at just $1 per CPM or $0.10 per CPC.

Converting wiki pages to modern pages with Pnp PowerShell creates pages with links to Previous_xxx.aspx

I am using the PowerShell script Convert-WikiAndWebPartPages.ps1 (with the switch ‘Modern page takes source page name’ set to true), from https://docs.microsoft.com/en-us/sharepoint/dev/transform/modernize-userinterface-site-pages-powershell, to convert site pages to modern pages. But I am running into an issue with the migrated wiki pages. The pages contain links to the other pages, but after the conversion the links in the modern pages are pointing to Previous_xxx.aspx

So after the conversion to modern pages all links need to be fixed to the original source page name (and I would like to keep the page creation/modification info).

Which PnP PowerShell commands can I use to correct the links?

seo – Is it right to use canonical on blog posts to category pages to provide value to the category page?

Canonical tags can only be used when two pages have the same content. They tell search engines which of the two duplicate URLs is your preferred URL that you would like to have indexed. When you use canonical tags for any other purpose, search engines are likely to ignore the tags. Google especially has been ignoring canonical tags when the content of the pages isn’t duplicate for a few years now.

If you use a canonical tag on a blog post pointing to the category page, what you are trying to say to search engines is: “Don’t index this page full of text, rather index and rank this other page that has a bunch of links on it.” That doesn’t make any SEO sense. Pages with text are better for SEO than pages of links. Users don’t like to click from the search results to get another page with a lot of links from which they have to click again to get what they want. Users would rather land directly on some specific page that has exactly what they want. Google knows this and ranks pages accordingly. Category pages don’t have a lot of SEO value. It is difficult to get them to rank, and rightly so. If you want your category pages to rank, it is best to enhance them beyond the default functionality provided by most blog platforms.

The best way to pass value from one page to another on your site is not to use canonical tags. Rather, use links from your blog pages to your valuable pages.

How can I hide /scald-tags/ pages?

How to make Scald-tags pages unavailable for users to reach?
Pages like this one: https://nsarchive.gwu.edu/scald-tags/ebb718
Thanks.

oembed – Custom embed shows on posts but not on category pages

I added a custom embed handler for brightcove since one doesn’t exist.

It works fine on the post itself and the video loads, but just shows a linked url on category and blog roll pages. I am setting the post type to Video because I’d like that to be the featured image. Here’s what I have:

add_action( 'init', function()
{
wp_embed_register_handler( 
   'brightcove', 
   '#https?://players.brightcove.net/((^/)+)/((^/)+)/index.html?videoId=((d)+)#', 
   'wp_embed_handler_brightcove' 
);
} );

function wp_embed_handler_brightcove($matches, $attr, $url, $rawattr) {



$account  = esc_attr($matches( 1 ));
$player   = esc_attr($matches( 2 ));
$video_id = esc_attr($matches( 3 ));

$embed = '<div style="position: relative; display: block; max-width: 100%;"><div style="padding-top: 56.25%;"><iframe src="'
. sprintf('https://players.brightcove.net/%1$s/%2$s/index.html?videoId=%3$s',
          $account,
          $player,
          $video_id
) . '" allowfullscreen="" allow="encrypted-media" style="position: absolute; top: 0px; right: 0px; bottom: 0px; left: 0px; width: 100%; height: 100%;"></iframe></div></div>';

  return apply_filters('embed_brightcove', $embed, $matches, $attr, $url, $rawattr);

}

Any input is appreciated.
https://players.brightcove.net/1160438696001/SJaEAUSpl_default/index.html?videoId=4592378961001