url – GitHub Pages não encontra a minha fonte no repositório

Enviei um site para o GitHub Pages junto com algumas fontes que serão usadas na página. A estrutura do diretório é essa:

MeuRepositorio/
    index.html
    public/
        ...
        fonts/
            MinhaFonte.TTF
        css/
            style.css

Dentro do arquivo style.css, eu utilizo o código abaixo para importar a fonte:

@font-face {
  font-family: MinhaFonte;
  src: url(../fonts/MinhaFonte.TTF);
}

O problema é que o GitHub Pages não encontra o arquivo e gera o seguinte erro:

Failed to load resource: the server responded with a status of 404 ()

E esse erro é bem estranho pois, se eu passar o cursor em cima do nome da fonte que deveria ser carregada — MinhaFonte.TTF:1 — ao lado da mensagem de erro, ele mostra a URL completa e supostamente correta, que é essa:

https://myName.github.io/MeuRepositorio/public/fonts/minhaFonte.TTF

O que eu estou fazendo de errado?

Youtube videos are not working on Simple Product pages

Any simple product that has a video assigned to it, will not play the video. If you are looking at the config product then videos play without issue.

Magento Version 2.3.5

github pages – I wants to know how to create python function to get _num1_ and _num2_?

github pages – I wants to know how to create python function to get _num1_ and _num2_? – Web Applications Stack Exchange

seo – Effect of 301 redirecting many pages from one directory/folder to another (same domain)?

I’d like to see the effects of 301 redirecting a bunch of pages from one path to another on the same domain. Example:

  • From: mysite.com/stuff/[product_id]
  • To: mysite.com/products/[product_id]

I would of course make sure to change the rel canonical tag as well.

Has anyone done this on a somewhat large scale?

If so, what were the results? I’d expect some level of bouncing around in the SERP, but how did it shake out? Net positive effect on your rankings? Neutral? Negative?

I’m curious to hear any war stories. I’ve heard from others and read in Google rater guidelines that different parts of sites can be judged independently, and I’m curious to see if the same content will rank differently given a new URL path.

PHP issue passing results of variables from one function to another in same file but works on other pages

I am having an issue accessing my global variables inside the same file where the variables exist. However, they work just fine when I call the same variable in other files. To call the variable in another file I have used the required_once to call my file where the globals are located and then called each variable I need individually like global $example_vairable.

The issue is that when I use global $example_vairable later on in the same file where I defined global $example_vairable it does not work. Inside of another function on the same page I have called my variable global $example_vairable and then just tested with either an echo or a var_dump. echo shows no display and var_dump provides a bool(false) telling me I have an error but I have no idea where or why.

This is in wordpress so I am using my functions file where my variables are located. Here is my code:

THE FUNCTIONS FILE GLOBAL VAIRABLE

function Total_Result(){
    global $total_result, $resultx;

     $resultxs = array($resultx);
     $total_result =  count($resultxs(0));
    //return($total_result);
}
add_action( 'after_setup_theme', 'Total_Result' );

Then the function on the same file (functions.php) that I am trying to call the global from:

add_action("wp_ajax_getvendorresponsestatus", "getvendorresponsestatus");
add_action("wp_ajax_nopriv_getvendorresponsestatus", "getvendorresponsestatus");

function getvendorresponsestatus() {
    global $wpdb, $endResult,$total_result ;
    if(isset($_POST('action')) == 'getvendorresponsestatus'){

                    echo $total_result;
        var_dump($total_result);
            var_dump($endResult);
            echo $endResult->posted_by;
        

};
}

I have also tried to pass the variable in the function itself but it too doesnt work.

add_action("wp_ajax_getvendorresponsestatus", "getvendorresponsestatus");
add_action("wp_ajax_nopriv_getvendorresponsestatus", "getvendorresponsestatus");

function getvendorresponsestatus($endResult, $total_result) {
    global $wpdb;
    if(isset($_POST('action')) == 'getvendorresponsestatus'){

                    echo $total_result;
        var_dump($total_result);
            var_dump($endResult);
            echo $endResult->posted_by;
        

};
}

redirects – Redirecting old website with multiple pages to a one page website

I’ve created a website for a client, they said they didnt’t care that SEO would be affected so I decided to create a completely new website with a different structure than their old website.

They said that they had no traffic to their website anyways, but they are ranking first for their company name(a pretty unique name).

Their old website had 3 pages that I basicly merged into a one page website and uploaded with a different domain name. This website isn’t ranking very well yet however it was just uploaded 2 days ago.

Can I redirect the entire old website to the new one and keep their SEO ranking or will it be penalized after doing so?

How can we find 404 pages on a website without google search console or conducting a crawl?

How can I find 404 error pages on a website to which I don’t have access to conduct a crawl on or check google search console?

seo – How can I increase the value of one page compared to other pages?

I have the following structure in my website :

                                       example.com
                                            |
            -------------------------------------------------------------
          Cat-1                           Page-A                   Blog-Page
            |                               |                          |
      ----------------               ----------------           ----------------
      |              |               |              |           |              |
  Product-1       Product-2      Product-1       Product-4    Post1          Post2

Product pages are categorized between two types of pages: Category Pages(Cat-1) & Special Pages(Page-A)
In my business, the priority of my pages is in the following order:

  • Special Pages(Page-A)
  • Category Pages(Cat-1)
  • Post Pages(Post-1 , Post-2 and …)
  • Product Pages(Product-1 , Product-2 and …)
  • Home Page(example.com)

My problem here is that Google has prioritized pages as follows (base on search result):

  • Product Pages(Post-1 , Post-2 and …)
  • Category Pages(Cat-1)
  • Special Pages(Page-A)
  • Post Pages(Post-1 , Post-2 and …)
  • Home Page(example.com)

Sitemap details for each entities :

  • Special Pages (changefreq : daily, priority : 0.9)
  • Category Pages(changefreq : daily, priority : 0.9)
  • Product Pages (changefreq : daily, priority : 0.7)
  • Post Pages (changefreq : weekly, priority : 0.6)

How can I get this valuable to Google?

php – Order by title Child Pages displayed in a Parent Page

I am using the code bellow to display a list of Child Pages on a Parent Page.
I want to order the displayed list by Alphabetical order. How can I achieve this?

function wpb_list_child_pages() { 

global $post;

if ( is_page() && $post->post_parent )

$childpages = wp_list_pages( 'sort_column=menu_order&title_li=&child_of=' . $post->post_parent . '&echo=0' );

else
$childpages = wp_list_pages( ‘sort_column=menu_order&title_li=&child_of=’ . $post->ID . ‘&echo=0’ );

if ( $childpages ) {

$string = '<ul>' . $childpages . '</ul>';

}

return $string;

}

add_shortcode(‘wpb_childpages’, ‘wpb_list_child_pages’);

Where to see active pages in Google Analytics right now?

I’ve now been googling for half an hour and can’t understand how to find this in the new GA which seems very confusing for regular users like me.

Been using Google Analytics for 10+ years, but now when creating a property and click realtime, I can’t see which pages people are active on right. I see a lot of useless data but not the simple line I’m used to use.

Where are these data available?

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123