a 404 error occurs when the requested page cannot be found

learn more… | top users | synonyms (1)

0
votes
1answer
360 views

If post does not exist, do something

Is this possible? If so, how? I am linking to a non-existing post/page where I get a 404 error. I want to have it to get the url of the non-existing post and make it a link on my 404 page, but I ...
0
votes
1answer
247 views

How to find out which function is causing a 404

So I am trying to upgrade a WordPress project and for one section I get the 404 instead of seeing a product page. I looked around and tried adding this to my functions.php add_action('wp_head', ...
0
votes
1answer
532 views

Template redirect template loaded, but the header 404

I've created a template redirect for a given url, ex.: test.com/test Test is page is not exists, i'm just checking the url from query_vars, if its match, i load the template with ...
0
votes
1answer
219 views

Changing the post date without causing 404 error

We have permalink structure based on date (like 'www.mysite/2012/05/27/postname'). Some times there are some posts that we need to be shown the first, so we change they date. The problem is, that by ...
0
votes
1answer
192 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 ...
0
votes
1answer
259 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. ...
0
votes
1answer
28 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 ...
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
196 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 ...
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 ...
0
votes
1answer
744 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>/ ...
0
votes
1answer
185 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 ...
0
votes
1answer
626 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
312 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 = '') { ...
0
votes
1answer
283 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, ...
0
votes
1answer
156 views

Permalinks not working (404) for the 'item' post type

I have searched various forums and blogs, however I could not find the isuse so far, neither a way to fix it. item does not seem to be a wordpress-reserved word. My custom post type registers just ...
0
votes
1answer
73 views

old permalinks not found

Looking through Google Webmaster Tools, I have a lot of 404s for posts with permalink structure of /%year%/%month%/%day%/%postname%/ I have since changed permalinks to /%category%/%postname%.html I ...
0
votes
1answer
352 views

Safe to throw 404 error in request filter?

I am working on a plug-in for my personal site and I would like it have a certain permalink structure (/projects/project-type/sub-type/project). To achieve this, I am using the request filter. Inside ...
0
votes
2answers
614 views

Multisite - 404 when accessing sub-sites

Setting up a multisite on a blog which root url is dev.domain.com, using subdomains. So, for example, a subsites address : site1.dev.domain.com Everything works fine as long as i stay on the main ...
0
votes
1answer
296 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
1answer
2k views

The requested URL was not found on this server [closed]

I'm running wordpress locally on 127.0.0.1 on mac osx lion. All links work fine. Problem is when I add pages, and set permalinks to the page, and then associate the page with one of my template ...
0
votes
1answer
198 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
775 views

either single-{custom}.php 404's OR /taxonomy/ 404's - custom post type and taxonomy permalinks

I've been playing around with custom post types and taxonomies and banging my head off walls on numerous occasions now - I believe I've read every forum on the internet on how to solve various issues ...
0
votes
2answers
503 views

styles/default.css in markup, where does it come from? [closed]

I have the following line under the head tag but I don't have the file styles/default.css in my theme and consequently get a loading error in browsers. I'd like to eliminate this line but I don't know ...
0
votes
1answer
147 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 ...
0
votes
1answer
240 views

Bizarre Permalinks Issue: 404 Errors Everywhere

First and foremost, this is definitely a duplicate of the age old question of "my Wordpress permalinks are generating 404 errors", but in a way it's different because no solutions I've tried have ...
0
votes
1answer
320 views

Page not found when trying to link to files in child theme directory

I'm trying to create a child theme based on Toolbox 1.4 by Automattic. I have my scripts file saved as child_theme/js/scripts.js on my server and I enqueue it by using wp_enqueue_script( 'scripts', ...
0
votes
1answer
1k views

Pagination throws 404 error on custom taxonomy archive pages

I have created a custom taxonomy for a custom post type called "portfolio" like so: function jvs_portfolio_categories_init() { register_taxonomy( 'project-category', 'portfolio', ...
0
votes
1answer
356 views

Show custom data instead of 404

I'm currently developing a plugin to display some custom data on my wordpress site. For example I have a data named abc. If a visitor try to access localhost/wordpress/abc, it should display the data ...
0
votes
1answer
1k views

WP-e-commerce (getshopped) - Annoying permalink issue [closed]

i’m using wp-ecommerce (getshopped) and WPML on a website, all pages display correctly when i use the default (/ugly…) permalink structure, but when i try to use the much desired permalink structure ...
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
92 views

Getting 404 error on homepage only

I keep getting an error message at www.e-z-university.com/blog my blog page. Everything seems to be working fine except www.e-z-university.com/blog I can view pages, posts, everything but the blog's ...
0
votes
1answer
122 views

Browsing to permalink prefix results in 404

I have set my blog permalink as follows: /news/%postname% This works. Going to any post, such as /news/test, will serve the single.php as expected. I can also browse to a category such as ...
0
votes
2answers
408 views

404 Error on Custom Post Type / Custom Taxonomy

I have a registered post type with 'rewrite' set as slug=>cpt_name, with_front=>true. register_post_type( 'objection_handling', array( ...
0
votes
1answer
1k views

Can't view post, goes to 404 page. Please help

I'm on a fresh install of WP and I just made a couple test posts. However, when I click on the post to view the 'single' page, it shows a 404. Furthermore, from the dashboard, when I go to the edit ...
0
votes
1answer
71 views

Enhancin 404 to contain a search from URL

I have migrated to WordPress from other (probably unknown to you) free blogging site (bloguje.cz if you are curious) The issue is, that previous system had sometimes URL ending with ".php" and ...
0
votes
1answer
1k views

Prevent 404 of Author pages without posts

How do I prevent author archives without posts from 404ing?
0
votes
1answer
58 views

Need help with major category and permalink re-organization

I would like to re-organize my categories and the permalink structure. I want to rename and merge categories, make previous categories sub-categories and change the permalink structure from ...
0
votes
3answers
1k views

Custom Post Types cause 404 for pages? [closed]

I have looked at the previous post here regarding a similar issue but what resolved them issues doesn't want to work for me. Basically, I have a custom post type for football players for my home ...
0
votes
4answers
730 views

Pagination throws 404

I'm experiencing some problems with my pagination when displaying custom post types. I would like to display 9 posts and then display a numeric pagination. This is working, some links are generated ...
0
votes
1answer
189 views

Adding Theme File for Non-Wordpress Content

I have a third party events plugin that uses custom tables in the database. I have created a theme file (event.php) that pulls the data in based on a slug that is ideally given in the URL. I want to ...
0
votes
1answer
1k views

404 error after publishing a post

My issue is prety much what the title indicates. Whenever I publish a new post, everything works fine - the post is listed in my WP dashboard and all looks good. However, if I try to 'view post' to ...
0
votes
1answer
429 views

How to fix 404 page error on theme

I am using the MidMo Clean theme and for some reason the 404 error page isn't working. Parse error: syntax error, unexpected T_STRING in ...
0
votes
1answer
227 views

Scripts external to WordPress cause 404 errors

I installed WordPress in the root of my web site. Everything went well. But now, other scripts and files, totally unrelated to WordPress, in other folders, cause WordPress 404 errors. For instance, I ...
0
votes
1answer
391 views

Custom Post Type Child Won't Come Through With Pretty Permalinks

I'm in a pickle and unfortunately, have almost zero working understanding of mod_rewrite/apache stuff. Here's what's going on: I've got a hierarchal custom post type with parents and children. On my ...
0
votes
1answer
158 views

How do I fix unexpected redirection of visitors after enabling multisite on WP3?

After enabling SuperAdmin and multisite functionality in WP3 many users are getting redirected to a sign-up url. I do not have account sign-up enabled, how do I turn this off? It seems to happen ...
0
votes
0answers
21 views

I can't visit the website when I am logged in

I have a problem with my website and I'm not able to find the solution. I have installed Wordpress 4.1, but I got this problem also with older versions. The problem is that when I login as a ...
0
votes
1answer
14 views

Local copy of site returns 404 for all content outside of core .php templates

It appears that this is a common problem, but I have tried every fix I've seen on this forum and still cannot get the local copy of my WP site working. I can view my homepage at localhost/mysite, and ...
0
votes
0answers
24 views

Wordpress update page 404 error

When creating/updating pages in my WordPress 4.0.1 installation, clicking the "Update" or "Publish" button to submit my changes redirects my browsers to the apparently non-existent URL ...
0
votes
1answer
10 views

When using number in url it is redircting to same page but when using character it redirects to 404

I have a website e.g abc.com in wordpress, when I enter any url like abc.com/blog/1232132 then it is redirecting to the same url and showing the content of abc.com/blog but when I am using urls like ...