Expired event redirect to parent category

Since I have less reputation I can’t comment, this is not answered with code but wanted to help, you may check this plugin: https://wordpress.org/plugins/redirect-404-error-page-to-homepage-or-custom-page/ or just take required code from the plugin ( I am not connected with that plugin anyway )

wp-admin send 404 error

…what @sally_CJ said in the comment to your question. In general, if a plugin is causing problems, then remove the plugin. If you can’t do that with admin/plugins, then use your hosting File Manager or FTP to rename that plugin’s folder, which will effectively disable it. Also, ensure that PHP is at least version 7.2, … Read more

Site Address (URL) – causing error 404

You have installed your website in public_html/wordpress so you need to move it up a directory in FTP or change your URL in the dashboard to gas-springs.com/wordpress. The JSON error is because your WordPress URL is HTTP and the Site URL is HTTPS.

Why aren’t links clickable on my 404 error page? [closed]

It’s because you have incorrect css being used on some divs within that page. On that page a couple of divs down from the H1 deceleration you have a div with some inline css: <div style=”width: 100%;height: 0;padding-bottom: 56%;position: relative;”> You need to remove the padding-bottom:56%; so it is: <div style=”width: 100%;height: 0;position: relative;”> Then … Read more

WordPress Installation in Subfolder only works half

OK after doing some more research I found out that I had to change the configs for the NGINX files as well. I simply had to add the following parameters before the last closing bracket location /nameofnewsite { try_files $uri $uri/ /nameofnewsite/index.php?$args; } location ~ \.php$ { fastcgi_split_path_info ^(/nameofnewsite)(/.*)$; }

How can I redirect users on the new 404 page without plugin?

You can assign the 404.php as a template to your custom 404 page created with the page builder. You would need to edit the 404.php to something like this: <?php /** * Template Name: 404 */ get_header(); $query = new WP_Query([ ‘posts_per_page’ => 1, ‘post_type’ => ‘page’, ‘meta_key’ => ‘_wp_page_template’, ‘meta_value’ => basename(__FILE__) ]); if … Read more