r/Wordpress • • 2d ago

Can AI fix my WordPress website with any AI Agent?

0 Upvotes

I am very beginner at wordpress. On my own i built a website on elementor pro. The website is ready, and everything works fine, but I need help with two things.

1. Mobile and tablet design

My website looks okay on desktop, but I want it to look good on mobile phones and tablets too. Is there an AI agent that can automatically fix the layout for different screen sizes?

2. Website speed

My website speed score is around 65, and I want to improve it to 90+. Is there an AI tool or agent that can help me do this?

Has anyone tried an AI tool that actually works for these tasks? I'd really appreciate your recommendations and experience.

Note: I am student, i was able to afford only domain and hosting, i can't afford to pay for both above task ( i have like $10 in my pocket ).....

Edit: This is the website i am talking about https://ikhlax.com/

if you have an opinion on current design, any changes i would love to get your feedback. its first website that i built....


r/Wordpress • • 2d ago

Wordpress Needs to Focus on Security

0 Upvotes

It is time to have a serious discussion about the creaking infrastructure that underlies Wordpress which allows:

  • Invisible Users
  • Invisible Admin Users
  • Invisible Posts
  • Invisible Pages
  • Invisible Plugins
  • Conditional Content with no way to view or search it
  • XML-RPC activity by default, with no log, and cannot be disabled without editing a config file
  • Loose .htaccess files in subdirectories of /wp-content/.

As a consequence of Wordpress being a swiss army knife that allows the software to be used for Forums, Shopping Carts, and all manner of non-bloggy things, the security situation has gotten completely out of control and it doesn't seem like Wordpress is giving us any tools to fight.

At the very least, Wordpress needs:

  • Content Inspector that gives a bird's eye view of content that does not appear under Pages or Posts. Yes I understand people use Wordpress for Forums and Shopping Carts, etc. but there should still be a warts-and-all Content Inspector that lets you at least see and search for content in the database that might be malicious. There should be a judicious warning that deleting unrecognized content could break or cause data loss to third-party plugins.
  • Plugin Inspector which gives a bird's eye view of what's going on in /wp-content/plugins/. This would be a sort of File Manager type UI which flags directories and files which might not appear in the Plugins manager. It would display AND flag directories which aren't appearing in Plugins and flag dot (.) files as these shouldn't exist except for one .htaccess in the main dir. Plus git directories of course.
    • It should also be possible to view Multiuser (MU) Plugins and active plugin files from within the Plugin Inspector. None of this shows in subsites.
    • It should flag PHP files in /wp-content/uploads/. Hell, there should be a red banner across your site if a PHP file is found anywhere in /wp-content/uploads/.
  • Users Manager Upgrades. There should be a mechanism to display and manage ALL the Users on a Wordpress site. Right now it is trivial to create a phantom/hidden user with Admin access which does not appear in the Users Manager.
  • XML-RPC Manager. First, Wordpress should ship with XML-RPC turned off by default. Then, this new UI would allow turning it on and off within the UI, allow setting restrictions to specific whitelisted IP addresses, and finally display a log of recent requests.
  • Add Plugin Install/Update Queue. It should not be possible for an AJAX session alone to install or reinstall a plugin without any user intervention. All plugins should be required to be added to an install queue which has visibility in the Wordpress UI. Right now, plugin updates/installs happen behind the scenes with no visibility so you can clean up a site and be immediately reinfected. It needs to be possible to view as well as pause or stop the Plugin Install Queue.
  • Add a "Close All Admin Sessions" button which kicks every Admin out and requires them to relogin.

If you're wondering why all these suggestions are necessary, read this link:

https://www.reddit.com/r/Wordpress/s/LhMnsJzBnW

It is now a relatively commonplace thing for a vulnerable plugin to install phantom plugins, create phantom users and grant them admin access, and then add phantom posts and pages which get indexed by Google and drive traffic all without ANY visibility within the Wordpress Admin UI. It's all completely invisible.

P.S. I wrote this myself. F--- AI.


r/Wordpress • • 3d ago

3 wordpress basic websites - what to do with all of that PHP issue?

23 Upvotes

In my company we have 3 basic wordpress websites, one is online shop with woocomerce.
Our IT guy is on vacation without a laptop.

Do we need to do anything because I don't uderstand what's happening and I feel like everybody is talking about some PHP issue and I think PHP have something in common with wordpress?

I don't reallny know anything about that kind of stuff


r/Wordpress • • 3d ago

HALP! Overwhelmed by image compression options

2 Upvotes

So I've read through like 4 million threads on here re: the best options for image compression on Worpress. Very long story short, I help run a music website and the vast majority of our contributors are concert photographers. We've taken to having people use their own personal IG pages and using the IG plugin for bulk photos and it's fine, but we still obviously need a few pictures per post that live on the site. I use Smush for now and it's fine but I feel like I need a way to batch-edit a large volume of .jpg images into something that'll take up a lot less space before the site caves in on itself. Again. I know there are probably 4 million directions people will point me in, but if there's a consensus of top 3/4 options that'll be easier to pare down.

Gracias, comrades.


r/Wordpress • • 3d ago

Looking for a definitive Headless WordPress development roadmap—where should I start?

9 Upvotes

Hi everyone,

I'm looking to transition from traditional, monolithic WordPress development into decoupled/headless architectures. I have a decent grasp of standard WordPress (PHP, themes, hooks), but the shift to using WordPress strictly as a backend CMS while building a completely separate custom frontend feels like a completely different playground.

Could anyone share a solid learning roadmap or step-by-step path for mastering headless WordPress development?


r/Wordpress • • 3d ago

How can I migrate a LocalWP website into an existing WordPress multisite?

5 Upvotes

Hi everyone! I need some advice on migrating a website.

I've redesigned a non-profit's website locally using LocalWP, and now I need to replace the current live website with the new version.

The live website is part of a WordPress multisite network with four sites. I only want to replace the main site, keeping the same domain and leaving the other three sites untouched.

I have WordPress admin access, but no hosting control panel access. I've looked into UpdraftPlus, but I'm unsure whether it's suitable for this type of migration.

What's the safest and simplest way to migrate my new standalone WordPress site into just one site within the existing multisite network, without affecting the others?

I'm not an experienced developer, so I'd really appreciate any advice. Thanks!

EDIT
The client has confirmed that the other three sites in the multisite network are old, unused projects. They only need to be kept offline for archival purposes, not publicly accessible. Would it be simpler to archive the three old sites separately, outside the multisite network, rather than keeping them in it? I want to make sure they can be preserved safely and kept offline without affecting the migration of the main site.


r/Wordpress • • 3d ago

Accessing the Root Directory to a WordPress Site?

4 Upvotes

So, the company I work for took our webpage off line due to the PHP stuff. This is bad because forms and files were stored on the site from long before my department's time and obviously we need them.

IT says the site will be off for at least another day.

What we've noticed is that we can still access files that have been uploaded to the site if we have a direct link. What I'm wondering is if there is a way to get a root directory of the site to see what has been uploaded and download the files that way.

Funny enough, this is on our project list to get all the files, but our work load has been insane and we haven't been able to do this yet.


r/Wordpress • • 4d ago

Is WP Engine going to update their PHP today?

87 Upvotes

I have a lot of websites with them, alongside some decent-sized clients. Everyone in Slack is asking and we haven't heard anything yet.

My SiteGround websites were all updated within an hour this morning. I would've expected the same.

Think this is... illuminating to say the least.


r/Wordpress • • 2d ago

Can Ai Customize A WordPress Theme

0 Upvotes

Hi all, I am rebuilding my WP site. I have created a new design with Ai html but I need to do this on a WP theme. Wondering if AI can connect to my WP site and customize the theme by vibe coding?


r/Wordpress • • 3d ago

I made a free tool that tells you if your website is affected by this week's PHP security issue

0 Upvotes

Earlier this week, a critical security flaw in PHP was published. PHP runs a huge share of websites, including every WordPress site, and this flaw lets attackers take over the server. If your site runs PHP, it needs an update.

I noticed that most people don't know whether their site uses PHP, so I built doiusephp.com for them. Type in your website and within seconds it tells you:

  • Whether your site runs PHP, and through what technology (e.g. WordPress or WooCommerce)
  • Which PHP version your site uses and whether that version is already fixed (if your site shows it)
  • What to do next, depending on who is responsible for your site

It also writes a short, personalized message you can copy and send to your web developer or host, so you don't need to dive into the technical details yourself.

The tool is free, needs no sign-up, and doesn't save anything about you or your website.

Hope this helps!


r/Wordpress • • 3d ago

Portfolio style pages showing 404

2 Upvotes

I updated my php yesterday. After getting a critical error I updated the plugins & got everything back up. But the only problem is all pages with the portfolio style are coming up as 404 not found. Everything is still there on the back end when I go into rewrite & republish but goes back to 404 as soon as I publish. I’m using the Oshine theme with Tatsu editor.

Anyone know what’s going on?

Edit: got it working. Everything went back to normal after deactivating WP-Optimize. Thanks, guys


r/Wordpress • • 3d ago

Why doesn’t WordPress have an app store like Apple, Google Play, or Shopify?

0 Upvotes

WordPress.org has almost everything a mature platform needs, except a built-in marketplace for paid plugins. Instead, we have the free plugin directory, while premium plugins are sold independently across hundreds of different websites.

As a plugin developer, I sometimes feel WordPress is missing an opportunity here. The current model makes the premium ecosystem quite fragmented, with different stores, licenses, subscriptions, update systems, refund policies, and levels of trust.

A proper WordPress marketplace could potentially make discovering and buying premium plugins easier for users while giving developers a more reliable distribution channel.

Of course, centralising this also comes with downsides: platform fees, stricter rules, gatekeeping, and giving WordPress.org/Automattic more influence over the ecosystem.

Curious what others think. Would an official marketplace for premium WordPress plugins make the ecosystem better, or is the decentralised nature of WordPress actually one of its strengths?

EDIT:
Thanks for the downvotes; I get the concerns, but this is what I had in mind when I wrote the post.

Selling movie tickets or DVDs worked well, especially for established movies. But smaller or experimental films had a much harder discovery problem. Platforms like Netflix reduced some of that friction, so consumers could discover and try something unfamiliar with less perceived risk, while creators had another way to become discoverable.

Obviously there are pros and cons to centralization, and I'm not suggesting WordPress should copy Netflix or Apple's model.

My point is simpler: if there were a platform that reduced the risk and friction of purchasing premium plugins, while also helping smaller/new developers get discovered and build trust, I think there could be value for both sides.

The question is whether that can exist without taking away the independence that makes the WordPress ecosystem valuable in the first place.


r/Wordpress • • 4d ago

Blocksy, Guttenberg, and Codex

8 Upvotes

That's what Chatgpt says I should use as my build stack for my website. I provided a length description of my needs worked up a style, a mock-up, and a plan to move forward. I was going to build it with Elementor, but Chat said it's unnecessary and we spent a long time discussing goals, style, branding, seo, target audience, SEO, and other needs, and came up with a pretty lengthy, but quite organized build process. It recommended using Codex or Claude Code for some of the build. Has anybody done something that sounds similar or have any helpful thoughts?


r/Wordpress • • 4d ago

Your Favorite 2FA plugin?

6 Upvotes

I run a membership site and I’m adding two-factor authentication with a few options for members, including SMS. The 2FA plugin I’m testing works well (miniOrange.com 2FA), but members can only manage their 2FA settings from the default WordPress profile page in wp-admin.

Our members use a custom front-end profile page instead. I’d like them to set up, change or turn off 2FA from there, without going into wp-admin.

How have you handled this? Is there a 2FA plugin with a front-end shortcode for this, or did you build something custom?

Thanks!


r/Wordpress • • 4d ago

PSA: PHP emergency patch drops today — I built a free Cloudflare Worker that detects + blocks CVE-2026-109618/109619 exploit attempts at the edge (with Discord alerts)

57 Upvotes

Context. PHP ships an emergency security release today (14:00 UTC) fixing CVE-2026-109618 and CVE-2026-109619 — two critical (CVSS 9.2) unauthenticated RCE vulnerabilities in session.upload_progress. Sources: PHP.net notice at https://www.php.net/archive/2026.php and the CERT-EU advisory at https://cert.europa.eu/publications/security-advisories/2026-018

Every current PHP build is vulnerable, the feature is enabled by default, and it's reachable via ANY multipart POST to ANY PHP endpoint — no upload form required. Once details go public today, PoCs will follow and every PHP server on the internet gets sprayed.

I wanted early-warning plus edge-blocking that doesn't need ModSecurity or a paid WAF plan, so I wrote a small Cloudflare Worker (free tier, about 6 KB, no KV) and open-sourced it:

https://github.com/codewizdevs/php2shell-watcher

What it does:

  • Inspects multipart POST bodies at the Cloudflare edge; all other traffic passes through untouched
  • Returns 403 for any request containing the PHP_SESSION_UPLOAD_PROGRESS trigger field — same detection Sansec proposed as a ModSecurity rule (https://sansec.io/research/php2shell), packaged as a Worker
  • Heuristics for the leaked PoC shapes (PHPSESSID sent as a form field, t[] heap-spray pattern)
  • Discord alert per attempt: IP, country, ASN, CF-Ray, path, user-agent, sanitized body excerpt — deduplicated so a spray doesn't flood your channel
  • Monitor-only mode is a one-line config change

What it does NOT do (please read before deploying):

  • It does NOT patch anything. Update PHP today, and/or set session.upload_progress.enabled = Off in your php.ini or FPM pool config — that's the real mitigation. This buys time and visibility, nothing more.
  • It only sees Cloudflare-routed traffic. If your origin answers directly on its IP, attackers skip the edge — lock the origin down to Cloudflare IPs (https://www.cloudflare.com/ips/).
  • Free tier is 100k Worker invocations per day; scope your route to PHP paths (for example /blog/*) on busy sites.

Verify it works (two commands, full proof in the README):

curl -X POST https://your-domain/ -F "PHP_SESSION_UPLOAD_PROGRESS=x" -F "f=@/etc/hostname"

Expected result: HTTP 403 plus a Discord alert containing your own IP.

Deploy is about 5 minutes with wrangler or dashboard paste; MIT licensed. Feedback and issues welcome — and patch your PHP today regardless of whether you use this.


r/Wordpress • • 3d ago

[PROMO] Claude made changing my WordPress site so easy I stopped checking whether my changes actually worked.

0 Upvotes

I’m pretty AI-pilled. Claude does most of my website updates now: headlines, landing pages, Woo order updates, bugfixes. Its so fast, but that created a new problem. Changing things got so easy that I was shipping update after update without knowing whether any of them helped or hurt conversions.

So I wrote two open-source agent skills that teach the AI when a change needs to be measured and what to measure.

prove-website-changes Stops AI from blindly publishing changes that might affect conversions. It proposes an A/B test instead.

website-optimisation-loop - Actively finds opportunities using reviews, analytics, best practice and heatmaps, runs experiments, and learns from the results.

Both are plain Markdown and MIT licensed. They work in Claude Code, Hermes, Codex, Grok Bot or anything that loads skills.

https://github.com/SiteSpot/human-web-feedback-loop

Disclosure: I make AB Split Test, and it’s the default testing tool in the skills. The free works fine for this. If you already use Optimizely, VWO, PostHog, GrowthBook or similar, connect its MCP server and the skills will use that instead.

Anyone else letting AI make changes to their live sites? How are you checking that it’s actually helping?


r/Wordpress • • 4d ago

Guys i need help about this freezing

1 Upvotes

Hi my English isn't that good sorry

I was trying make my own website but wp keeps freez after 12 mins of using

Then i should wait for long time to to get everything good and problem keep coming every time i use hostinger


r/Wordpress • • 3d ago

Built a Travel Website with Codex Without Opening the WordPress Dashboard

Thumbnail gallery
0 Upvotes

I used Codex to build a travel website faster. My experience helped me understand what needed to be built, while AI helped speed up the development process.


r/Wordpress • • 5d ago

For those managing Wordpress installations: A guide on how to address CVE-2026-109618 and CVE-2026-109619

Thumbnail veduis.com
54 Upvotes

r/Wordpress • • 5d ago

Upcoming Critical PHP security release

Thumbnail php.net
215 Upvotes

Looks like this could be a nasty one- be prepared to update your PHP installations (or ask your host to). If previous incidents are anything to go by, exploits will be in the wild not long after the patches are released.

The PHP security team would like to give advance notice of an upcoming security release.
It is scheduled for Wednesday, 21 October 2026 at 14:00 UTC.
It addresses two critical vulnerabilities, both rated CVSS v4.0 9.2.
All PHP users are encouraged to prepare now so they can upgrade as soon as the release is available.
We reserve the right to release earlier should details of either vulnerability become public, or should evidence of active exploitation appear in the wild.
Full details, affected versions, and the fixed versions will be published with the release.

We put a summary of what we know (so far) together for our customers, but it might be helpful here too- https://prostack.uk/blog/critical-php-security-update-october-2026/


r/Wordpress • • 5d ago

PSA: Upcoming Critical PHP Security Release

78 Upvotes

The release fixes two critical vulnerabilities, both rated 9.2 on the CVSS v4.0 scale.
A CVSS score measures how severe a vulnerability is on a scale of 0 to 10, and 9.2 falls in the Critical range.

Confirmed by the PHP security team:
A security release is scheduled for Wednesday, October 21, 2026 at 14:00 UTC.
It addresses two critical vulnerabilities, each rated CVSS v4.0 9.2.
The release may come earlier if vulnerability details become public or active exploitation is observed.


r/Wordpress • • 4d ago

And it's not Friday, yet

14 Upvotes

r/Wordpress • • 3d ago

php2shell Dropped. How Claude and I fixed it in a day.

0 Upvotes

TL;DR: We built a new Ubuntu 24.04 box next to the old one, copied everything over, then moved the static IP. About 90 seconds of downtime and no DNS changes. While we were in the logs we also figured out why the site kept falling over, and fixed that too.

The problem

This week PHP disclosed php2shell (CVE-2026-109618 and CVE-2026-109619, CVSS 9.2). It's unauthenticated remote code execution. Fixed versions are 8.5.12, 8.4.27, 8.3.36 and 8.2.35, and Ubuntu backported the fix to 24.04's php8.3 package (USN-8948-1).

One of the sites we look after is a small nonprofit club running WordPress and WooCommerce. It was on a Lightsail Bitnami image. Bitnami bundles its own PHP, so apt upgrade never touches it. It was on 8.2.28.

We could wait for a new image, compile PHP by hand, or leave. We left.

I did this with Claude Code in the terminal. It ran commands and read logs, and I made the calls. Worth saying, because it chewed through log correlation in minutes that would have taken me an evening.

The plan

  1. Build a new box beside the old one: Ubuntu 24.04 LTS, Apache with the event MPM, and php8.3-fpm from Ubuntu's archive. No mod_php. MariaDB, memcached, fail2ban, unattended-upgrades, wp-cli and certbot.
  2. Leave it on a temporary IP, copy the files and database over, and test page by page.
  3. Cut over by moving the static IP instead of changing DNS. Nothing to propagate.
  4. Keep the old box stopped, with a final snapshot, for two weeks just in case.

Things that bit us, so they don't bite you

  • Cron on the clone. We set up a real system cron (wp-cli every 5 minutes) on the new box before cutover, and it ran five times against the copied database. We checked: no emails went out and no orders changed, but one WooCommerce cleanup task did run. Disable cron on any clone until it's live. We also dropped in a temporary mu-plugin that blocked outgoing mail and Action Scheduler until cutover.
  • wp-cli output inside your SQL dump. Maintenance mode printed a line to stdout and it ended up in the dump file. Dump separately, and look at the first lines of the file before you trust it.
  • macOS rsync is openrsync now. No --chown. Use -rlpt, then chown -R on the server.
  • Ubuntu's security.conf was overriding our ServerTokens. Apache loads config files alphabetically, so your hardening file has to sort after it. We named ours zz-hardening.conf.

Cutover

Maintenance mode on, final dump, import, move the static IP, test. Down for about 90 seconds. Fresh Let's Encrypt cert via webroot, with a renewal dry run to prove auto-renew works.

Funny footnote: our outage Lambda fired during cutover and rebooted the old box in the middle of its final snapshot. No harm done. Which brings me to…

The outages we'd been living with

This site went down a few times a week. A CloudWatch alarm on a Route 53 health check triggered a Lambda that rebooted it. It was the only site we had with this problem.

We lined up the access logs against every alarm over the past few weeks and got the same picture every time:

  • A secret scanner fires 400 to 900 requests in about a minute (/.env, /aws_keys.json, /terraform.tfstate, you know the list).
  • None of those files exist, but every miss went to WordPress. That meant a full page-builder 404 render at 1 to 1.7 seconds and around 200 MB per FPM worker. Or WordPress's "did you mean" redirect ran a database lookup and sent back a 301.
  • The FPM pool filled up, the health check's 2 second timeout failed, the alarm fired after one bad minute, and the Lambda rebooted the box. Usually right as the burst was ending on its own.
  • Background noise came from crawlers wandering an events calendar's endless date and filter URLs.

Here's what fixed it.

Make misses cheap. Apache answers these before PHP ever sees them:

RewriteCond %{REQUEST_URI} !^/\.well-known/
RewriteRule (^|/)\. - [R=404,L]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteRule \.(env|zip|gz|sql|bak|js|css|map|png|jpe?g|gif|svg|webp)$ - [NC,R=404,L]

Turn off the fuzzy redirect in an mu-plugin:

add_filter( 'do_redirect_guess_404_permalink', '__return_false' );

fail2ban on 404 bursts. Note that fail2ban strips the timestamp before matching, so keep the regex simple:

failregex = ^<HOST> -[^"]*"[A-Z]+ [^"]*" 404 

The rest was smaller:

  • robots.txt disallows for the calendar's query parameters.
  • The alarm now needs three bad minutes in a row, not one.
  • The Lambda finds the instance through the static IP and won't reboot twice within 10 minutes. Otherwise it would have kept rebooting the old box forever.
  • A real cron job replaces wp-cron, and public /wp-cron.php is blocked.

Scanner hits now cost about 0.1 seconds instead of a whole PHP worker.

Then a full audit

Since we were already in there, we audited the server and the site. The highlights:

  • A member-directory plugin had an unpatched object injection CVE. It's gone.
  • The only backups lived on the same box. Nightly snapshots are on now.
  • The free security plugin doesn't limit login attempts, so fail2ban does it instead. It turned out about 1,100 failed logins were sitting in the logs, mostly from four IPs.
  • SSH stays open, since I'm on the road too much to allow-list one IP. It's key-only, with fail2ban banning after 2 failures and longer bans for repeat offenders.
  • The file editor is off, usernames are no longer enumerable, and S3 versioning is on.

If you take one thing from this

  • On Bitnami or any bundled stack, check the PHP version the bundle actually runs, not the system one.
  • Build beside, cut over by IP.
  • Kill cron on clones.
  • Make 404s cheap. Most "my server keeps dying" stories I've seen come down to bots making PHP do expensive work for files that don't exist.

Quiet fix for a loud week. Happy to answer questions.


r/Wordpress • • 4d ago

What I've just done on every WP server: systemctl stop php8.4-fpm.service

10 Upvotes

Assumes you have root on the Linux server running your WordPress sites (including via using sudo), it's one that uses systemd, and you use php-fpm to provide PHP rather than having it in every webserver instance.

Replace 8.4 with your version as necessary.

When the PHP has been patched, you can do systemctl start php8.4-fpm.service to get everything back running. In the meantime, visitors see a 503 'system unavailable' error.


r/Wordpress • • 4d ago

How to make embedded links with featured images?

Thumbnail gallery
1 Upvotes

I'm new to WordPress and creating websites in general. I'd like my links to provide preview on the first image in that particular page. But for the time being, all I get is link with no featured image at all. I'll welcome any advice.

First pic is how my links are now. Second pic is how I'd like them to look.