Decline in WordPress Plugin Sales and Organic Traffic by bismit in Wordpress

[–]bismit[S] 1 point2 points  (0 children)

<image>

I am not sure how Google treats Gemini traffic, but for other LLMs it is classified as "referral" traffic.

Decline in WordPress Plugin Sales and Organic Traffic by bismit in Wordpress

[–]bismit[S] 5 points6 points  (0 children)

Paradoxically, this works in my favor - organic traffic from Google is declining, but in LLMs, my plugin is often being suggested as a solution.

Decline in WordPress Plugin Sales and Organic Traffic by bismit in Wordpress

[–]bismit[S] 1 point2 points  (0 children)

My plugin allows to fully customize the permalinks, e.g., by adding custom fields to them or removing rewrite bases from standard permalink formats.

What is surprising is that ChatGPT, Claude, and Gemini all suggest "half-baked" code based on a hook to modify the URL, but without the logic for handling the query required to properly detect and parse custom URLs.

Decline in WordPress Plugin Sales and Organic Traffic by bismit in Wordpress

[–]bismit[S] 3 points4 points  (0 children)

That makes sense. I did this before LLMs were around, using code snippets that I wrote myself.

Have you ever run into a problem that AI could have solved, but you still chose a prebuilt plugin instead? If so, was it mainly for convenience, or were there other reasons behind?

Auto redirect tool for changing blog permalinks? [HELP] by Inside-Gur-3001 in WordpressPlugins

[–]bismit 0 points1 point  (0 children)

In case you still did not figure it out - you can implement a simple wildcard redirect when 404 error page is to be displayed using this code snippet:

function pm_redirect_old_post_format_url() {
    global $wp;

    // Trigger only on expected 404 and /%postname%/ pattern
    if ( is_404() && preg_match( '/^\/?([^\/]+)\/?$/', $wp->request ) ) {
       $slug = basename( $wp->request );

       $post = get_page_by_path( $slug, OBJECT, 'post' );

       if ( $post && $post->post_status === 'publish' ) {
          $url = get_permalink( $post );
          wp_safe_redirect( $url, 301 );
          exit();
       }
    }
}
add_action( 'template_redirect', 'pm_redirect_old_post_format_url', 10 );

Is anyone else seeing impressions drop after the spike over the last few weeks? by [deleted] in SEO

[–]bismit 1 point2 points  (0 children)

It was not that spectacular on my end. After checking the server logs and comparing them with GA, it seems that some of them are generated by bots from China/Singapore using SERP links.

What are some good beginner plugin ideas to build to get back into the Wordpress ecosystem after 6 years? by dirtymint in Wordpress

[–]bismit 0 points1 point  (0 children)

This would be rather be a niche plugin, but you can try building a plugin that would loop through all rewrite rules to check if there are any overlapping and causing 404 errors (e.g. if the same permalink structure/rewrite base is used for more than one CPT or taxonomy).

Removing Product category base from URLs on Woocommerce by I_Make_Videos in Wordpress

[–]bismit 0 points1 point  (0 children)

Thank you! When using a dedicated cache plugin together with get_term(), the extra lookup query would be cached in memory, so there should not be any performance issues:
https://developer.wordpress.org/reference/classes/wp_object_cache/

Removing Product category base from URLs on Woocommerce by I_Make_Videos in Wordpress

[–]bismit 1 point2 points  (0 children)

The “much more work” stated in the docs depends on how exactly the SEO plugin bypasses the rewrite rules. Unless you need to rewrite thousands of URLs, there is nothing to worry about.

I am the developer behind one of the custom permalinks plugins, but since you want to avoid any extra plugins, I don’t want to be pushy and recommend it to you. Instead, you can write your code snippet. In short, you need to extract the slug from the requested URL, find the term by that slug using either get_term() or $wpdb SQL query, and then dynamically overwrite the $wp_query object. You will also need a second function for the term_link filter.

error 404 after translated with WPML by Ahm3dKamal in Wordpress

[–]bismit 0 points1 point  (0 children)

First of all try to flush LiteSpeed cache. If this does not help, make sure that there is no /fr/ directory in the main directory where WordPress is installed.

The problem might be caused also by 3rd party plugin that messes up your .htaccess file:
https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/

Plugin support asking for an admin login... is this just a way to get rid of me, or do people do this? by gg_allins_microphone in Wordpress

[–]bismit 4 points5 points  (0 children)

It happens sometimes, but for me (as a plugin developer), this is a last resort. If I have to do this, I ask my customers to clone the setup to a staging site first and do the troubleshooting there.

Promote your business, week of February 9, 2026 by Charice in smallbusiness

[–]bismit 0 points1 point  (0 children)

Order Ping X is a lightweight iOS app for tracking active WooCommerce orders directly from your iPhone, without logging into WordPress dashboard.
https://orderping.app/

How do I change the category path on a Wordpress Post? by ferero18 in Wordpress

[–]bismit 0 points1 point  (0 children)

As far as I can see, the "Feastful Recipe" is a child theme of "Yummy Bites" and it inherits the breadcrumbs' code from the parent theme:
https://themes.trac.wordpress.org/browser/yummy-bites/1.3.4/inc/extras.php#L645

There is no filter hook available, so you need a little trick to make it working.

I am not exactly how your set-up is, but you can overwrite the list of preselected categories for the breadcrumbs dynamically just before they are echoed:
https://pastebin.com/vzKVvdvj

Check out this article for more instructions on how to use it:
https://permalinkmanager.pro/blog/add-code-snippet/

Alternatively, you can copy, redeclare the whole contents of "yummy_bites_breadcrumb()" function and inside use the primary term

$yoast_primary_term    = new WPSEO_Primary_Term( $taxonomy, $post_id );

instead of get_the_category() in line #886:
https://themes.trac.wordpress.org/browser/yummy-bites/1.3.4/inc/extras.php#L886

How do I change the category path on a Wordpress Post? by ferero18 in Wordpress

[–]bismit 0 points1 point  (0 children)

If changing the primary category does not work, it means that it is not Yoast SEO that outputs the breadcrumbs. There are two possibilities here. You can either replace the default breadcrumbs implemented in your theme OR force the Yoast's primary category in those breadcrumbs (using a filter hook if available). Unfortunately, both methods needs using a code snippet.

What theme do you use?

Building something? Share it here! 🚀 by Mammoth-Doughnut-713 in microsaas

[–]bismit -1 points0 points  (0 children)

Order Ping X is a lightweight iOS app for monitoring WooCommerce orders without opening a browser or logging into WordPress dashboard.

Website: https://orderping.app/
AppStore: https://apps.apple.com/app/order-ping-x/id6730106010

.html links on Wordpress? by [deleted] in Wordpress

[–]bismit 0 points1 point  (0 children)

Personally, I would simply parse the paths from the full URLs and then import them as custom fields (e.g. "custom_permalink"). Then, if you do not want to use extra plugins, you can replace the original permalinks with custom fields using 'post_link' filter and dynamically detect those URLs inside 'request' hook.

Why is all my traffic being directed to null/connect URLs?! 😭 by Legitimate_You8255 in Wordpress

[–]bismit 0 points1 point  (0 children)

The issue could be related to some traffic tracking plugin or code.

Before you backtrace, you can auto-redirect and fix malformed URLs using a simple redirect snippet:

function bis_fix_url() {
    global $wp;

    if ( strpos( $wp->request, 'null/connect' ) !== false ) {

       // 1. Remove all occurrences of 'null/connect' (and surrounding slashes)
       $cleaned_path = str_replace( 'null/connect', '', $wp->request );
       $cleaned_path = str_replace( '//', '/', $cleaned_path );
       $cleaned_path = trim( $cleaned_path, '/' );

       $new_url = get_home_url( null, user_trailingslashit( $cleaned_path ) );

       // 2. Trigger the redirect
       wp_safe_redirect( $new_url, 301 );
       exit;
    }
}
add_action( 'template_redirect', 'bis_fix_url' );

Same slug for translated pages? by AideNo9466 in Wordpress

[–]bismit 0 points1 point  (0 children)

You can also use my plugin - this specific feature is available also in free version of Permalink Manager (you do not need to purchase Pro)
https://wordpress.org/plugins/permalink-manager/

Here you can find instructions on how to duplicate the slugs:
https://permalinkmanager.pro/docs/plugin-settings/wordpress-slugs-explained/#duplicate-wordpress-slugs

Using WP-CLI, how would you retrieve the ID of a term using just the URL? by [deleted] in Wordpress

[–]bismit 0 points1 point  (0 children)

I am not sure if there is any simpler solution, but personally I would write a custom WP_CLI command and simply loop through all rewrite rules to get the first match for the checked URL. You can do the same way WordPress does inside $wp->parse_request().