Check your htaccess file. And look for hacked files: plugins/themes/etc; and update everything (including your PHP version). Change credentials everywhere (not just WP) using strong passwords.
Make sure your site is clean – there are many ways to insert code into a WP site (even the wp-config.php file may not be ‘clean’).
I use my own procedure to clean client sites: https://www.securitydawg.com/recovering-from-a-hacked-wordpress-site/ . There are many googles/bings/ducks on how to de-hack sites.
Related Posts:
- What Plugins Demonstrate Great WP Plugin Development? [closed]
- How to custom crop each image size?
- WordPress 3.5 Media Manager – add a button
- Pluggable function and activation check?
- fatal error get_page_permastruct()
- Some way to Flush or Overwrite all Imported Content in a Site for a Fresh Import – How?
- Does releasing a plugin under the AGPL force people to open source their whole WordPress installation?
- Why am I sometimes getting a 404 error when I try to update a page with Elementor?
- delete_user_meta Delete one value out of array
- How can I ‘reactivate’ .PHP files within a WP plugin that have been marked ‘inactive’?
- WordPress Post tags (get_the_tags & has_tag)
- Using spl_autoloading within WordPress plugin
- How to include DW Question & Answer plugin in front page template?
- Distributing and packaging plugins
- Dashboard Widget Form
- Why Better WP security plugin returns 418 I’m a Teapot “error”?
- Changing image URLs in media library
- Loop with array of posts using ‘Advanced Custom Fields’ plugin [closed]
- Image resizing on home page (product category) [closed]
- Advanced Custom Fields/User Role Editor – how to hide ACF for certain users?
- WP Plugin Developers – Accessing my wordpress site [closed]
- Checking that the Rewrite API is available
- How to achieve certain page (url) accessible to certain users
- How to determine what is generating large amount of database queries?
- Serve different files depending on OS/Browser
- How to make a PDF/Document library [closed]
- Plugin upload to install
- WordPress repository forbids me call wp-load.php in non-WordPress file
- Redirection based on location but without affecting search bots
- Bulk edit WP posts to update embeded images with new alt tags
- A new translation folder overrides my usual translation from “nowhere”
- Create tabs in admin options page from custom post type loop
- How to fetch form data and show it to my page?
- Unable to delete custom post types, confusion around capabilities
- Getting wp.me shortlink for wordpress custom post type
- Post Comments with Ajax in WordPress
- Execute js files doesn’t seem to work
- where is the main file in this plugin?
- Problem since update 3.5 [duplicate]
- How can I use a file in my plugin as a replacement for single.php on custom-post-type query?
- Allowed memory size exhausted problem
- How can i force wp-admin to use 2-column dashboard layout? [closed]
- How to keep track of new plugins published on wordpress.org?
- Is this a plug-in in wordpress or a custom JavaScript
- Plugin onclick button activate other plugin
- Moving Jetpack buttons to appear below the first H2 title on all project/post pages [closed]
- Show icons or badges under title on product archives/category pages
- How to automatically redirect to custom admin menu after plugin activation?
- How to get images using taxonomy ( WP Media Folder)
- Site shows URL instead of “meta title” after deleted few plugins (not any SEO plugin was deleted)
- Inserting shortcode in href – any ideas or workarounds?
- Convert to shortcode?
- Disallow: /wp-* in robots.txt?
- Add logo to admin menu in my plugin
- Load CSS files in header of Bones theme?
- Structuring function with registration_errors hook
- Displaying URL Based on User Input from a Form W/in a Dashboard Widget
- Problem with ajax plugin for refreshing posts
- wp_query ‘s’ parameter does not work with WC_AJAX
- Monitor all the queriers executed by my website
- Jquery POST Ajax Return null data in wordpress
- How to remove a hook written with $this?
- WPML – Hook when language is switched (change user language)
- Having multiple URL structure for wordpress blog
- Install/Enable/Activate plugin on multisite without access to master site
- Product catalogue in WordPress
- How to get bulk actions handler to display simple “Hello World”?
- Get input form data posted by users
- Number format in thousands on highcharts in wpdatatable plugin
- Specific plugin script not working on subdomain
- How to regenerate slugs for categories and tag converting non-Latin characters?
- What Are the Advantages of Using an mu-plugin
- wp_verify_nonce fails always
- Custom Plugin: Point to `template_directory`
- Add new post using a page inside the website
- How to keep edited plugins updated?
- Get page content by ID (from a plugin)
- how to create or rewrite files in wordpress plugin folder
- Show similar category portfolio items?
- Plugin options not appearing on options page using tabbed navigation
- how to protect wordpress website
- Top Contributors Plugin with Custom Post Type
- Plugin won’t activate, fatal error (widget class not found)
- WP-Minify 400 errors and open_basedir restriction in effect
- My WP site and password was hacked, what to do? [closed]
- map urls to plugins
- Google analytics not working on WordPress
- Is it possible to recover Deleted users?
- Social network plugins for WordPress [closed]
- Option value not getting updated until page refresh in WordPress
- How to create an Info Box on WordPress [closed]
- Fatal error: Uncaught Error: Call to a member function fetch_array() on bool
- Error in using ‘admin_enqueue_scripts’ action through a class
- Edit a page/post DB data?
- how to update WordPress plugins from external website with nodejs?
- this code is fiven by chat-gtp but nothing match even I key in the value of a cell. help!
- How do i fix this error?
- WordPress “wp cron event run” as Siteground cron job
- How do I set WordPress to send 2 different emails based on criteria in the database when someone submits a form?
- SMTP email does not work even with the right firewall rules