a 404 error occurs when the requested page cannot be found

learn more… | top users | synonyms (1)

1
vote
1answer
55 views

Permalink Doesnt Work - URL Not Found

My friend installed WordPress in his computer (which is, the OS is MAC), then he create post and customized some things(install plugins). Then, I copy and paste his work in my localhost (which is, I ...
1
vote
1answer
49 views

How do I show the WP admin error page?

I'm building a simple event calendar, and I want to show a WP error page, for example when users try to edit an event that does not exist, see the attached picture (which is when you try to edit a ...
1
vote
0answers
12 views

Getting 404 when Access post which name start with Digit

I am facing some strange issue with post pages/ Getting Error for URL : www.example.com/5-reasons-to-use-wordpress Working fine it I change post name like [5 to five] : www.example.com/five-...
1
vote
0answers
17 views

Blog's post count cause irratic behavior

Using WP 4.4, if i set my 'max posts' in Settings > Reading = 1 , Reload blog page [which is front page] the page loads infinite 404s i have this in the start of my format.php <?php if ( !...
0
votes
1answer
50 views

404 not found problem with wordpress network (subfolder)

Wordpress Network installed (subfolder mode) .htaccess file: RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-...
0
votes
0answers
128 views

Page redirect to 404 when set Permalink = “Post Name”

In My wordpress site When I set Permalink structure as Post Name , It redirects all posts to 404. With Default permalink , It works fine. Server Details : Windows Server - IIS Web.Config Code : &...
0
votes
0answers
52 views

Dynamic page loads in browser, returns 404 to curl and GWT

I have created a dynamic page that displays content based on the US state name taken from the URL. I created the page in WP with a title of "CDL Manual PDF" and it has the URL http://dev.cdlmanuals....
0
votes
0answers
62 views

Wordpress login brings me to 404 page / redirect loop

I have a problem similar to this: Can't access login screen, wp-login.php 404's I have just migrated a site from one hosting + url to another. Did the things i usually do, (replace urls in ...
-1
votes
1answer
88 views

How to pass posts_per_page and paged params query vars to custom taxonomy archive urls?

So I made some custom posts and taxonomies.. http://example.com/?product_category=mytaxonomyterm&lang=it Till here, all fine: I get a 'mytaxonomyterm' taxonomy archive. Btw, lang is because I'm ...
3
votes
0answers
29 views

WordPress blocking/preventing viewing of .cgi file in subdirectory [closed]

I have a .cgi file, /data/displayQuery.cgi, that WordPress is showing a generic "Page not found!" error page for. I have my .htaccess file configured to not rewrite any file in the /data subdirectory. ...
0
votes
0answers
120 views

Wordpress, nginx, ispconfig3 404 in wp-admin, edit / delete load-scripts.php?

have a bit of a weird issue that I’ve spent the past 2 days trying to resolve. Basically I'm running LEMP with ispconfig3, and I’ve uploaded the wordpress files to the /var/www/www.com/web folder ...
1
vote
1answer
37 views

WordPress takes too long to show 404 error on images (on LEMP stack)

I have installed WordPress on LEMP stack on DigitalOcean and noticed that all the 404 images on the pages are taking too long to show a 404 error message. Those images are not existing so it will ...
1
vote
1answer
87 views

Custom Post Type + 20k posts = blank/404 within Admin edit.php [duplicate]

I have registered a custom Post Type via register_post_type(), and about 45 Custom Fields via add_meta_box() function, within the theme. Custom Post Type Args: 'labels' => $labels,...
1
vote
0answers
88 views

Prevent 404 when using pre_get_posts to filter an archive page

I have added a custom taxonomy named "area" to the default "post" post type. It's meant to organize posts by geographical area. In category pages I've added a dropdown that allows the user to filter ...
0
votes
1answer
117 views

Redirect to parent page if child does not exist

Creating redirects as a client has merged many sites into a single site. How would I set up a rule to redirect to a parent page if the child does not exist - rather than directly to 404. Eg Redirect ...
1
vote
1answer
82 views

Custom Post Type / Two level deep taxonomy (cat. and subcat.) uri problem (error 404)

I've created a CPT named "decoration products"(productos decoración), the problem concerns to it CPT. When for the first time I created "decoration products" CPT, I realized that it needed two level ...
0
votes
1answer
67 views

WordPress /page/2 404 pagination problem - what to do?

I came across the /page/2 404 pagination problem and tried to find a solution. I've read some suggestions, but it didn't help yet. Working: http://pandasnacozinha.com.br/bolos-doces-e-sobremesas/ ...
0
votes
0answers
106 views

Error 404 in Custom taxonomy with pagination

I use CPT UI to create custom taxonomy. It's code i got : add_action( 'init', 'cptui_register_my_taxes' ); function cptui_register_my_taxes() { $labels = array( "name" => "Product ...
1
vote
0answers
22 views

404 when going to /blog

I'm trying to merge an old wordpress blog with a new wordpress site. Effectively all I want is to bring across the posts and link off to them from a link in the navigation called "blog".... simple ...
0
votes
1answer
134 views

URL Change - Check if Post Exists Before 404

We had a custom CMS with URLs such as /adele, /slayer, /beastie-boys but now they have the structure /artist/adele, /artist/slayer, /artist/beastie-boys (a custom post type) Obviously when people ...
0
votes
0answers
30 views

WPMU: How to debug themes throwing 404 error

Changes in the system: Domain name DocumentRoot of the web server to match what it was set to before Siteurl, home and fileupload_url all changed in the DB tables to reflect the new domain What ...
0
votes
0answers
21 views

WordPress pages that begin with a number return 404

Customer tries to create a WordPress page with slug of the format YYYY-some-description the page 404s. in relation to this https://core.trac.wordpress.org/ticket/11917 I believe, but the difference ...
0
votes
1answer
85 views

Override 404 page with htaccess

I currently have a 404.php page from a certain theme I'm using but I would like to override any WP foncutionaly regarding 404 errors. I would like to set a 404 error handler via my .htaccess but for ...
0
votes
0answers
22 views

Submit form to plugin file 404

i've a custom form which i'm trying to process, i created a plugin to do so, however everytime i try to submit the form i'm getting 404 error. this is how my form's action looks like: <form ...
0
votes
0answers
12 views

404 errors after /sample-page added to sub page URLs

I have a site that was running fine, but now all links have /sample-page/ included and consequently, all pages are 404. How do I get rid of sample-page in page links, and how do I make sure this does ...
0
votes
1answer
10 views

Installing wordpress on subdirectory 2 levels down

An unusual one for you and I appreciate how ridiculous this set up sounds but It's currently what I've got to work with so here we go... I have a joomla website set up on www.myjoomlasite.com. I am ...
0
votes
2answers
62 views

Dynamically creating content on custom URL without getting 404

My goal is to have this link structure: mypage.com/item/subitem/code Code are 6 random letters and numbers. I tried with having category and subcategory, but I dislike that because then i have to ...
0
votes
2answers
67 views

When I remove get_header() from 404 page, my css doesnt work

When I remove get_header() from 404 page, my css doesnt work. <?php /** * The template for displaying 404 pages (Not Found) * * @package WordPress * @subpackage Twenty_Fourteen ...
2
votes
1answer
162 views

How do I bypass Wordpress 404 handling?

How do I skip Wordpress altogether if there's a 404? I've tried adding an ErrorDocument to the .htaccess with no joy. The reason I'm asking is that we use a lot of custom fields and as such our site ...
0
votes
1answer
65 views

Exclude from wp_list_pages by template

I have a series of "Thank You" pages which result from different form submissions. I would like to be able to exclude these from sitemaps based on their template. Specifically, and as an easy example, ...
0
votes
0answers
17 views

Access not existing source show 500 Error while not showing 404.php page

When I want to access none existing source, it can not show a 404.php,it show error 500, eg http://www.xxxx.com/nothing But only work under http://www.xxxx.com/index.php/nothing How to fix it?
0
votes
0answers
81 views

404 on term taxonomy archive pagination only with some terms

On my site I've created a CPT with a hierarchical custom taxonomy. Here the code: **CPT Args** $args = [ 'labels' => $labels, 'public' => true, '...
0
votes
0answers
36 views

Update Permalink Settings - from Day and name to Custom Structure - now have 404s

I've just updated Permalink Settings from Day and name to a Custom Structure of /%category%/%year%/%monthnum%/%postname%/ but now certain links give me 404s. It turns out that the links causing ...
0
votes
0answers
24 views

weird redirect from Movable Type installation

I'm helping a friend moving his blog from MT to wordpress, in order to do so I have created a truth table on the database (rosetta) by looking at all the old static files and I've created a relation ...
0
votes
0answers
103 views

404 - pagination WP_query custom post type in page 2 or nextpage

I got 404 page when I click to page 2 or next page. I try used pre_get_post anyway, but 404 page is there. Any answer is welcome, thanks a lot. I've tried many ways, and search ... In my query $...
1
vote
0answers
94 views

New nav_item created with bp_core_new_nav_item() results in 404

I was reading many posts which are about creating new nav item to buddypress profile. i cannot find anything that i miss in my code. The item appears on the profile-page as i want it, but when i click ...
0
votes
1answer
503 views

Parent Page and Breadcrumb URL's for Custom Post Types Not Working

What I Have Set Up I have three custom post types, they are named "brands", "careers", and "news". I have three page templates, they are named "page-brands", "page-careers", and "page-news". The ...
0
votes
1answer
97 views

Force 404 redirect to home?

normally with a 404 error the site will be redirected to theme/404.php. I'd like to the home page instead. I tried ErrorDocument 404 http://www.example.com but it doesn't work. How can I solve ...
0
votes
1answer
56 views

Permalinks keep reverting to 404 unless I re-save them

I'm running the latest (and constantly updated) version of WordPress on Nginx. Every now and then I wake up to a site full of 404 errors. The fix is to go into the permalinks and just save the ...
0
votes
1answer
43 views

Direct form to a custom page template

I have the following form in a Wordpress page : <form action="dbsearch.php" method="POST"> <input name="input" type="text"> <select name="search4" size="1"> <option selected=""&...
0
votes
1answer
30 views

Multisite 404 page

I've recently installed Multisite using sub directories and I was wondering if it was possible for the sub directory sites to have their own 404 page? Currently, any links coming in to the sub ...
0
votes
0answers
171 views

Archive pagination causing 404 with permalinks structure

Somehow my archive.php is causing some problems because I'm using /%category%/%postname%/ as my permalink structure. The next_posts_link() redirects to /category/page/2: which causes an 404 error. ...
0
votes
0answers
35 views

404 after hosting migration

I have recently changed hosting of my WordPress site: katartika.com. I have moved all of my files and imported the database, but the website is returning an Apache Server 404 not found error on any ...
0
votes
1answer
152 views

Wordpress pagination not working because of subcategory

Currently I'm facing a really strange problem I can't seem to fix normally. I've using pagination on my category pages. I've got a 'News' category with some sub categories. One sub category is 'MVO ...
0
votes
0answers
180 views

Disable redirect from non-existing URLs to existing

There is an existing page with this URL (let's say it's page ONE): http://example.com/diawe-wier/ If I'm opening URLs like: http://example.com/diawe%20wier/ http://example.com/diawe-wier-/ http:/...
0
votes
0answers
128 views

How to get wp_redirect to work correctly

I have a new site that has had a permalink structure update. Old Structure: http://blog.mysite.com/%postname% New Structure: http://blog.mysite.com/%category%/%postname% My thought process was to ...
0
votes
1answer
76 views

Taxonomy link not working (leads to 404 page)

I've created a website where I use Taxonomies for adding an extra category future. This feature works in the backend (admin) and is showing up correctly under the article. The problem is that the link ...
0
votes
2answers
240 views

How to solve this custom post type goes to 404 page?

I have a custom post type called dramas /******* DRAMAS BEGIN *****************************************/ register_post_type('dramas', array( 'label' => 'Dramas', 'show_ui' => true, '...
0
votes
1answer
67 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 ...
2
votes
1answer
41 views

Feed 404 Errors

Before you say this has been dealt with before, please read the whole issue. I have Google'ed and Stackoverflowed myself to death on this. In WMT I see 404 errors for /feed on specific posts. e.g. ...