a 404 error occurs when the requested page cannot be found

learn more… | top users | synonyms (1)

1
vote
0answers
23 views

Wordpress homepage loads but all permalinks are 404 when using nginx & PHP-FPM

I have been trying to resolve an odd problem with my nginx config, which seems to have stopped working shortly after applying a Debian backports upgrade. The landing page of my blog ...
0
votes
1answer
556 views

Override private status - Enable users to read private posts

Hidden private posts for not logged in users The private posts are by default only visible when logged in. Override, show private posts for everyone Is there a clever way to override this? Make it ...
4
votes
2answers
16 views

How can i avoid the permalink start with 'blog' while using the custom post type?

I used the custom Structure /blog/%category%/%postname%/ for blog. also i have a custom post type named 'FAQ' while viewing the faq posts, it is showing the /blog/faq/%faq_category%/%postname%/. When ...
0
votes
0answers
11 views

python-wordpress-xmlrpc NewPost() 404 error

I'm using Wordpress 4.0 with a python library to post on the blog. When I was calling client.call(wordpress_xmlrpc.methods.posts.NewPost(post)) An error will occasionally occur showing as ...
0
votes
0answers
16 views

Wordpress Dashboard not loading CSS?

My site's dashboard used to work fine. I logged on this week after about a week without logging on, and noticed that the stylesheet for the admin dashboard is not loading. In the console I see a 404 ...
0
votes
0answers
25 views

Fix 404 error after changing permalink structure

hope you are all doing good! I have this problem. I had set "Post Name" as the URL scheme, therefore, I get www.site.com/article-title for blog entries. I've written a few test posts and I realize I ...
0
votes
0answers
14 views

Feed shows an 404 error for custom post types

I created a custom post type called "item" so all my posts look like this mydomain.com/item/somepost. Thats fine, however, in my header the feed for every post is linked like this: ...
0
votes
1answer
14 views

Post page 404 with WP e-commerce plugin in wordpress [on hold]

I have weird issue with WP e-commerce and post details page ! When I change Permalinks to Post name OR Custom Structure to /%postname%/, my all post details page go to 404 error, though product ...
0
votes
3answers
659 views

Password-protected Posts lead to 404 Error

I was just testing the password-protected posts functionality and when I submit the password it sends me to a 404 page. The password I typed in was correct, I made sure. The URL bar says: ...
1
vote
1answer
481 views

404 - Category pagination for custom post type

--Edit I've managed to narrow it down that the paged variable is not working properly here, (get_query_var('paged')) ? get_query_var('paged') : 1; is always returning 0 although maybe it is due to ...
0
votes
0answers
31 views

404 on child page when parent page slug is identical to custom post type

The internet is swamped with this issue but all the results were from 2010-2011 so I wanted to check if there was any advancement in the matter. I have the following scenario: Created a custom post ...
0
votes
1answer
55 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 ...
0
votes
0answers
9 views

I get an error message each time i update a post or page

i get the below error message each time I update my blog post or page. This same message appears when ever I post new blog post. When i click ok the message disappear but reappear when i want to ...
0
votes
2answers
253 views

404 Error On Custom Taxonomy Pages 2, 3, etc

I've been reading a bunch of posts about this with no luck so far. I can't seem to figure out what is the problem. I have the following: Custom Post Type: Sermons Custom Taxonomy: Series My urls ...
0
votes
1answer
19 views

Author page not found

Author page is not found on url mytabletguru(.)com/author/TabletGuru/ By Author Tablet Guru there is around 250+ post. Any help will be appreciated.
0
votes
1answer
15 views

Conditional for 404 page not work

I am trying to add a conditional to enqueue script only for 404 page. Theoretically I would have to use is_404() right? Well it does not work: if ( is_page_template('404.php') ) { ...
0
votes
3answers
259 views

WordPress keep redirecting me to random URLs

When I go to my homepage, http://example.com, I sometimes get redirected to http://example.com/SXKSLW/ or some other random URL along that pattern that yields 404 page. I do not remember doing ...
0
votes
1answer
800 views

Some images not found 404 in localhost

I just transferred a WordPress installation from the domain to my localhost. I did all the usual steps: copy files, export DB and replace domain.com with localhost, update wp-config.php and refresh ...
1
vote
1answer
326 views

Serve apache 404 for missing assets rather then wp 404 template WP_Rewrites

I have a custom 404 page, but dont want serve it for every broken asset that may crop up. Instead I want to just serve the Apache 404 as its much faster. I've found the following htaccess rule that ...
0
votes
0answers
25 views

How can I change the lost and reset password from action url?

This a second part to my original question posted via the following link How to change/rewrite the lost password url? Submitting the lost and reset password from generates a 404 because there action ...
0
votes
2answers
1k 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
0answers
25 views

Wordpress overrides custom 404 page with it's own

I want to create a custom 404 page, but I cannot seem to override the 404 which is in Wordpress itself. The reason I want a custom 404 page is that if I get 404 within my subdirectories I get directed ...
9
votes
1answer
567 views

Why is the loop not empty on some 404s?

I came across a weird issue. Say you access a random url, three or more levels deep: http://example.com/a/b/c http://example.com/a/b/c/d ... Then is_404() is true. So far so good. But for some ...
0
votes
0answers
12 views

How to manage a URL with pageX in it in order to generate a 404 page?

So I have done all this on a brand new WP install to rule out any potential effects from anything else. WP is setup with a static page as the home page. Permalinks are setup as simply %postname% and ...
4
votes
5answers
5k views

How to force a 404 on WordPress

I need to force a 404 on some posts based on conditions. I managed to do it ( although I don't know if I did it the right way) and I'm a getting my 404.php template to load as expected. My code: ...
0
votes
0answers
27 views

CPT unsaved draft gives error 404 - when Post Formats support enabled

I've a plugin for Portfolio CPT (can be downloaded from here: http://bit.ly/1tEj5bC), using this plugin, every thing works fine. But when i edit any portfolio entry and click on 'Preview Changes' ...
1
vote
1answer
327 views

Incorrect url for sharing blog on linkedin [closed]

I have a self-hosted Wordpress blog with Jetpack installed. My Wordpress URL structure is http://mydomain.com/archives/%postname%. Using the Jetpack's Publicize feature, I connected my blog to ...
10
votes
7answers
19k views

Cannot access non-wordpress subdirectories as wordpress overrides them with a 404 error

I refer to this question previously asked and not suitably answered: Wordpress overriding actual subdirectories and also Non "Wordpress" pages/code getting 404 error. I have the same ...
0
votes
2answers
56 views

Wordpress Permlinks 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 ...
0
votes
1answer
36 views

Multiple 404.php templates based on a post_type

Is it possible to have different 404 templates based on the post_type? So when page is not found 404.php will be used, when post is not found 404-post.php will be used. Or alternative, I would like ...
0
votes
0answers
8 views

Random post slugs cut off from original and underscores not converted to hyphens

I am having a serious problem right now. Our business website just crashed and almost every single page has stopped working. I am in the process of restoring the backup right now but would like any ...
0
votes
0answers
25 views

404 page is not querying my custom post

I have a 404 template page which is, obviously, designed for Not Found Pages. Within the code, I have the get_header(); where I place the global code for the site. There is a div that contains a style ...
0
votes
0answers
12 views

How to Prevent Browsing to Extra Directories?

By "Extra Directories", I mean directories that exist for no apparent reason. For example, here is an article on css-tricks.com: http://css-tricks.com/favicon-quiz/ If I append (an extra ...
4
votes
3answers
628 views

Hierachical Custom post types permalinks not working

Been looking for someone with this same problem for hours now so I decided to post my own thread. I have a hierachical custom post type called contact-information. Using this I have parentpages ...
0
votes
1answer
92 views

Pages throwing 404 error on server load

I have a really strange problem. I have to fix a strange bug in a wordpress installation that is related to the server load. When the site receive more than 5 parallel request some pages starts to ...
0
votes
0answers
45 views

Subpages return 404 server error

I just moved a site to another production environment and I have an issue with accessing subpages. The home page and the /wp-admin section works as expected and there are no path issues with images or ...
0
votes
1answer
30 views

Get the search element only on 404

I know get_sidebar( ); is used to get the widget sidebar , but how do I request one element from it? For instance, if I want to show the search or most read only? I know there is a way to specify ...
0
votes
1answer
25 views

Detect error 404 page to find out the issue

I have a wordpress website, which when I visit www.mywordpress.com/test/setup it throws an error 404 page. Which class in wordpress handles the request dispatching?
0
votes
0answers
47 views

Is this the best way to complete disable category archive pages?

I wanted to disable category archive pages because content in my blog will be presented via a number of pages for which I have custom templates like this: add_action('page_template', ...
0
votes
0answers
19 views

Some posts 404, htaccess wipes itself

So posts on my WordPress have started to 404, I have tried refreshing the permalinks. Have also disabled all plugins and changed theme. Categories section in the admin panel is also showing empty (but ...
0
votes
2answers
76 views

Custom post type single page returns 404 error

I have a custom post type called slide. It has content and some custom fields. I want WP to show the single.php theme or single-slide.php theme when the user clicks the slide single page link. the ...
0
votes
0answers
175 views

wp-admin/admin-ajax.php returns 404

www.mysite.com/wp-admin/admin-ajax.php returns error 404 when logged out. www.mysite.com/wp-admin/admin-ajax.php loads a blank page with 0 when LOGGED IN. This is the proper behavior as per ...
0
votes
1answer
33 views

wp-login.php ampersand in url results in 404

I've got this problem where the wordpress site will throw up a 404 if the wp-login.php has an ampersand appended after it (e.g. session expired argument). I've changed themes, disabled all plugins, ...
0
votes
1answer
36 views

Folder Name and Category Name Wordpress

I have URLs that need have the old URL for download files. Before, it has 2 separate website. The MAIN and the PORTAL website. http://www.website.org http://www.website.org/portal I want both ...
0
votes
0answers
28 views

Broken pagination on custom search query

I've been searching through various questions and answers for some time now, but can't figure it out. I should state that I'm still a novice when it comes to WP coding. The thing is, I'm using a ...
0
votes
0answers
21 views

Wordpress - 404 When creating Post/Page

I'm using the most recent version of WordPress and have encountered an issue that I've never seen before. Basically, when I try to publish a Page or a Post, WordPress directs me to a 404 page rather ...
0
votes
0answers
25 views

Why do my offline development site and online live site behave differently?

I have two versions of my site - one live, the other a development site using DeskTopServer. I work on the development site - adding / editing posts etc. and making changes to the WP database, and ...
0
votes
3answers
1k views

Show author archive pages for authors with no posts

I have one page for each author, but if the author doesn't have any posts I can't get its variables, because the loop is empty. The page returns empty, no avatar, no info and stuff, the whole site is ...
0
votes
1answer
515 views

Why does enabling Permalinks make pages not found?

I'm new to Wordpress and am creating a site using v3.9.1 of WordPress. When I create a new page, I can see it in edit mode, but the URL it is supposedly creating is not found when permalinks is used, ...
0
votes
0answers
20 views

Featured image loads correctly while gallery images returns 404

I can't get why the featured image is loading correctly while those in the gallery returns a 404 if the links is to the attachment page. If i link to the file, the file is shown but if activate the ...