a 404 error occurs when the requested page cannot be found

learn more… | top users | synonyms (1)

0
votes
1answer
120 views

how to set up wp in folder within static website?

In my server I have the following file structure: www/ index.html js/.. css/.. img/.. index.html ... blog/ .htaccess index.php wordpress/ .htaccess wp-config.php ...
1
vote
1answer
106 views

Post preview gives 404 when permalinks are purely date based

I have an issue pertaining specifically to the situation in which permalinks are set to be based only on publication date. My permalink structure is as follows: /%year%%monthnum%%day%/ When I try to ...
0
votes
1answer
185 views

Wordpress permalink change causes all incoming links to give 404 errors

My site URL is http://funandfoodcafe.com I changed my Permalink structure to Postname today, and I am using WP 3.5. All the links on the site redirect to the new structure correctly, but all incoming ...
1
vote
1answer
2k views

How to get permalinks with category base working with sub-categories

I ran into an issue with a site that needs the category base also included in the custom permalink structure. I know this is an issue and I have read many posts like this that gave me some insight... ...
0
votes
1answer
385 views

Video uploaded with the native media uploader gives Error 404

I created a shortcode to make an HTML5 player insert into my post, but my problem is when I attempt to view a video that I've uploaded with the native Media Uploader, I get a file not found error. The ...
2
votes
1answer
186 views

Detect 404 before headers are sent

I've a piece of code that shows a banner the first time a user visits, then sets a cookie, which prevents it showing again. However, if the page has a 404 error, the 404 page of the requested ...
1
vote
1answer
71 views

get_search_link() redirects to 404 template page

I built a custom theme, and in it, there is a 404.php page and a search.php page. Elsewhere in the template, I wanted to link to the search page directly. So, I used the get_search_template() ...
0
votes
0answers
35 views

Posting to most pages throws 404

I have a problem with a Wordpress installation where POST requests to any page apart from a couple in the root fail with a 404. POSTing to wp-atom.php succeeds, but POSTing to another custom page in ...
0
votes
1answer
254 views

Failed to load resource:404 image

website is http://pleevi.com. when i look on the problems with the website, i get this. http://i.imgur.com/aHQky.png here is the entire list of what i get as i cannot post more than 2 hyper links :( ...
0
votes
0answers
31 views

%page%/number didn't return 404 but redirect to /%page%/

I've got page, for eg. /about/ when after slash I put some numbers (not letters) I still get this same page. I really want 404 there. Why? What to do to avoid that? SEO itp...
0
votes
0answers
206 views

permalink and add_rewrite_rule - error 404

I'd like to have comments in a separate page with a dedicated template only for posts in a specific category (slug shops). Example: mysite.com/post-incatshops --> mysite.com/post-incatshops/comment ...
2
votes
2answers
1k views

How to trigger 404 for custom query var?

How can you trigger a 404 when using custom query vars? I've got re-write rules written for a custom query var, but if you were to request a URL for the query var that should technically be a 404 it ...
0
votes
0answers
64 views

404 with Custom Post Type

I'm having some issues here. Im trying to create a custom post type (acessorio) and some categories for it (acessorios_categories). So, what happens is that none of both works. Gives me 404 in both ...
0
votes
0answers
143 views

Display future single post 404 error

I have a custom post type kalender, a template which displays all of the posts in this custom post type and a single-kalender.php. Everything works fine when the user is logged in but when logged out ...
0
votes
1answer
91 views

Issue after changing permalink structure [duplicate]

My old permalink structure is like this: domain.com/POSTNAME/ My new permalink structure was switched to this: domain.com/CATEGORY/POSTNAME/ I need to set up a 301 redirect in htaccess that ...
2
votes
3answers
5k views

Custom post type pagination 404 fix?

Been trying to get this working all day but haven't had any luck... I have a custom post type called 'news' and an archive template (archive-news.php), here I'd like to show 2 posts with pagination, ...
0
votes
1answer
44 views

Using calendar and page does not show calendar for next or previous year

I have created a page called mysite and have permalink as /XXX/wordpress/mysite ‎ On this page I am creating a calendar. The calendar is working little wierd. It is working for a current year but ...
0
votes
3answers
4k views

WP-PageNavi gives me a 404 when using WP Query

I see that there are a lot of similar questions here at WPSE, and I've tried many of the suggestions mentioned trying to solve my problem but with no success. I have a category called News. In this ...
0
votes
1answer
206 views

How to bypass 404 for certain pages/posts?

I have a site with urls like so: site.com/folder/page-name It is moving to another site built in wordpress and I am trying to recreate the page to ensure incoming links continue to work as normal. ...
1
vote
1answer
2k views

Nginx Rewrite Rule:: index.html added to every permalink

Been working for several hours on getting my WordPress site to run on a secondary VPS with Nginx. Home is loaded and W3T Cache is working OK, but the permalinks are still broken and each one of them ...
0
votes
1answer
209 views

Unwanted redirect in admin area

I have a strange behaviour on my backend. This is possible due to the way my WordPress is located. I installed it in a VirtualBox, using Ubuntu from the standard repository (i.e., apt-get install ...
0
votes
1answer
27 views

I get 404 when I try to login ever since I changed the permalink

This is the website This is what the login http://wayfaroutadventures.com/blog/wp-admin/&reauth=1">looks like now Basically here's what happened: I had www.mysite.com/blog as the permalink ...
4
votes
3answers
938 views

Custom Post Types 404 Issue

I dont know why my custom post types render the Page not found. This is the code I am using to register custom posts. www.example.com/products/product1/ renders 404 where as ...
0
votes
2answers
841 views

404 Error on form submission within custom post type

I'm trying to create a forum system using WP's custom post types - two post types as Topic/Reply and a Forum taxonomy. I have created a singular template for the topic post type, in which I added a ...
2
votes
1answer
1k views

Pagination with custom post types results in 404 issues

I've a very simple index.php: <div id="content"> <? get_template_part('content', get_post_format()) ?> </div> <div id="pagination"> <? previous_posts_link() ?> ...
2
votes
1answer
188 views

New categories are now going to 404s

I have a WPMU site with hundreds of blogs on it. We are on 3.4.2 and this is the first time I'm seeing this issue within a few of my sites. Basically, what happens is that I'll create a new category ...
0
votes
1answer
1k views

Prevent 404 of Author pages without posts

How do I prevent author archives without posts from 404ing?
3
votes
2answers
2k views

Custom post type archive 404's with paginate_links

im using paginate_links function to create pagination on my custom post type archives, no matter what i do im hitting 404 errors when going to view page 2 (ie clicking to go on one page in the ...
0
votes
2answers
151 views

Is the 404 page automatically displayed if a loop returns nothing?

If you have an index.php with a loop such as: if(have_posts()){ while(have_posts()){ the_post(); } } And nothing is returned, you would generally do a: if(have_posts()){ ...
3
votes
2answers
550 views

Custom post type 404s with rewriting even after resetting permalinks

I created a custom post type, of which the (simplified) arguments are: register_post_type( 'Event', 'public' => true, 'rewrite' => array( 'slug' => 'eventy'), 'has_archive' ...
0
votes
2answers
346 views

PHP Notice error (when on 404 page)

I have a 404.php template for my theme. I also have WP_DEBUG in wp-config.php set to TRUE. Consider this 404 template: get_header(); ?> <div id="content" style="full-width"> <div ...
0
votes
1answer
167 views

Image uploaded in media library, can only see it when I using the WP Edit Image feature. 404 when trying to view in browser

I have an image that I've uploaded through the WP media library. I can see this image in my uploads folder via ssh/ftp. I cannot see this image if I put the URL in my browser, like ...
0
votes
1answer
41 views

How can I block with a child theme certain pages?

I am using the Woocommerce Wordpress plugin for an E-commerce site. I want to be able to set the site in a non-ecommerce mode, ie without the cart and checkout etc etc. I know there is a plugin you ...
0
votes
1answer
196 views

Pagination/404 I believe wp is getting a page ahead of itself

My site is using the Faceted Search Widget upon reaching an archive page. The widget works fine provided you stay on the initial archive page, but if I try using it on the second page of the archive ...
0
votes
1answer
52 views

Permalink Trouble with custom post types

When using custom post types I reach a dilemma where I have to use flush_rewrite_rules(); when using a permalink structure, otherwise it goes to a 404. After using it It works on one CPT but if you ...
1
vote
1answer
436 views

All pages after level 1 showing 404 after WordPress migration plugin - how to fix?

I am in the process of moving my blog away from GoDaddy (yey!) to HostGator. I used the migration plugin on GoDaddy tat created the gz archive of the database, and I copied all my files over to the ...
0
votes
2answers
712 views

Why after a form post back, I get 404?

I am creating a contact form page. Perhaps I am doing it wrong? I have something like <?php // even when I remove this validation block it fails if (isset($_POST['name'])) { // do validation ...
2
votes
1answer
179 views

Some posts returning 404 instead of displaying post

I'm having a problem with my Wordpress install. All of a sudden some of my posts return 404 errors when I try to go to their permalink. My post names are all numbers and this started happening when my ...
1
vote
2answers
1k views

Custom Permalink with Dynamic Taxonomy for Custom Post Type - Works, but breaks other permalinks

My custom permalink with dynamic taxonomy is working for my custom post type. However, it breaks all my other permalinks. They display a 404 error in the content area (header and sidebar still ...
0
votes
1answer
587 views

Pagination breaks on child-categories, works fine on parent-category

I have two parent categories, and pagination is working fine on them - the paged url's show as: /parent-category-1/page/2/ ... etc /parent-page/parent-category-2/page/2/ ... etc However, when I go ...
9
votes
5answers
2k views

Getting hierarchical custom post type permalinks to work just like pages

I've dug through every question here on custom post type permalinks, but most seem to be either problems with custom taxonomy rewrites, or the obvious missing of flush_rewrite_rules(). But in my case, ...
0
votes
3answers
269 views

page not found for single-type.php file

i have created custom post type 'event' to display in single page named single-event.php file but it provides me 404 error. how i can solve this problem even i used flush_rewrite_rules(); ...
0
votes
1answer
123 views

404 when Previewing an unsaved draft

I just started at a new job and I'm being thrown into some pretty heavy WordPress bugs on their heavily modified system. Basically what's going on is that they have their own CMS that handles most of ...
1
vote
2answers
289 views

Form in WordPress : 404

In my WP site I've got a Contact page whose URL is mysite.com/contact/ and which contains a <form> with an action attribute set to action="/contact/" Clicking on the submit button brings me to ...
2
votes
1answer
133 views

Create second custom 404 page for selected post type

I created a new custom post type called event, which works fine. I also created a custom 404 page template, which is shown if a event/page/post is not found. But now the hard part, i want to create ...
1
vote
1answer
355 views

Permalinks okay some pages but 404 error on others

I recently upgraded to WP 3.4.2 and had multiple issues with custom theme. In the course of trying to fix those, permalinks broke for some pages, not others. I get server 404 page not found for the ...
0
votes
1answer
105 views

How do I paginate a custom post type listing on a custom template page?

I've got a page template called tpl-memos.php which is attached to a page called 'Memos' with a parent page called 'About', the permalink for the page therefor is example.com/about/memos. On this page ...
0
votes
2answers
107 views

Some images 404

I migrated our old blog to the same server in the main root. For some reason a couple of images won't load up any more even when they are in the /uploads/ folder. When going to them as a URL I'm ...
3
votes
3answers
1k views

404 error on homepage when using Nginx proxying to Apache

I generally use Nginx to serve static content on my server, with Apache handling PHP content using PHP-FPM. However, I'm not able to get a Wordpress blog homepage to display and I've tried all the ...
1
vote
0answers
61 views

One post on my website is going to a 404 page

So I ran into an incredibly odd and frustrating problem today. As the title says, as of today one of the posts on the website is going to a 404 page. This is the ONLY post that goes to a 404 page. ...