a 404 error occurs when the requested page cannot be found

learn more… | top users | synonyms (1)

0
votes
0answers
29 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
20 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
75 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
20 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
9 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
51 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
57 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
140 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
61 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
68 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
35 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
87 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
72 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
389 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
90 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
50 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
41 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 ...
0
votes
1answer
29 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
142 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
27 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
128 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
91 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-/ ...
0
votes
0answers
99 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
59 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
175 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, ...
1
vote
0answers
257 views

The remote server returned an error: (404) Not Found [closed]

I received an error when I tried to get all product details from WooCommerce API. I installed WooCommerce, created API keys and enabled the REST API. I wrote C#(3.5) code like below. Step1: Created ...
0
votes
1answer
59 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
36 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. ...
0
votes
1answer
90 views

404 redirect based on url

I have a link like this: https://www.example.com/bh-job/38/?title=digital-marketing-intelligence-expert When I surf to the page I'm redirected 404 page because the page doesn't exisit. The page ...
0
votes
0answers
13 views

Cannot use pages created on WP

I am quite new to WP and I have recently taken over a development project of a page that I really don't understand quite well due to the weird options that the previous developer took. Unfortunately I ...
0
votes
1answer
107 views

is_404() - where does this get set?

Where does is_404() get set? Looking at the source in query.php: function is_404() { global $wp_query; if ( ! isset( $wp_query ) ) { _doing_it_wrong( __FUNCTION__, __( 'Conditional ...
0
votes
0answers
32 views

show 404 page for url which contains unexisting post id

I created custom urls rewrite example : domain.com/post_id/image/image_name/ with rewrite rule it shows likes this : Domain.com/125/image/my-car-image/ it work fine but i want to show 404 not ...
0
votes
2answers
166 views

Editing Pages Give 404 Error After WordPress Upgrade in Admin Panel

I'm getting a "Not found, error 404" message when editing a page. This started happening after upgrading to the latest version of WordPress The pages are there and they display fine on the site but ...
1
vote
0answers
124 views

Getting a 404 when trying to load /wp-admin/plugin-install.php

I am not sure why, but the backend of my site is running slow... even though it's running slow, all pages still load, except this one /wp-admin/plugin-install.php (the add new plugin page). I checked ...
0
votes
0answers
33 views

Give 404 error on links and on forums links

I am working on the site where except home page every other page gives error on links (Not for default).I installed the bbpress and its generates links like this ...
0
votes
0answers
37 views

Register new post type in plugin (multisite)

I'm currently trying to create a custom post type inside my plugin. Everything works fine in the back-end but when I try to view the post in the front-end then either it redirects me to the homepage ...
0
votes
0answers
25 views

How to show a page when no post found?

How do I show a page when no post is found? Something like this: if (NO_PAGE_FOUND) { customData = getCustomDataFromDB(); if (customData === null) { // GO TO NOT FOUND 404 ERROR PAGE ...
0
votes
1answer
439 views

How to redirect to 404 page not found page in wordpress

I have created a custom template for a custom post in a childtheme. if some conditions are not satisfied i want to redirect the page to 404 page not found page. if(false) { //redirect to 404 page ...
0
votes
1answer
125 views

404 error on all pages but homepage

I have a local install of wordpress home page is accessible at http://localhost/activlist Backend is accessible at http://localhost/activlist/wp-admin etc No other front end urls are accessible, ...
1
vote
0answers
133 views

Permalinks 404 error with HTTPS host

My new permalinks continue displaying a 404 error on my site even after adding the AllowOverride and Rewrite modules parameters. Here is my default-ssl.conf file : <IfModule mod_ssl.c> ...
0
votes
0answers
159 views

Saving Post redirects to 404 page when php $_GET variable in post body

I am having a very annoying issue where certain posts redirect to 404 page when trying to save or publish a post. It only happens to a few posts and did not happen prior to the last few WP updates. I ...
0
votes
0answers
135 views

Custom post type archive pagination 404

EDIT. I found the culprit causing my issue. I had the following code to change the pagination slug to "sida" to reflect the site language. It works well for blog posts, but it does not work for custom ...
0
votes
2answers
319 views

WP Page Navi. 404 error when using posts per page parameter [duplicate]

I'm trying to fix an error with pagination of WP page Navi plugin. After I've added posts_per_page parameter to the query I'm getting 404 error when clicking on link page3,4 etc (there are 10 records ...
0
votes
2answers
31 views

Custom 404 error does not always appear

I recently created a website at www.volatileinterface.com, using WordPress. I am using the cyanotype theme and I wanted to create a custom 404 error page for when a webpage could not be found. I ...
1
vote
0answers
116 views

Attachment page gives 404 if user not logged

I am struggling on a very weird behaviour for a WP site I have developed. My client have uploaded many photos to the media library, and tags them with some custom taxonomies I have defined. Some of ...
0
votes
2answers
25 views

Permalinks stopped working - NO update, mod_rewrite enabled, .htaccess not touched

At first, my permalinks and all worked. My permalinks were in /year/month/post/ format. Today I found out when I try to open an Anspress question, I get a 404. (that worked too, last time I checked) ...
0
votes
2answers
103 views

How to intercept a 404 error

I'd like to intercept 404 errors and do some things before to show the 404 error page. How can intercept the 404 error?