Tagged Questions

a 404 error occurs when the requested page cannot be found

learn more… | top users | synonyms (1)

0
votes
1answer
241 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 ...
-1
votes
2answers
2k views

Why my custom post posts aren't showing (404 error / page not found)

I just installed a new wp installation. I have created a new child theme based on the TwentyTwelve theme. In the child theme functions.php, I have created a new custom post called "news". I have added ...
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() ?> ...
0
votes
2answers
169 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()){ ...
0
votes
1answer
43 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
180 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
2answers
2k 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 ...
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 ...
3
votes
2answers
663 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' ...
1
vote
2answers
1k views

Wordpress triggers 404 on page 2 for custom search query

I modified my index.php to check if the search query is an author and if yes, display articles of that author. That is working fine but as soon as you go to page 2 of the results, wordpress triggers ...
0
votes
1answer
190 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 ...
2
votes
1answer
200 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 ...
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 ...
4
votes
3answers
1k views

Uploaded image, but not showing

I have a reasonably fresh WordPress install on my Ubuntu Linux server and I uploaded an image to it for use in a blog post. I checked the path in WordPress settings and I checked the contents on the ...
0
votes
1answer
643 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 ...
0
votes
3answers
302 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(); ...
9
votes
5answers
3k 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, ...
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 ...
1
vote
1answer
500 views

Error 404 on Network Admin and others

I have a multisite fresh install in my domain. Subfolder setup. Network Admin on the upper right menu has this link http://example.com/wp-admin/network/ and returns a 404 error. Other links like 'Add ...
2
votes
1answer
134 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
394 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
2answers
113 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 ...
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. ...
0
votes
1answer
124 views

How to direct user to actual 404 page when a check is false in single.php?

Can someone tell me how to direct a user to the main 404 file instead of having to print an error message saying "file not found" in single.php? For example: <?php if (!$myVar) { // go to ...
0
votes
3answers
708 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: ...
0
votes
2answers
264 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
2answers
374 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
685 views

404 permalink errors on Pages only

I am having a strange issue with permalinks while using the /%postname%/ structure. I can access my custom post types using the pretty permalink localhost/cpu/<post-type>/<post-title>/ ...
-1
votes
1answer
51 views

I moved WordPress to root now posts go to 404

http://deepdreamers.com/?p=495 I followed the instuction from WordPress on moving your blog. When I click to gothe next page, I get a 404 message and the same happens when I click on on any posts. My ...
0
votes
2answers
1k views

How do I programmatically generate a 404?

How can I get something like this to work? // in a plugin / theme: // This imaginary function will make WordPress think that the // current request is a 404. // Ideally this function could be ran ...
0
votes
1answer
115 views

Getting 404s on New Pages

Can't figure out why this would be happening- wp install issue or .htaccess issue? I am using a theme but the same problem occurs with the default wp themes. After I create a new page (example: ...
0
votes
1answer
196 views

Author page points to 404 error page

I am having a membership site in wordpress where there are more than 10K users. Now when the user having a single word user_nicename ( http://example.com/author/james ) try to access their respective ...
0
votes
1answer
108 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
1answer
1k views

How to resolve 404 errors for wordpress comments/feed when I have disabled comments

I have disabled comments in my wordpress site. So comments/feed url is giving 404 error. So how should I resolve these errors? doaminname/feed works fine. But domainname/comments/feed is giving error. ...
0
votes
1answer
183 views

404 to 301 - Fixing old links

I have currently updated a site and made many improvements to it. The old site ran off 3 different systems and had wordpress (and the other systems) in the webroot. I have moved wordpress into a ...
2
votes
1answer
1k views

Setting 404 page in Nginx

I am using this page (http://wiki.nginx.org/WordPress) to setup my WordPress on a nginx/php-fpm server. Everything is okay, except the 404 page When I request www.example.com/foo, it send me the ...
1
vote
1answer
203 views

Clean install - Changing permalinks in twentyeleven give 404

interesting problem that I encountered, not sure if it's bug or not.. On a clean install using the twentyeleven theme I try changing the Permalink Settings to something different from the Deffault ...
0
votes
1answer
146 views

404 on child page template

I have a page called portfolio and I have created several child pages for it like Video page, audio page etc … I also created custom page template for portfolio and named its file ...
2
votes
1answer
88 views

In wordpress I am manipulation 404 response. I want to give the response before 404 error is given to google

May be the question in title is not explaining what exactly I want. So I will explain one logic and then ask what problem I am getting from that. We are using wordpress. We have 2 categories ...
1
vote
3answers
111 views

How can I send an email in my plugin?

I'm making a plugin that emails the site webmaster when I go to the 404 page. The script checks if the referring link is on our site, and then sends an email to the webmaster. $message = " ...
0
votes
1answer
2k views

page not found in IE, but found in Chrome & Firefox

I use .html on PAGES plugin, and this works fine for me in Chrome and Firefox. However, Internet Explorer displays "page cannot be found". Why would one browser not display a page, but two others ...
0
votes
0answers
16 views

URLs getting appended with strange number string, resulting into 404s [duplicate]

Possible Duplicate: Massive 404 issue reported by Google Webmaster Tools on a WordPress Site I've been dealing with large number of 404 errors reported in the Google Webmaster Tools. I ...
-1
votes
1answer
86 views

Why my htacess rewrite return 404?

Here is my .htaccess file # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteRule ^abc/products-(.+)$ def/products-$1 [R=301,L] ...
0
votes
1answer
601 views

using wp_redirect to redirect to a permalink

I'm using wp_redirect to change the URL of my 404 page: function show_404($message = 'page not found'){ wp_redirect(home_url() . '/error/404?m=' . urlencode($message)); exit(); } I have ...
0
votes
1answer
303 views

Testing for a shortcode using a function. 404 page throwing PHP Notice

I'm using the following function (can't remember where I found it, but I think it was written by pippin so thanks to him) to test for a shortcode. function has_shortcode($shortcode = '') { ...
1
vote
0answers
385 views

403 thrown instead of 404 on iis [closed]

I am running a wordpress blog (3.4.1) on iis 7.5 with php manager 5.3.13. I cannot configure correctly the 404 page. I have created a 404 page which can be successfully viewed through /404.php. ...
2
votes
1answer
544 views

Multisite custom post type's single page 404

I have two sites in my multisite setup - domain.tld (site A) and domain.tld/lifestyle (site B). This is my first multisite attempt. I've made a widget that creates a custom post type "latest-news" ...
0
votes
1answer
275 views

Setup proper 301 redirect for deleted tags

I recently deleted a large number of tags (~20k-25k) from one of the categories that publishes news items. These tags were contributed by our authors and added no value to the site. As a result, ...
-1
votes
1answer
271 views

Parent pages not found with pretty permalinks

I'm building a site and for some reason all the parent pages are 404ing, only sub-level pages are displaying with pretty permalinks. If I use default permalinks, everything works fine. I've tried ...