Questions tagged [404-error]
a 404 error occurs when the requested page cannot be found
871
questions
0
votes
1
answer
766
views
Changing post per page causing 404 for pagination. Need a redirect htaccess rule
i changed my wp theme and i changed the "post per page" wp setting on "reading"now because i want to display more posts on the archives pages. i m using pagination on the archives so a lot of pages ...
0
votes
1
answer
2k
views
Category url generate 404 error
My permalink setting is: /blog/%year%/%monthnum%/%postname%/
everything is working fine except the category URL.
for example, my website generate category URL like -
www.example.com/blog/article/
...
1
vote
2
answers
4k
views
get 404 when accessing wp-admin/plugin-install.php
While freshly installed, I cannot access the 'Add new plugins` page whatsoever. It just keep waiting & then redirect me to 404 page of the current theme.
I'm not sure what went wrong as the ...
0
votes
0
answers
13
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 ...
0
votes
1
answer
866
views
Custom taxonomy rewrite in permalinks for posts gives 404 on pages
So I've got a custom taxonomy (called "version") for just posts wich works fine.. My Problem is that i want to use this tax in my permalinks eg URL.com/12-3/cat/postname.. which works also fine for ...
0
votes
0
answers
33
views
File gives 404, but when renamed is found
I am working on a plugin on an Apache centos cPanel server.
I have created a file /wp-content/plugin/includes/license.php and when I try and access it via an ajax call or even directly via example.com/...
0
votes
2
answers
887
views
Wordpress Permalinks 404 Not Found
I have installed the latest WordPress on my EC2 Ubuntu 13.1 server. Once I have changed the permalink to use /%post-name%/, I encounter 404 not found for posts. I have followed almost everything here ...
1
vote
1
answer
674
views
Custom post type permalink tag 404
I'm using wp-types to build a wordpress site. I'm happy with the types and their fields, I just wanted to created a function that shows parents in the url - see blow function that achieves this - also ...
1
vote
1
answer
20
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
2k
views
Homepage URL showing a 404 error
I migrated my website to this new domain. I removed the original homepage and re-labelled the current homepage as home.Now when I visit the homepage, it shows a 404 error although the page exist and ...
0
votes
1
answer
768
views
Custom Post Type slug and WPML gets 404 error
i do have a curious problem on a new wordpress developpement.
i have many CPT and WPML working on the site (default language is "french").
example, i have a custom post type who is : "marche" ( for ...
4
votes
3
answers
1k
views
Wordpress generating 404 on .mp4 file in theme folder
I am trying to load a full width video on my homepage. My situation is almost exactly like:
Video Background - (php & css) - generating 404 error on page load - Wordpress Theme File Structure ...
0
votes
1
answer
4k
views
404 Page not Displaying
I have a theme and it has a file "404.php" inside it. As I read on the documentation of the 404 Page for wordpress this file is needed. We I miss spell the url on my site the 404 Page must display but ...
1
vote
2
answers
899
views
wp-tinymce.php 404
My visual editor isn't working on a site after just launching it to a new server. I assumed a permissions issue, but the file itself is set to 644. I tried 755 on it as well and still no go. The ...
0
votes
1
answer
592
views
removed index.php now all pages 404
I added this code to my .htaccess file to get rid of index.php, but now all the pages 404 (the hyperlinks are mapped to the correct url)
# BEGIN WordPress
<IfModule mod_rewrite.c>
...
0
votes
1
answer
1k
views
WordPress 404 Images - Images not found after deleted from media
I am trying to develop the website to find images that have been deleted from the media library as they were not needed.
These Images that I have deleted have previously been on pages but have been ...
2
votes
3
answers
7k
views
Why can I not view image attachment pages?
I have a problem with images.
I can see my uploaded images, as previously, through the media library. I can access each image by clicking on "edit". But if I then click on "View Attachment Page", I ...
0
votes
1
answer
589
views
new post link leads to 404 error page
Whenever I try to add new posts or pages, or edit posts or pages from the admin menu, from the front end or even from the all posts and all pages lists, I can't. I'm always taken to a 404 error page.
...
0
votes
1
answer
20
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
2k
views
How to solve 404 permalink errors on nginx server
I can't solve this issue. I tried everything I found over the web. I first tried configuring my nginx.conf following the example on codex with no success.
https://codex.wordpress.org/Nginx
I found ...
0
votes
1
answer
13
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
...
1
vote
1
answer
1k
views
Same base for category and post
I'd like to have the following:
Single Post test.com/blog/new-category/post-name/
Category test.com/blog/new-category/
So I changed the Permalink structure to: /blog/%category%/%postname%/ and the ...
0
votes
1
answer
2k
views
All files being pulled from wp-content returning 404 error
I am on a fresh install of Wordpress on Ubuntu / LAMP, and noticed that none of my site's images are showing. I tried to install a theme (Sydney) and none of the images were showing up. I was able to ...
2
votes
1
answer
646
views
Permalinks broken regularly
On one of my sites the permalinks are broken regularly. After saving them again it's all fine but a few days later the permalinks result in not found and I have to save them again.
There are no ...
1
vote
2
answers
1k
views
Custom post type / taxonomy rewrite archive page 2 gives 404
I've followed the code based off this and everything is working perfectly -How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-...
0
votes
1
answer
737
views
404 on CSS and JS only on Homepage
I had to use a backup of the website and on restoration the Homepage has 404's to all JS/CSS files
Every other page is accessible and does not experience the issue
I've checked the permalinks, I've ...
0
votes
1
answer
21
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
22
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 ...
0
votes
1
answer
692
views
Getting a Error 404 Not Found on subcategory
I have been Googling and trying anything + plugins I can find on Google, but none of the things I tried fixed my issue.
For some reason, when I go to my
URL/category --> Works
URL/category/...
1
vote
1
answer
47
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
2k
views
Custom post type pagination 404
I have a custom post type named episodes_listing and a custom taxonomy named episodes_category.
My goal was to have pages like domain.com/episodes/season-one. This works great, and if I have a ...
0
votes
1
answer
22
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
2
answers
675
views
Page editing in backend redirecting to 404 page not found with url /post.php
Today I migrated a WordPress site from another server to a new server, there is a new domain and new host, so I follow the manual way to upload my site. That was, I downloaded files and upload it on ...
0
votes
0
answers
27
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 ...
1
vote
2
answers
620
views
Empty search results return soft 404
I have recently been notified by Google Webmaster tools that there has been an increase in soft 404 pages. This is due to no results being returned by pre-defined links to search queries that are ...
6
votes
4
answers
24k
views
404 Error On Category and Tags Pages
Okay So I'm facing a weird problem as i'm receiving 404 errors on blog category and tag pages.
I'm using custom theme which includes:
tag.php
category.php
archive.php
home.php
index.php and
404....
0
votes
2
answers
869
views
Override 404 when navigating to single php file
I uploaded a php file in the root directory of my Wordpress site that I need to be able to access directly through the browser.
When I do, it looks like Wordpress takes over, triggers a 404, and ...
0
votes
1
answer
23
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
1k
views
Redirect to /404/
Is there a way I can redirect the URL slug of the 404 template to /404/ so so for example if I have /category/media/blah it redirects to /404/
Is that possible I don't know if it can be done using ....
1
vote
2
answers
585
views
Correct permalinks and 404-error
I have a paid plugin that creates a custom type categories and posts in this categories. I want to get URLs like site_name/category_name/post_name. This plugin forms links like this:
List item
for ...
0
votes
1
answer
1k
views
Images not loading on webpage, and links to other media give 404 Not Found
Had some recent problems where to start with only homepage text was visible, all other pages/links gave 404 Not Found.
Now managed to get pages to function but all images fail to load, plus links to ...
0
votes
1
answer
696
views
Random 404 on any page
I just used Softaculous to install WP on my shared host. When configuring my site, whether it's at /wp-admin/ or any other page of the site, including home, it randomly throws 404. In which case, I ...
1
vote
1
answer
1k
views
URL parameters causing 404 on home page, but nowhere else
I am writing a plugin that utilizes URL parameters. For some reason, adding one of these parameters to the home page of my website causes a 404 (http://bleaney.ca/?source=asdf). Adding the parameter ...
0
votes
1
answer
2k
views
How to fix 404 error in pagination in categories of woocommerce with common url base /shop/?
I can’t find a solution — unification of url bases of products and categories in woocommerce.
I have found only one working solution:
In Settings -> Permalinks:
Category base change on shop
Custom ...
1
vote
1
answer
1k
views
Virtual robots.txt missing
on every WordPress installation there is a default virtual robots.txt file with the following
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
but on my 2 last project /robots.txt ...
3
votes
3
answers
2k
views
Moved to new server, all pages work EXCEPT home page (page not found)
I've got the opposite problem a lot of people can when switching servers. All the pages work fine, EXCEPT the home page, which is generating a 404. It's just the blog URL by itself (mysite.com/...
0
votes
2
answers
1k
views
Cannot Override Wordpress 404 for a Sub-Directory
I have wordpress installed on my root (/var/www/html) and I have a sub-directory in the root as /var/www/html/manage Both directories have it's own .htaccess files. Content of the .htaccess are as ...
0
votes
2
answers
981
views
Wordpress Admin page Error 404
I am not getting the Wordpress Admin login page. It is displaying Error 404 Not found.
Can anyone help me exactly what could be the issue?
0
votes
1
answer
46
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
23
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 ...