Questions tagged [404-error]
a 404 error occurs when the requested page cannot be found
885
questions
0
votes
0
answers
12
views
Plugin Icon does not work correctly
When i click on the icon - nothing happens. Only 404 error appears. The menu is gone, i cant add new plugins. I don't know what the problem is?
0
votes
1
answer
20
views
404 Error on a WordPress Website, Error disappears for a while and again appears
On website revel.pk, I am facing 404 Errors from last night. The error disappears for a while and again appears. I noticed that when the website is facing an error I just go to the permalink setting ...
0
votes
0
answers
22
views
I'm getting a 404 NOT_FOUND CODE: 'DEPLOYMENT NOT FOUND on wordpress multisite installation on my sub domain
I Installed multisite on localhost installation of wordpress. After installation it gave me the below code snippet to add in wp-config.php file:
define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL'...
0
votes
0
answers
7
views
Can't link to pages from Home Front Page now. Get 404
Can’t get to any pages from Home Front Page on the latest 6.1 WP on Linux Ubuntu 20.04 apach2 server. I get a 404.
Maybe this will help to explain//
The Front side
I can get to the front page with ...
0
votes
0
answers
5
views
"feed" added at the end of my URLs
In "crawled - currently not indexed" there are a few URLs that end with "/feed" resulting in a 404 error or a coded page preview for example "https://everyfootball.com/al-...
0
votes
1
answer
32
views
redirect to 404 page
I am using kadence free theme, and I need to get rid of some of my pages.
However because they are already indexed I can't simply delete them. so, i was thinking of doing a 404 redirect.
so, the idea ...
-1
votes
2
answers
46
views
Unidentified 404 error [closed]
I have created a new WordPress site and installed rank math for SEO. In 404 Monitor, I am getting some logs, but I couldn’t understand after making research what that means and why is this happening. ...
0
votes
2
answers
20
views
Wordpress Site transfered to another Server. 404 all pages
I transfered a Wordpress page to new Server, and now all pages are 404.
I tried this solution https://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-posts-returning-404-error/
but still nothing ...
0
votes
1
answer
52
views
How to debug a 404 error on pages whose content is perfectly displayed when I explore it?
I have this issue I can't understand : recently (everything was working perfectly during years), some pages on my website are returning a 404 error while I can perfectly access to their content (even ...
0
votes
1
answer
30
views
Can you redirect a 404 to a WordPress page and still show response code 404?
As the title says, I would love to know if its possible to redirect to a WordPress page when an url is not found, but show a 404 response code on that page?
I've been playing around yesterday with ...
0
votes
0
answers
14
views
Getting 404 when static files have "?ver=x.y" suffix
I am running wordpress 6.0.3 under apache using the official docker container. I have a clean install with no themes or plugins added. The following gives me a 404:
curl http://localhost:8080/wp-...
0
votes
0
answers
37
views
My subdirectory sites images (except webP) are throwing to 404 page even they are exist
As I explained in the title, the images on my main site are fine, but the images on my sub-directory sites are not showing. Except for the WebP type, oddly enough. They are visible.
İmages can upload ...
0
votes
0
answers
11
views
Getting 404 error while file exists
https://test.moviesalike.com/wp-content/plugins/bbp-voting/css/bbp-voting.css?ver=1663646486
net::ERR_ABORTED 404
Getting above issue where file exists
0
votes
0
answers
8
views
Forcing header cache control in 404 pages
I'm trying to force the caching of 404, 410 and 301 pages.
I've found some solutions but they have some issues. The 404 is trying to undestand preemptively if the page will be a 404, and it take a ...
1
vote
1
answer
21
views
Custom Post Type, 404 error
I created a very small plugin using a Custom Post Type.
This is NOT a commercial or publicly available plugin, only my website is using it.
What happens:
when I click the name of a user who posted a ...
0
votes
0
answers
11
views
Plugins, themes and other dashboard links including permalinks giving 404 error
Can you please help me out here ,
My dashboard plugins, themes and other dashboard links including permalinks giving 404 error.
I have changed htaccess files still showing the same.
Thanks again
0
votes
0
answers
28
views
Why when I click on a link into the WP admin panel I am redirected to a link that doesn't contains wp-admin prefix, so I obtain 404 error
I have installed a WordPress instance and I a facing the following problem.
After that I access my admin panel via the URL: https://MY-DOMAIN/wp-admin I am correctly redirected to the admin panel. The ...
0
votes
1
answer
20
views
Page not found: Custom search form with a custom search page
Let me show you an example of what I'm trying to achieve. On BBC website when you click the search BBC button on the navbar it brings you to a search page (https://www.bbc.co.uk/search). When you put ...
0
votes
0
answers
60
views
remove rel=next on category page (if <link rel="next" URL is showing 404) it need to remove link from header tag
We are using WordPress -version 5.7.2
Theme: Newspaper -version: 11
For SEO: Yoast SEO -Version 16.7
Problem description: to display the category list we have pagination.
if I reach the last page from ...
0
votes
1
answer
35
views
404 page is not the same when using PHP code in functions
Based on a condition I want to show 404 page and I have the following PHP code in functions.php
function wpse91900_force_404(string $template): string {
global $wp;
$current_url = home_url(...
0
votes
1
answer
23
views
Problem with custom loop navigation inside the blog page
I have a problem I am not able to solve. I have a custom theme with some custom post types and I need to display an archive for all CPT somewhere in my site. After some reading, I decided that the ...
0
votes
1
answer
10
views
Wordpress broken after vhosts setup
I am working locally with wordpress installation using Xampp,
after using vhosts and changing wordpress options home and siteurl to wordpressurl.site , my website has been broken stylesheets and ...
0
votes
1
answer
25
views
Site is working but we got 404 not found error in wordpress
I have a wordpress site hosted on AWS. Site is working fine but I'm facing an issue. When the page loads, we get 404 not found error for that link in console first. It is happening on all the pages ...
0
votes
0
answers
15
views
Lots of 404 errors of pattern <BLOG_URL>/null&rand=<RANDOM_NUMBER>. Why?
I can see a lot of 404 hits logged in the redirection plugin. It looks like they are made from some bad actors/bots.
Does anyone has same experience?
What is the exact root cause?
Any appropiate ...
1
vote
1
answer
102
views
404 error comes up when I go to wp-admin after first installation [closed]
I just installed wordpress for the first time. When I go to mywebsite.com/wp-admin a 404 website error comes up. I went through the routine of changing the plugins and themes names although I never ...
0
votes
1
answer
57
views
Custom taxonomy throw error 404
So in my homework I was given code example and it works for teacher, but not for me. So from what i understand that I'm creating custom post type and custom taxonomy for it, also there is filter that ...
0
votes
1
answer
26
views
Reciving Error 404 blog/page/2/
I can't seem to understand the issue here with my pagination? when visiting /blog/page/2 page goes to 404 page. Help me guys?
<div class="row">
<?php
...
0
votes
1
answer
90
views
404/500 error on content images if Referer header is from another domain [closed]
Not very familiar with WordPress so I'm not sure what's causing this.
Essentially, we have a few image assets stored under wp-content. When we access some assets (i.e. cmssubdomain.apex.com/wp-content/...
0
votes
0
answers
33
views
Show index.php template instead of 404 page template
I have some posts that were permanently deleted, however, instead of wordpress returning the 404.php page template, it is returning the index.php template. In other posts, the behavior is right, but ...
1
vote
1
answer
153
views
Why is my Javascript console showing a 404 error for a file called "null" on a clean Wordpress install?
Every Wordpress site I am building shows 404 (Not Found) error in the Javascript console for a file called null. I have confirmed that this happening on a clean install of WP 5.9.3 without any plugins,...
0
votes
1
answer
27
views
List page is showing 404
I have built a new site based on a content from an old one. Also, there is some partial content in another WordPress blog which I have to import. Unfortunately, on the blog I don't have full access, ...
0
votes
0
answers
31
views
How can stop redirects 404 in wordpress
Currently, all 404 errors are being redirected to the page with the following uri:
www.example.com/woops
(previously above page was called :
www.example.com/404-page
however we changed the name from ...
0
votes
1
answer
31
views
How to Redirect WordPress domain.com/?anyword to 404 Page?
Recently I Found some error on WordPress sites that when someone enter a question mark after the root domain and type any word, url shows the Home Page of instance:
For instance, Root Domain is abc....
0
votes
1
answer
228
views
Theme javascript/css 404
I have recently installed WordPress 5.9.2 on my VPS using Apache2 on Debian 11. I want to try some different themes (partially because I think the editor for the new Twenty Twenty-Two theme is clunky ...
0
votes
1
answer
53
views
WP function won't work on 404 template page
I made a custom template of error 404 page.
In my header.php i use the_time() function to display current date.
There is some problem with 404 page because the_time() function won't work, not return ...
0
votes
1
answer
27
views
One Custom post type 404's others don't
I've created 7 custom post types and all but one works. I don't even know where to go from here. I've flushed my permalink structure, and that didn't work. The following code is the array that I'm ...
1
vote
1
answer
220
views
Wordpress 404 on Subdomain
I have taken a copy of my Wordpress website and set up a subdomain, and virtual host (/var/www/subdomain/) on the existing websites server.
After moving the copy of the website I am getting a 404 ...
0
votes
0
answers
20
views
When trying to access home page, Wordpress appends /wordpress to domain name which gives 404 error
When trying to access the home page, on https://www.andersonclassics.uk Wordpress appends /wordpress to the domain name as https://www.andersonclassics.uk/wordpress which gives a 404 error - there is ...
0
votes
1
answer
63
views
My wordpress website does not show 404 page and results in http 500 error
My wordpress website does not show 404 page and results in http 500 error when I search a particular query and the results are not available. For any page if the results are not available, it shows ...
1
vote
0
answers
78
views
Why I get File Not Found (404 error) when the file is actual there?
The directory at my website (ConcoursBuilder.us) looks like this in Filezilla:
Per SiteGround conventions, non-WordPress files must be uploaded to manual-uploads under a separate public_html ...
0
votes
0
answers
16
views
wordpress sitemap subtypes returns 404 with correct data for pages bigger than 1
website is using default WP sitemap packages
/**
* Sitemaps: WP_Sitemaps class
*
* This is the main class integrating all other classes.
*
* @package WordPress
* @subpackage Sitemaps
* @since 5....
1
vote
0
answers
72
views
Wordpress shows front page, when it should show 404 with pagination style urls
Whenever I type a url for my site that contains three slashes "/" wordpress shows the front page instead of a 404.For example: example.com/something/does/notexist goes to frontpage, where ...
0
votes
0
answers
73
views
pagination 404 error, same slug home and categories
I would like to change the permalink for categories. I configured thé prefix of categories with actions
I have a page for the home page wich have a slug actions
All the website worked correctly.
URL ...
0
votes
0
answers
57
views
404 error when I tried to use author slug in url
basically, I created a custom physical page called (page-team.php) after that I created a page from the dashboard called team and assign a template to the physical page that I mention before.
I tried ...
0
votes
0
answers
35
views
Wordpress finding posts on 404 page
I'm struggling with a strange issue on my WP : when I'm on a 404 page, the wp loop is finding posts, but it's not supposed find posts on the 404 page.
How I know WP find posts ? Because I wrote ...
2
votes
1
answer
194
views
Set a specific page as 404 - not found via my own plugin
I'm developing a plugin that create some pages and set a specific template for each of these pages.
It creates a page in which it sets a template for 404 - not found, how can set this specifc page as ...
0
votes
2
answers
120
views
Console Browser says it cannot find a requested image that does not exist on my Website [closed]
I have a site that I am working on and I noticed that I get this error in my browser console:
Failed to load resource: the server responded with a status of 404 ()
It was trying to load a image file ...
1
vote
1
answer
483
views
How do I redirect the browser to 404 page, if no posts are found in home page
I am listing posts on the homepage with pagination and if no posts are found on the home page. I want to redirect the page to 404 page and get 404 response code.
For example, example.com/page/200 Page ...
0
votes
0
answers
29
views
Using the get_template_part method within an mu-plugin not possible?
A while back, I had someone here help me craft a custom mu-plugin (aka: "must use" plugin) that was designed to specially handle 404 server responses. Here is that thread for context, ...
0
votes
1
answer
326
views
Page not found after migration to localhost. I already updated the sql links and the permalinks. Wp-admin page works perfectly
So basically whats in the title. I migrated the company website to my localhost to implement some changes. First I cloned the repository, then I created the database, and uploaded the sql file. ...