a 404 error occurs when the requested page cannot be found

learn more… | top users | synonyms (1)

1
vote
0answers
48 views

Posting comment returns 404

I've been tracking an issue in one of our WP installations and keep coming up short of a solution. One of our websites is installed in a sub-directory of our main website. Both are WP installations. ...
0
votes
0answers
10 views

Make a WP instance go to the 404 page of another WP instance

I have two Wordpress instances: One is in '/' The other one is in /commerce I would like that, when somebody goes to /commerce/nonexistingpage or some route that does not exist, the user gets ...
1
vote
1answer
25 views

Obtain page data and use regular loop

Is there a way to obtain the data from a certain page outside the regular flow, more efficiently than via get_post($id)? I know that I can get for example the title with $post = get_post($id); $title ...
1
vote
1answer
79 views

Custom permalink structure gives 404

For a Custom Post Type called 'matches' I created a custom permalink structure. The structure shows up just the way I want it, however, I get a 404 everytime I visit the post. I have tried removing ...
1
vote
1answer
35 views

Permalink change made author archive vanished

I changed my WordPress blog URL from: http://example.com/%year%/%monthnum%/%day%/%postname%/ into first, http://example.com/%postname%/ and then after many days, ...
1
vote
0answers
54 views

Accessing Subdirectories in WordPress Install

I have scripts that are in a subdirectory of my WordPress install folder. They are on the same level as the /wp-content/ and /wp-admin/ folders. I'm running them as form processing but I've got the ...
0
votes
1answer
60 views

If $var is empty, return 404.

For security reasons, to detect if somebody is manipulating GET parameters of the plugin I'm writing, I need to return a 404 if the security query I perform returns nothing. How can I force that? I ...
2
votes
2answers
428 views

Wordpress Theme's 404.php not found, server defaults to Apache's own 404 page

if I just type something to provoke a 404 Error on my Wordpress installation, Wordpress doesn't load its own 404.php file, but the Apache server's own 404 error message gets displayed. What is wrong ...
0
votes
0answers
401 views

Getting 404 page not found error while trying to access add new plugin / themes

I am getting 404 page not found error while trying to add new plugin or view installed plugin in my admin panel. i am using Hueman theme. every time i tried to use some option of admin panel i am ...
0
votes
0answers
52 views

404 not Found (But recommendations like changing port did not work)

I have issues with Wamp and Wordpress Combo. (Please let me know if this is not the right place to ask) Reason i ask here is because it started with this: (Beginner) Need help installing Wordpress on ...
0
votes
0answers
41 views

Why are 404 errors redirecting to my homepage and not my custom 404.php?

Not sure if this strictly wordpress and not a general apache configuration but I'm having trouble setting up my 404 page for a custom theme. I have my 404.php in the same directory as my index.php. ...
0
votes
2answers
38 views

Help! I changed the domain and now I can't log in via admin online

Help! I changed the domain of a website and now it sends me to a 404 error when i try to access my admin page. I don't have the files backed up. What can I do to reverse this?
1
vote
1answer
70 views

post parameter 'name' 404 error

I am integrating the WorldPay hosted payment pages gateway to my WordPress installation and I am setting a notification URL in WorldPay to a route within WordPress. The problem I am having is that ...
0
votes
0answers
238 views

Multisite sub-directories IIS 7.5 change media/uploads location

I am running WP 3.8.1 Multisite. Sub-directories is configured. I have 10 sub-directory sites and 1 primary site. WordPress is running on a Windows 2008 R2 datacenter 64bit server with IIS 7.5. I have ...
1
vote
2answers
153 views

Changing Site Address (URL) causes 404

Thank you in advance for any help you might provide. I have read many other posts, and unfortunately the provided solutions did not work. The problem is this: I have Wordpress installed in a ...
0
votes
1answer
61 views

htaccess redirect for all categories converted to tags now showing 404

I have a WordPress site which syndicates content from a number of sources and auto creates categories and tags. I have converted a large number of categories to tags which now leaves a ton of ...
0
votes
1answer
130 views

Wordpress monthly archive links result in 404

When I use the archive widget in a sidebar, it creates the normal monthly post archive listing like the following: February 2014 January 2014 October 2013 and so on. Whenever I click on these ...
0
votes
1answer
181 views

Blur.js with WordPress - Enqueued, but server not finding file

So as the title suggests, I'm trying to run blur.js on my WordPress theme. I have enqueued the script in functions.php: function load_oves_methods(){ wp_enqueue_script( 'blur', ...
-1
votes
1answer
104 views

New install of wordpress, my url goes to index of/

After my Wordpress installation (database hooked up and wp-config done and wp-login created). I just get Index of/ page when I go to my URL. I uploaded all the contents of the Wordpress folder to the ...
0
votes
0answers
83 views

Logging out gives 404 error

When I try to log out of my site, I'm taken to a 404 page, and the logout doesn't work. The url looks like this: ...
0
votes
1answer
50 views

How to recover WordPress Adress(URL)

I installed WordPress in localhost. I changed the WordPress Address from the general settings. After that none of the previous pages appears. Instead, a "Page Not Found" error page is appearing. I ...
0
votes
0answers
11 views

Why do all my custom post types return a 404, even after resetting the permalink? [duplicate]

I have two custom post types setup like this: add_action( 'init', 'create_post_type_News' ); function create_post_type_News() { register_post_type( 'news', array( 'labels' ...
0
votes
2answers
41 views

What form element names break wordpress?

I know that <input name="name"> will cause wp to bork and throw a 404. It seems that 'year' is the same. Does there exist a list of input names that wp doesnt like?
0
votes
1answer
90 views

Pagination 404 Not Found child page

I have a page Heemtijdinghen displaying custom posts (post_type=artikel) paginated. The page is a child page of page Publicaties: /publicaties/heemtijdinghen/ When navigating to e.g. page 2 a 404 Not ...
1
vote
0answers
58 views

Turning on the 404 page on localhost

I'm using my localhost (XAMPP client) to test my WordPress website and everything works fine, till it comes to verifying how does my 404.php template looks like. I can't preview any changes, because ...
0
votes
1answer
225 views

Custom post type single page (single-{CPT-name}) 404 when slug includes hyphens

I have a CPT called "author". After an hour searching why I get a 404 visiting single pages of this CPT (managed by template "single-author.php") I realize that some do work: those whose slug doesn't ...
0
votes
0answers
57 views

Subfolder index.php 404 Errors

I'm looking for help troubleshooting why subfolder pages return a 404 error if "index.php" is appended after the subfolder. I do not experience this behavior on other WordPress sites. I have inherited ...
0
votes
0answers
113 views

Page 404 not working after install w3 total cache [closed]

After I installed the W3 Total Cache plugin (http://wordpress.org/plugins/w3-total-cache/), anytime I get a 404 error I am redirected to my home page. I believe the issue is originating from my ...
0
votes
1answer
64 views

How to hide wordpress error message?

how to hide wordpress error message "You do not have sufficient permissions to access this page" and show 404 error page for all non administrator's request like e.g mydomain.com/wp-admin/plugin.php ...
0
votes
0answers
39 views

Taxonomy for costum post type not found

I'm trying to use taxonomies to create categories for my costum post type. I registered the necesary components: add_action( 'init', 'create_post_type' ); function create_post_type() { ...
1
vote
0answers
34 views

Category and guest post with 404

i use twenty twelve theme in wp with plugin of guest post and redirection because if any of user click on category and blank category shows a guest post page in redirection plugin i set one category ...
0
votes
1answer
120 views

Changing permalink settings causes 404

I would like to have permalinks of the form http://localhost/mysite/sample-post/. I tried to achieve this by changing the permalink settings in the admin panel to 'Post name' from default. But this ...
0
votes
1answer
42 views

404 for children in hierarchical custom post type

I've tried all the solutions I can find on this and I'm still stuck. This post has a good thorough approach to debugging, but it hasn't helped. Part of the issue may be because I'm trying to get the ...
1
vote
2answers
179 views

Posts not working on windows after changing permalinks

I recently started learning wordpress. Out to curiosity of changing settings, I changed permalinks to Month and Name. After that all my posts and pages have stopped working and show me a 404 Error. I ...
1
vote
2answers
167 views

Filter to change the content of 404 page

I have created custom rewrite rules. These rules now go to 404 page as expected. I can use action hook template_redirect to change the template matching query_var. But I don't want to create separate ...
0
votes
0answers
88 views

Multi site sub directories 404

I've set up my .htaccess and wp-config as advised by WP (3.8). The issue is that when I browse to the sub-sites ( i have /testing set up at the moment ) I get 404.Nothing shows in the errors. My host ...
-1
votes
1answer
52 views

paged query leads to 404? [duplicate]

As soon as I click the "2" on my pagination links I get a 404-error. The url correctly changes to http://mysite.com/?paged=2 <?php /** * The loop that displays the posts. */ ?> <ul ...
1
vote
0answers
89 views

Media attachment pages giving 404's

I use Google Webmaster Tools to track and fix 404's. I've been getting numerous 404's from media attachment pages, but not the page itself, it's parent. An example: I have this piece of media, ...
0
votes
2answers
243 views

Main blog page works but title says Page not found

Here's a strange one. I've been developing a site, including a custom template that I originally worked up from the functionality of the Naked theme. The site has no public blog at the moment; the use ...
0
votes
2answers
96 views

How does WordPress know if a URL doesn't exist?

The WordPress theme I am using didn't come with a proper Error 404 handler and I'd like to add one to the code. I am having a hard time how WordPress determines if a URL does exist as a post, is a ...
-1
votes
1answer
136 views

Pagination with Custom Post Type not working on index.php: I get a 404

I've read many posts about the same problem but none seems to work for me. I have a query for a custom post into the index.php. When I go to page 2 I get a 404 error. The same code works like a ...
1
vote
0answers
131 views

Hierarchical permalinks for custom post type and taxonomy

I have registered the custom post type "word" and the custom taxonomy "wordcat". Now what I want is proper hierarchical permalinks. So I've been searching the web for quite some time with no result. ...
1
vote
1answer
36 views

Page not found error when adding text `2 = 2 ^ 1` to the page

Adding the following text to a page in the Text editor and clicking Update results in "Error 404 - Page Not Found": 2 = 2^1 Replacing this text with anything else makes the Update succeed. Any ...
0
votes
0answers
90 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
1answer
104 views

Form submission to another page returning 404 error [duplicate]

I'm modifying a form plugin, and trying to have it submit to another page chosen by the user. Right now the page it submits to is page_id=6. If I navigate to this page myself, it prints Array(). When ...
2
votes
2answers
396 views

get_the_ID() gives notice in 404 page

I'm using get_the_ID() in my wp_enqueue_scripts action due to some needs, But as result I'm getting the following notice (wp-debug is on): Notice: Trying to get property of non-object in ...
0
votes
0answers
44 views

Automatic redirect on change of permalink not working if child page

When changing the name of a permalink on a per post basis wordpress will automatically redirect the old URL to the new URL, but not if the page is a child page. e.g: Changing ...
4
votes
1answer
158 views

Making %author% the rewrite slug for custom post type causes 404s on non CPTs

This has been driving me absolutely mad. I created a custom post type which I plan to use to create pretty affiliate/redirect links throughout my site. Here is my register_post_type(): ...
0
votes
0answers
212 views

WordPress Network (sub folder) 404 issue

I've installed WP 3.7.1 on Apache (Linux). Note that this is a brand new install. I configured it for Network Sites (Sub folders). When I go to the root site (i.e. http://example.com/) I see the ...
0
votes
1answer
344 views

Show a 404 error page if Public query variable's value doesn't exist?

Public query vars are those available and usable via a direct URL query. On my site, I've created some custom URLs with their own query variables like so: ...