Tagged Questions

a 404 error occurs when the requested page cannot be found

learn more… | top users | synonyms (1)

0
votes
1answer
12 views

Custom pagination generates title 404

I know it's a common problem, but I tried every solution appeared on this stackexchange. Every solution has failed (maybe because I'm still a newbie). I've this query on index.php page: if ( ...
0
votes
0answers
15 views

Built-in Sitemap on Multi-site install produces 404?

We have a subdirectory multi-site install. Some documentation I found says that WordPress has a built in sitemap, at /sitemap.xml. Trying to access domain.com/blog/sitemap.xml produces a WordPress ...
0
votes
0answers
16 views

Multisite: Create Site not found page 404 error

I have around 50 sites in multisite environment. I want to create a custom 404 page if someone misspelled the site name. for ex here are two sites in multisite environment: ...
0
votes
0answers
25 views

multisite 404 error for subdirectory

I am attempting to create a multisite as a subdirectory and I have followed the network instructions to the 'T'. The multisite seems to be set up correctly, the .htaccess and wp-config.php files seem ...
0
votes
0answers
39 views

Custom Page Taxonomy - 404 errors all over the place

I keep looking at the same few lines of PHP over and over again, and I can't make heads or tails out of why the 404 errors are happening. Here are the lines: add_action( 'init', ...
0
votes
1answer
11 views

Need 404 behaviour for blank parent page

My pages look like this Home (Has content) Products (No content) Product 1 (Has content) Product 2 (Has content) Product 3 (Has content) Contact (Has content) I only created the "Products" page ...
3
votes
1answer
208 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
0answers
19 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
25 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
60 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
28 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
66 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
94 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
14 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
1answer
33 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
19 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') ) { ...
4
votes
2answers
19 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
37 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
0answers
33 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
569 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
13 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 ...
0
votes
0answers
36 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' ...
0
votes
1answer
43 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
10 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
28 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
13 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 ...
0
votes
0answers
71 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
33 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
27 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
58 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
21 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
193 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
260 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
40 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
43 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
39 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
27 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
0answers
22 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 ...
0
votes
0answers
106 views

Multisite new sites not found(404), main site still works

I followed wordpress guide to install multisite. My main site (mydomain.com) works well, my multisite is based on subdirectory i.e., (mydomain.com/test/), however it doesn't load at all (404 error). ...
0
votes
1answer
25 views

404 Admin Error

I am new to WordPress and was looking at settings in the admin. I believe I changed the directory of the site from example.com/wp/ to example.com. When I saved the changes I immediately saw a 404 ...
0
votes
1answer
91 views

404 Page Not Found for Only One Post

I have 40+ posts on my blog. Only one of them is going to a 404 page when I click the title (visit the permalink). To see it in action: http://thegrovestead.com/tag/strawberries/ Look for the post ...
0
votes
0answers
96 views

Shortlink in header points to 404, but actual page does not

I've inherited a website whose permalinks are 200 and open fine: http://www.example.com/test-1 While looking at the source, the shortlink specified in the link tag points to 404s: <link ...
1
vote
1answer
144 views

Nginx with Wordpress not showing template 404 for certain file types

I am using Nginx on Ubuntu to host a Wordpress site and everything is working great except certain file types return the Nginx 404 rather than the Wordpress template 404. For example: ...
0
votes
2answers
72 views

Pages displays correctly but returning a 404 error in http header.

I decided to delete a custom post type and change them to pages instead. The pages display properly but anything in the directory that the custom post type used is returning a 404 even though the ...
0
votes
2answers
147 views

WordPress “Hide WP” Gives Me Error After Admin Login [closed]

I recently paid a freelancer to install a "hide WP" effect, which hides the fact that I am using WordPress. I specifically asked to install something with this effect: ...
0
votes
1answer
107 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
1answer
749 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
1answer
107 views

Pagination 404s on custom query

The basic issue is that every paginated page for my blog is going to a 404 page. /page/2/, /page/3/, etc. It used to be working fine, but is not now. I think maybe the change to 3.9 did it. Here are ...
0
votes
0answers
24 views

add_rewrite_rule is not fired

I need to rewrite some urls: I have a page (id = 61), with slug anunciantes on wich I use a custom template to generate a wp_query to list a custom post_type. I need to be able to filter by two ...