a 404 error occurs when the requested page cannot be found

learn more… | top users | synonyms (1)

0
votes
1answer
101 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
137 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
205 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
126 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
40 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 http://exapmle.com/xyz/forums/topic/it/...
0
votes
0answers
39 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
27 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 (...
-1
votes
1answer
528 views

How to redirect to 404 page not found page

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
147 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
149 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
175 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
150 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
375 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
128 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
28 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
133 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?
0
votes
1answer
66 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
0answers
72 views

404 errors on some URLs after setting up wordpress multisite

I recently installed multisite on wordpress and followed setup as directed in wordpress documents. This is what my .htaccess looks like: RewriteEngine On RewriteBase / RewriteRule ^index....
0
votes
2answers
239 views

All attachment pages give 404

I have a major issue with wordpress on my new website. Anytime I upload a new media, its attachment page gives me a 404. My permalink structure is the following: baseurl + /%category%/%year%/%...
0
votes
0answers
107 views

Adding %subcategory% to permalink structure: either subcategory or single-post outputs 404

I've had this problem before but never actually found a solution. Let's say i have a portfolio category, a drawings subcategory and a my-new-drawing single post, which belongs to portfolio/drawings/. ...
0
votes
0answers
17 views

My page wont publish

Since today I can't publish on my website. I'm building a new one and when I create a new post and hit PUBLISH it only appears on the main page, when I click on it it goes PAGE NOT FOUND even previews ...
0
votes
1answer
25 views

Published custom posts missing

On my wordpress dashboard I noticed a large number of past posts were missing. All (708) | Published (386) | Drafts (17) | Pending (8) | Private (1) | Trash (3) - Total 412 Our items are custom ...
0
votes
1answer
114 views

WPML - 404 Error when I try to pass GET parameters in my “different languages in directories” installation

I'm using WPML installation with the languages in different directories. But I'm trying to pass some _$GET parameters to the url and I'm getting the 404 error. I'm passing the _$GET parameters with a ...
0
votes
2answers
37 views

404 error when i try to search by category or by tag

I have following problem. When I try to search by tag or by category, I have 404 error. It means that when URL is like "domain.com/category/smt/" or "domain.com/tag/smt/", I have the error. I tried ...
0
votes
2answers
731 views

404 Error while accessing the font files

Added a custom font as follows Uploaded web-font files and given them the 777 permission http://example.com/wp-content/themes/mytheme/css/fonts/ Added rules to the css file @font-face { font-...
0
votes
2answers
191 views

Custom Post Type Plugin not loading category template and loading 404 instead

I have been looking around for the past few hours and I am starting to be kind of desperate... I have created a plugin to add my custom post type "project" (making a new portfolio)... In this plugin,...
0
votes
0answers
172 views

Custom Post Type (child) and Permalinks Rewrite Rules

I know this question has been asked a lot of times. However I couldn't managed to solve the issue I have for a few days now so if you could help me it would mean a lot to me. I have created custom ...
0
votes
1answer
120 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
1answer
157 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 ...
1
vote
1answer
3k views

Changing permalinks gives me 404 errors on nginx

EDIT It turns out that I was barking up the wrong tree trying to edit .htaccess, as nginx doesn't use it. What I apparently need to do is edit my .conf file. Before I read this, my_app.conf looked ...
0
votes
0answers
36 views

404 suggests posts instead of showing custom 404 when the url is not home

I have a custom 404 witch works well when you write the url like www.site.com/randomCrapAbC but when there is post-type or category in the slug, wordpress tries to suggest post in that category ...
0
votes
0answers
43 views

Am getting weird 404 errors in my wordpress site

I recently moved my site www.gadgetronicx.com from Blogger to Wordpress and i am loving wordpress. But i have been getting weird 404 errors when looking at my Google webmasters account. The 404 error ...
0
votes
1answer
30 views

Know which script/page is being called by ajax call

I have to reverse-engineer a wordpress site, which requires some updates, but I am unable to make it work properly at one place. Here, on click of a link, an AJAX call is being made to some page that ...
1
vote
0answers
34 views

Why does my site often display 404 on subpages?

About once or twice a week, my site will display a 404 page on everything but the home page. The simple fix has been to change the Permalinks settings to "Default" and then back to "Post Name" and it ...
0
votes
1answer
59 views

page nested 3 levels deep shows 404

I just created a page called Series at /media/archive/series/, parenting this new page under /media/archive/ The page at /media/archive works, but this new page, 3 levels off the root, shows a 404. ...
0
votes
0answers
36 views

Intermittent Rewrite Problems

I have a few custom rewrites on a site I have developed. I'm having a couple of issues: The rewrites don't work properly without using "flush_rewrite_rules(true)" directly following their setup. It ...
0
votes
1answer
72 views

Pages other than Home page not displayed even when URL is good

I installed WordPress on a dedicated server running Debian and each time a create a new page (www.mydomain.com/mynewpage) I can't access it, and when I try I get the error: Not Found The requested ...
0
votes
1answer
112 views

404 on form submit [duplicate]

I have created a template for form validation and when i run it error says EPIC 404...article not found....I dont know anything about Wordpress so anyone can sort it out how to validate my custom form ...
0
votes
0answers
63 views

How to get redirection to not redirect to 404 page?

I have a client, who has a page, that has links like site-url/profiles/username/ But instead of passing the username on the url parameter and used to query database, to get profile info, it somehow ...
0
votes
0answers
207 views

Permalink Rewrite with Archive - Archive gets 404

I have a custom post type, "toys", with a custom taxonomy, "toy_series". I wanted to get the custom taxonomy in the permalink: domain/toys/toy_series/toy-name I got that working just fine by ...
-1
votes
2answers
234 views

Multisite 404 errors and non-www redirecting to home page

My primary website on a multisite network was created with the www prefix (like www.example.com). If I try to access pages without the www prefix (like example.com/page-name/ instead of www.example....
0
votes
0answers
130 views

Getting 404 pages when upgrading from 3.5.2 to 4.1.1

So strange but after doing a manual upgrade, most of the pages work except for these: http://www.swa1.design2dev.com/report_card/commitments/country-commitments/burundi/ this works though: http://...
0
votes
0answers
114 views

Redirect/Route every broken link to 404 page

I have a wordpress site. It was transferred from another CMS now. And WP doesn't want to route non existent links to 404 page. For example, http://betall.ru/aisi-316-analog/234524/ routing to http://...
0
votes
1answer
461 views

404 not working on main site on multisite

I currently have two sites(main site and sub site) created with multisite function. Recently, i noticed that the 404 error page seems not to work on main site. No matter what error url i type to test ...
0
votes
0answers
68 views

Pagination calling 404.php

I tryed to ask my question on wordpress.org but nobody was able to answer me and this is pretty important to skip it so i try here: I have an index.php with 4 differents loops and a pagination on the ...
0
votes
1answer
40 views

Change the permalinks structure

I have decided my structure of permalinks from /?p=125 to /sample-page. I have tried some methods, but anyone works. I have changed the structure in settings/permalinks and I have tried with some ...
1
vote
0answers
124 views

Wordpress can generate numeric permalinks, which then 404

I know why setting a numerical permalink for a post would mean Wordpress confuses page name and number. However, I notice on the site I am working on (Wordpress 4), that you can edit the permalink to ...