Connect with us

SEO

WordPress 5.6 and PHP 8 Compatibility via @martinibuster

Published

on

wordpress php 8 5fbdbebf2130d

WordPress is updating soon to version 5.6 which aims to be compatible with PHP 8. However, WordPress cautioned that it should be considered “beta-compatible” and explained why upgrading to PHP 8 should at this time be done with care.

Background on PHP

PHP is a programming language that is run on a server to generate a web page. WordPress itself is created with the PHP language.

The current version of PHP is PHP 7x. The “x” is a reference to the different versions of PHP 7, which currently represent 7.2, 7.3 and 7.4.

Versions prior to 7.2 have reached their “end of life” (EOL) and are longer being updated with security patches.

The oldest version, 7.2, is due to reach EOL on November 30, 2020. That means it will no longer receive security updates and because of that it will become a potential security liability for any site still using it, should a vulnerability be discovered in the future.

Version 7.3 is scheduled to reach EOL on December 6, 2021.

Publishers Have Until 2022 to Update to PHP 8?

The current and most up to date version of PHP 7.x is version 7.4. PHP 7.4 reaches EOL on November 8, 2022.

Advertisement

Continue Reading Below

What that means is that technically, WordPress publishers have two years to decide on when to update their PHP version to PHP 8. In practice however, most WordPress publishers should be able to update to PHP 8 well before that time.

Why WordPress 5.6 is Beta Compatible

WordPress announced that the latest WordPress version due in December 2020 should be compatible with PHP 8. However, WordPress cautioned that it is still possible that undiscovered incompatibilities may still exist.

That is an acknowledgement of the reality that while the core WordPress install may be compatible with PHP 8, there still exists the possibility that something was overlooked.

This is how the WordPress 5.6 PHP 8 guidance phrased it:

“WordPress Core aims to be compatible with PHP 8.0 in the 5.6 release (currently scheduled for December 8, 2020).

…Significant effort has been put towards making WordPress 5.6 compatible with PHP 8 on its own, but it is very likely that there are still undiscovered issues remaining.”

The fact of there being “undiscovered issues remaining” is not a negative statement about the WordPress 5.6 release. It’s a pragmatic acknowledgement that in programming, as in many engineering activities, there is almost always the possibility that unforeseen mistakes or oversights exist.

Advertisement

Continue Reading Below

Perhaps a more important consideration is the uncertainty of when themes and plugins will become PHP 8 compatible. This more than anything else, could contribute to holding WordPress back from being considered fully PHP 8 compatible.

The official WordPress 5.6 guidance advised:

“It also should be acknowledged that WordPress is never used in isolation (without any theme or plugins), so WordPress itself being able to run on PHP 8 does not indicate “full” compatibility.

The state of PHP 8 support within the broader ecosystem (plugins, themes, etc.) is impossible to know. For that reason, WordPress 5.6 should be considered “beta compatible” with PHP 8.”

WordPress 5.6 is “Beta Compatible” with PHP 8

In software development there are generally two final release versions. There’s an Alpha version and then a Beta version. The beta version is usually considered as maybe almost ready for release. The beta version of software is what comes before the final version of a software.

So when WordPress says that version 5.6 should be considered as “beta-compatible” that means there may be bugs and errors that haven’t yet been discovered.

Because themes and plugins may not yet be PHP 8 compatible, it’s probably prudent to not update until all plugins and themes have been verified to be PHP 8 compatible.

But even after themes and plugins are PHP 8 compatible, it may still be wise to wait at least a few more months to upgrade.

The reason is because PHP 8 is a major update. While themes and plugins may be considered PHP 8 compatible, it’s almost inevitable that bugs and other issues will be discovered in the PHP 8 compatible themes and plugins that are installed on a site.

Will Updating to PHP 8 Break WordPress Sites?

There are many old PHP functions from 7.x that are removed from PHP 8, which means that themes and plugins that still use them will break in PHP 8.

Wordfence recently estimated that for just one of the functions there are currently over 5,500 plugins installed in millions of sites. While the use of these functions in some cases are for backward compatibility, it’s not so on all of them.

Advertisement

Continue Reading Below

Wordfence cautions:

“…we have identified that create_function is still used in over 5,500 WordPress plugins, including extremely popular plugins with millions of installations. In some cases use of these deprecated functions may be intended for backwards compatibility with older versions of PHP.

Many plugins, however, will need extensive refactoring as PHP 8 becomes more utilized.”

Yoast recently published a study about the PHP 8 readiness of plugins and themes within the WordPress ecosystem.

Breaking Changes in PHP 8

In the section of their report dealing with testing plugins and themes, Yoast concluded:

“Only a small percentage of the available plugins, the more popular and professionally developed ones, have automated tests in place. This is worrisome as generally speaking, the average WordPress site runs about 19 or 20 plugins.

…However, more than anything, the plugins/themes which have tests are likely the ones where the least amount of PHP 8.0 problems can be expected as they use a professional development model.

The multitude of plugins and themes without tests are much more cause for concern as these will more likely to be problematic when run on PHP 8.”

Advertisement

Continue Reading Below

The Yoast report concludes:

“PHP 8 is going to contain a lot of breaking changes.”

“Breaking changes” is a reference to changes that  result in an error when a theme or plugin uses code that is no longer supported in PHP 8.

PHP 8 and WordPress

PHP 8 represents an important step forward for the publishing world, particularly for users of WordPress. One of the benefits is that it will be more security.

The guidance from WordPress regarding updating to PHP 8 is to recommend caution:

“…it is highly recommended that you thoroughly test your site before upgrading to PHP 8.”

The fact that WordPress itself calls WordPress 5.6 “beta-compatible” with PHP 8 tells you all you need to know regarding whether you should update to PHP 8 or not.

Searchenginejournal.com

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address

SEO

State Of Marketing Data Standards In The AI Era [Webinar]

Published

on

By

State Of Marketing Data Standards In The AI Era [Webinar]

Claravine and Advertiser Perceptions surveyed 140 marketers and agencies to better understand the impact of data standards on marketing data, and they’re ready to present their findings.

Want to learn how you can mitigate privacy risks and boost ROI through data standards?

Watch this on-demand webinar and learn how companies are addressing new privacy laws, taking advantage of AI, and organizing their data to better capture the campaign data they need, as well as how you can implement these findings in your campaigns.

In this webinar, you will:

  • Gain a better understanding of how your marketing data management compares to enterprise advertisers.
  • Get an overview of the current state of data standards and analytics, and how marketers are managing risk while improving the ROI of their programs.
  • Walk away with tactics and best practices that you can use to improve your marketing data now.

Chris Comstock, Chief Growth Officer at Claravine, will show you the marketing data trends of top advertisers and the potential pitfalls that come with poor data standards.

Learn the key ways to level up your data strategy to pinpoint campaign success.

View the slides below or check out the full webinar for all the details.

Join Us For Our Next Webinar!

SaaS Marketing: Expert Paid Media Tips Backed By $150M In Ad Spend

Join us and learn a unique methodology for growth that has driven massive revenue at a lower cost for hundreds of SaaS brands. We’ll dive into case studies backed by real data from over $150 million in SaaS ad spend per year.

Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
Continue Reading

SEO

GPT Store Set To Launch In 2024 After ‘Unexpected’ Delays

Published

on

By

GPT Store Set To Launch In 2024 After 'Unexpected' Delays

OpenAI shares its plans for the GPT Store, enhancements to GPT Builder tools, privacy improvements, and updates coming to ChatGPT.

  • OpenAI has scheduled the launch of the GPT Store for early next year, aligning with its ongoing commitment to developing advanced AI technologies.
  • The GPT Builder tools have received substantial updates, including a more intuitive configuration interface and improved file handling capabilities.
  • Anticipation builds for upcoming updates to ChatGPT, highlighting OpenAI’s responsiveness to community feedback and dedication to AI innovation.

Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
Continue Reading

SEO

96.55% of Content Gets No Traffic From Google. Here’s How to Be in the Other 3.45% [New Research for 2023]

Published

on

96.55% of Content Gets No Traffic From Google. Here's How to Be in the Other 3.45% [New Research for 2023]

It’s no secret that the web is growing by millions, if not billions of pages per day.

Our Content Explorer tool discovers 10 million new pages every 24 hours while being very picky about the pages that qualify for inclusion. The “main” Ahrefs web crawler crawls that number of pages every two minutes. 

But how much of this content gets organic traffic from Google?

To find out, we took the entire database from our Content Explorer tool (around 14 billion pages) and studied how many pages get traffic from organic search and why.

How many web pages get organic search traffic?

96.55% of all pages in our index get zero traffic from Google, and 1.94% get between one and ten monthly visits.

Distribution of pages by traffic from Content Explorer

Before we move on to discussing why the vast majority of pages never get any search traffic from Google (and how to avoid being one of them), it’s important to address two discrepancies with the studied data:

  1. ~14 billion pages may seem like a huge number, but it’s not the most accurate representation of the entire web. Even compared to the size of Site Explorer’s index of 340.8 billion pages, our sample size for this study is quite small and somewhat biased towards the “quality side of the web.”
  2. Our search traffic numbers are estimates. Even though our database of ~651 million keywords in Site Explorer (where our estimates come from) is arguably the largest database of its kind, it doesn’t contain every possible thing people search for in Google. There’s a chance that some of these pages get search traffic from super long-tail keywords that are not popular enough to make it into our database.

That said, these two “inaccuracies” don’t change much in the grand scheme of things: the vast majority of published pages never rank in Google and never get any search traffic. 

But why is this, and how can you be a part of the minority that gets organic search traffic from Google?

Well, there are hundreds of SEO issues that may prevent your pages from ranking well in Google. But if we focus only on the most common scenarios, assuming the page is indexed, there are only three of them.

Reason 1: The topic has no search demand

If nobody is searching for your topic, you won’t get any search traffic—even if you rank #1.

For example, I recently Googled “pull sitemap into google sheets” and clicked the top-ranking page (which solved my problem in seconds, by the way). But if you plug that URL into Ahrefs’ Site Explorer, you’ll see that it gets zero estimated organic search traffic:

The top-ranking page for this topic gets no traffic because there's no search demandThe top-ranking page for this topic gets no traffic because there's no search demand

This is because hardly anyone else is searching for this, as data from Keywords Explorer confirms:

Keyword data from Ahrefs' Keywords Explorer confirms that this topic has no search demandKeyword data from Ahrefs' Keywords Explorer confirms that this topic has no search demand

This is why it’s so important to do keyword research. You can’t just assume that people are searching for whatever you want to talk about. You need to check the data.

Our Traffic Potential (TP) metric in Keywords Explorer can help with this. It estimates how much organic search traffic the current top-ranking page for a keyword gets from all the queries it ranks for. This is a good indicator of the total search demand for a topic.

You’ll see this metric for every keyword in Keywords Explorer, and you can even filter for keywords that meet your minimum criteria (e.g., 500+ monthly traffic potential): 

Filtering for keywords with Traffic Potential (TP) in Ahrefs' Keywords ExplorerFiltering for keywords with Traffic Potential (TP) in Ahrefs' Keywords Explorer

Reason 2: The page has no backlinks

Backlinks are one of Google’s top three ranking factors, so it probably comes as no surprise that there’s a clear correlation between the number of websites linking to a page and its traffic.

Pages with more referring domains get more trafficPages with more referring domains get more traffic
Pages with more referring domains get more traffic

Same goes for the correlation between a page’s traffic and keyword rankings:

Pages with more referring domains rank for more keywordsPages with more referring domains rank for more keywords
Pages with more referring domains rank for more keywords

Does any of this data prove that backlinks help you rank higher in Google?

No, because correlation does not imply causation. However, most SEO professionals will tell you that it’s almost impossible to rank on the first page for competitive keywords without backlinks—an observation that aligns with the data above.

The key word there is “competitive.” Plenty of pages get organic traffic while having no backlinks…

Pages with more referring domains get more trafficPages with more referring domains get more traffic
How much traffic pages with no backlinks get

… but from what I can tell, almost all of them are about low-competition topics.

For example, this lyrics page for a Neil Young song gets an estimated 162 monthly visits with no backlinks: 

Example of a page with traffic but no backlinks, via Ahrefs' Content ExplorerExample of a page with traffic but no backlinks, via Ahrefs' Content Explorer

But if we check the keywords it ranks for, they almost all have Keyword Difficulty (KD) scores in the single figures:

Some of the low-difficulty keywords a page without traffic ranks forSome of the low-difficulty keywords a page without traffic ranks for

It’s the same story for this page selling upholstered headboards:

Some of the low-difficulty keywords a page without traffic ranks forSome of the low-difficulty keywords a page without traffic ranks for

You might have noticed two other things about these pages:

  • Neither of them get that much traffic. This is pretty typical. Our index contains ~20 million pages with no referring domains, yet only 2,997 of them get more than 1K search visits per month. That’s roughly 1 in every 6,671 pages with no backlinks.
  • Both of the sites they’re on have high Domain Rating (DR) scores. This metric shows the relative strength of a website’s backlink profile. Stronger sites like these have more PageRank that they can pass to pages with internal links to help them rank. 

Bottom line? If you want your pages to get search traffic, you really only have two options:

  1. Target uncompetitive topics that you can rank for with few or no backlinks.
  2. Target competitive topics and build backlinks to rank.

If you want to find uncompetitive topics, try this:

  1. Enter a topic into Keywords Explorer
  2. Go to the Matching terms report
  3. Set the Keyword Difficulty (KD) filter to max. 20
  4. Set the Lowest DR filter to your site’s DR (this will show you keywords with at least one of the same or lower DR ranking in the top 5)
Filtering for low-competition keywords in Ahrefs' Keywords ExplorerFiltering for low-competition keywords in Ahrefs' Keywords Explorer

(Remember to keep an eye on the TP column to make sure they have traffic potential.)

To rank for more competitive topics, you’ll need to earn or build high-quality backlinks to your page. If you’re not sure how to do that, start with the guides below. Keep in mind that it’ll be practically impossible to get links unless your content adds something to the conversation. 

Reason 3. The page doesn’t match search intent

Google wants to give users the most relevant results for a query. That’s why the top organic results for “best yoga mat” are blog posts with recommendations, not product pages. 

It's obviously what searchers want when they search for "best yoga mats"It's obviously what searchers want when they search for "best yoga mats"

Basically, Google knows that searchers are in research mode, not buying mode.

It’s also why this page selling yoga mats doesn’t show up, despite it having backlinks from more than six times more websites than any of the top-ranking pages:

Page selling yoga mats that has lots of backlinksPage selling yoga mats that has lots of backlinks
Number of linking websites to the top-ranking pages for "best yoga mats"Number of linking websites to the top-ranking pages for "best yoga mats"

Luckily, the page ranks for thousands of other more relevant keywords and gets tens of thousands of monthly organic visits. So it’s not such a big deal that it doesn’t rank for “best yoga mats.”

Number of keyword rankings for the page selling yoga matsNumber of keyword rankings for the page selling yoga mats

However, if you have pages with lots of backlinks but no organic traffic—and they already target a keyword with traffic potential—another quick SEO win is to re-optimize them for search intent.

We did this in 2018 with our free backlink checker.

It was originally nothing but a boring landing page explaining the benefits of our product and offering a 7-day trial: 

Original landing page for our free backlink checkerOriginal landing page for our free backlink checker

After analyzing search intent, we soon realized the issue:

People weren’t looking for a landing page, but rather a free tool they could use right away. 

So, in September 2018, we created a free tool and published it under the same URL. It ranked #1 pretty much overnight, and has remained there ever since. 

Our rankings over time for the keyword "backlink checker." You can see when we changed the pageOur rankings over time for the keyword "backlink checker." You can see when we changed the page

Organic traffic went through the roof, too. From ~14K monthly organic visits pre-optimization to almost ~200K today. 

Estimated search traffic over time to our free backlink checkerEstimated search traffic over time to our free backlink checker

TLDR

96.55% of pages get no organic traffic. 

Keep your pages in the other 3.45% by building backlinks, choosing topics with organic traffic potential, and matching search intent.

Ping me on Twitter if you have any questions. 🙂



Source link

Keep an eye on what we are doing
Be the first to get latest updates and exclusive content straight to your email inbox.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
Continue Reading

Trending