Questions tagged [404-error]

a 404 error occurs when the requested page cannot be found

Filter by
Sorted by
Tagged with
0
votes
2answers
56 views

Custom Post 404

I'm attempting to create a custom post type (doctors) that will load a custom page template (single-doctors.php). I've set up the custom post type through functions.php, and created a 'new doctor', ...
0
votes
1answer
252 views

Getting a Error 404 Not Found on subcategory

I have been Googling and trying anything + plugins I can find on Google, but none of the things I tried fixed my issue. For some reason, when I go to my URL/category --> Works URL/category/...
0
votes
1answer
47 views

How to add WordPress site to multisite network when both are addon domains

Here's an overview of how I have things setup: All of our domains are registerd with GoDaddy and our web hosting is with Siteground. I have the main hosting account domain (domain.com) currently ...
1
vote
1answer
55 views

Custom taxonomy in URL showing 404

Using a custom post type with custom taxonomy I'm after a custom url structure of /post-type/custom-taxonomy/article-name. I've searched and read up on Permalinks: custom post type -> custom ...
0
votes
1answer
781 views

Category url generate 404 error

My permalink setting is: /blog/%year%/%monthnum%/%postname%/ everything is working fine except the category URL. for example, my website generate category URL like - www.example.com/blog/article/ ...
0
votes
2answers
222 views

Some permalinks on Apache/localhost development setup return 404's when set to anything other than plain permalinks

I'm building a custom theme using Xampp on my localhost. I've got everything sorted for the site, except for this permalinks issue. Currently, the site uses the Advanced Custom Fields plugin and has ...
-4
votes
4answers
2k views

Wordpress Site says Front Page is 404 When Not Login

I have a Wordpress site, I have the Front Page settings right in the Reading settings, but when I goto my Wordpress site and I am not login, I get a 404 error and my page looks messed up. When I am ...
0
votes
2answers
86 views

I'm getting 404 when editing a post with hyperlink, what's wrong?

This is a doozy, you’ll like it. Since about a week ago, when I edit a post, if that post contains a hyperlink (eg <a href="...">...</a>) when I update it, I’m sent to the 404 “Page not ...
0
votes
1answer
51 views

All tag/category/custom taxonomy archives 404

My issue is that mysite.com/tag and mysite.com/tags returns 404 errors. But if I have an eyeteeth tag then mysite.com/tags/eyeteeth returns posts with that tag. This also holds true for categories, ...
-2
votes
1answer
225 views

except home page , all the links throwing an error “404 Pages Cannot be found” [closed]

automatically some of the pages was throwing an error "404 Page cannot be found". sending you the link of my site, were i am getting an error " http://kvorg.satvix.com/downloads-publications-test/ "// ...
0
votes
0answers
966 views

404 Page not found error after adding 's' in 'http' in Settings

My site would display the message This connection is not private when I visited the https version. Trying to fix this I went to the Wordpress admin panel and to Settings and added a "s" to the two URL ...
3
votes
3answers
10k views

404 Error On Category and Tags Pages

Okay So I'm facing a weird problem as i'm receiving 404 errors on blog category and tag pages. I'm using custom theme which includes: tag.php category.php archive.php home.php index.php and 404....
0
votes
1answer
4k views

404 of wp-admin pages [closed]

I've got a website thats having problems (its been untouched for a few months so not any changes that were made to break it) when logging in the login page is unstyled, sitting in the top left corner....
2
votes
2answers
2k views

Remove Slug from Custom Post Type results in 404

I am working on a plugin that creates lists. After creating a list, I wanted to remove the slug from the url Post type: $rewrite = [ 'slug' => 'single-link', 'with_front' =&...
0
votes
0answers
284 views

Downloading zip or tar.gz inside Wordpress installation?

I have WP installed in root dir, e.g., public_html/ I make a non-wordpress site here public_html/other/ HTML files are accessible just fine, e.g, http://example.com/other/index.html however ...
0
votes
1answer
345 views

How to redirect a wrong search on my wordpress website to the error 404 page?

For example, my wordpress website is www.example.com. If I type example.com/abcdef or any other url that does not exist, it redirects to my custom 404 page without any issues. However, when I search ...
0
votes
1answer
1k views

WP page 404 error only on mobile

I have a page here that's redirecting to a 404 only on mobile. I flushed my permalinks, checked all my plugins, etc. and can't figure it out. Any and all help is appreciated!
1
vote
0answers
2k views

404 Error Contact Form 7 on WordPress

I just created a new website. Everything seems to work perfectly except the contact form. Indeed, the contact form is not working, and affects loading after one try. The chrome console gave me this ...
1
vote
1answer
35 views

paged > max_num_pages won't throw 404

I've created new page in WP administration called Blog and created custom page template for it. In the template, I have a simple paged custom query. $query = new WP_Query(array( 'post_type' => '...
0
votes
1answer
51 views

https images not displaying

Setup Hi Guys! I have a weird issue. I'm using wordpress Premium BeTheme with ssl certificate installed. Problem The Problem is although images are uploading on the site with https but they are ...
0
votes
2answers
52 views

Site with WooCommerce section moved to HTTPS - all pages except home and main store are 404s

I'm stumped. I just installed an SSL certificate on a client's site which consists of a WooCommerce store section and regular WordPress pages. I am getting a 404 on every page of the site except for ...
3
votes
1answer
156 views

Wordpress keeps deleting .htaccess file

Recently my wordpress site has been experiencing problems with all pages returning a 404 error. I tracked this down to the fact the .htaccess file in my wordpress directory keeps disappearing. When ...
0
votes
0answers
81 views

404 Errors on Every Page (Including Homepage) After Migrating From IIS to Apache

I recently migrated a client site from an IIS environment to a LAMP stack. The back end of the site works fine. I can log in and make any changes I like. The front end, however only displays 404 ...
0
votes
1answer
493 views

WordPress 404 Images - Images not found after deleted from media

I am trying to develop the website to find images that have been deleted from the media library as they were not needed. These Images that I have deleted have previously been on pages but have been ...
0
votes
0answers
554 views

Custom permalink /%category%/%postname%/ produces 404 on each post

I have installed brand-new wordpress-4.8.3. My next steps were, as in WPBegginer - How to Include Category and Subcategory in WordPress URLs: In Dashboard/Settings/Permalinks, I've pasted: /%...
0
votes
1answer
26 views

Problem with permalinks

I have changed the category base name and now it is "blog", it works ok. But when I change structure by /blog/%category%/%postname%/. It shows 404. If I remove blog in structure it works again, but ...
7
votes
1answer
5k views

What is This esc_html_e() i wordpress php?

why do developers use <?php esc_html_e() >? in 404 pages, what does it mean, how does it works?
1
vote
2answers
242 views

How do I skip wordpress's 404 handling?

I want to extend my website in a way that is parallel to the wordpress theme. Example: My website with wordpress is at: www.mywebsite.com By ftp I added a directory named test, in which there is a ...
2
votes
2answers
238 views

Why does my WordPress show a 404 message for 403 forbidden directories?

I'm not sure if this is specific to my site or not, but if anyone knows how to override this behavior, that would be most appreciated! I have WordPress installed in the root directory of my server. ...
0
votes
0answers
355 views

Custom taxonomy template shows 404 Error

I have created taxonomy & custom post type. Here is the code: add_action('init', 'register_post_types'); function register_post_types(){ register_taxonomy('products', array('product'), array(...
0
votes
0answers
660 views

wordpress form action page not found

I have created a page template with a form like this <form id="form_52393" class="appnitro" action="../application.php" method="post"> <div class="form_description"> <h2>Finance ...
0
votes
1answer
234 views

Custom Post Type Draft Preview Goes to 404

I have created a custom post type within a custom plugin. Here is my post type definition: function hrd_record_custom_post_type() { $args = array( 'description' => __( '...
0
votes
2answers
798 views

Wordpress Site Page Exists but Error 404

I created a website using Wordpress on a local server and the migrated it to an online server both manually and using the plugin Duplicator. All went fine and I have the same configuration of the ...
0
votes
0answers
146 views

Clicking PUBLISH Now Redirects to 404 PAGE NOT FOUND

I have a Wordpress blog running Sahifa Theme. I am unable to post anything on my blog . When ever I goto the NEW POST Page , I create a title , add content to post and post it. it works fine unless ...
0
votes
1answer
42 views

Multiple duplicate URL's

I keep getting these duplicate pages for my about page. I can't figure out what is causing this issue. Any help or direction?
-1
votes
2answers
537 views

Home page returns 404

Must have inadvertently changed something recently as when visiting the base URL (i.e. the homepage) for my local development site it returns a 404. All of the other pages seem to work fine. As per ...
2
votes
2answers
1k views

Custom Post Type rewrite rules not working, how to alter the rewrite order?

I've gone through four or five Codex pages, a dozens Stackexchange pages, and four or five dev blogs trying to solve this. I have a custom post type called authors. The CPT is set up correctly, I ...
0
votes
1answer
353 views

Hierarchical taxonomies in permalink cause 404 for sub term archive

I've got a custom post type with hierarchical taxonomies. The permalink structure is as follows: www.mysite.com/post_type/taxonomy_term -> works (tax archive page) www.mysite.com/post_type/...
-1
votes
1answer
373 views

Subdomain add comment redirect to 404 not found page iis server

Multisite iis server Error 404 not found when I add a comment into subdiectory post. And this is my web.config file : <?xml version="1.0" encoding="UTF-8"?> <configuration> <...
1
vote
1answer
150 views

Set a CPT slug as a base name for all the taxonomies

I'm looking for help because I tried to look on the web for a solution but I can't to solve my 404 page issue. I'm bulding a custom WordPress plugin for my photo club. This plugin wants to display ...
0
votes
0answers
833 views

Custom Rest API namespace and endpoints are responding with 404 & 503 errors

I am new to WordPress plugin development. I was developing a plugin for WordPress that would be used to create mobile apps for WordPress Bloggers. The whole source code of the plugin is at:- https://...
1
vote
1answer
100 views

How To Create A Custom Taxonomy 404 Page

I can't seem to find any documentation on this and Google is only showing results for people who have 404 pages caused by their incorrectly implemented taxonomies. I want to show a custom 404 page ...
0
votes
1answer
742 views

Redirect WP 404 to html

Needing to redirect php 404 to plain html to reduce server load. Is there any update to this? How do I skip wordpress's 404 handling and redirect all 404 errors for static files to 404.html? #...
0
votes
1answer
17 views

My question:When I started my website, the “page not found” error always came up

I make sure my .htaccess is set to default and I try to install a freshly new WordPress but nothing changed.
0
votes
0answers
33 views

wordpress - page not loading (404) even if it's there

I have a major issue with WordPress. I created a page and it keeps saying "page not found" when trying to navigate to it. The page is definitely there. I tried removing and re-creating .htaccess ...
0
votes
1answer
2k views

https to https problem - 404 and can't login

Really hope someone can help with a problem I’ve been trying to fix for several hours. Site in question is: http://www.lisasell.co.uk/ Firstly, content is failing to load due to them being served ...
3
votes
1answer
401 views

Trying to load different syles for 404.php page

I've created a 404.php page and my theme correctly loads that page when an error is made. My question is - how do I style it? I notice that the body tag like this: <body class="error404"> So ...
0
votes
4answers
71 views

Moving Website-URL

I tried moving my website according to the codex (after trying it the wrong way - by just changing the URL in WordPress settings) but now that I did, my homepage is still there but the rest of my ...
0
votes
0answers
60 views

After changing permalink, getting 404 for one particular category

For my webits seems fine: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{...
1
vote
1answer
532 views

Virtual robots.txt missing

on every WordPress installation there is a default virtual robots.txt file with the following User-agent: * Disallow: /wp-admin/ Allow: /wp-admin/admin-ajax.php but on my 2 last project /robots.txt ...