Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [404-error]

a 404 error occurs when the requested page cannot be found

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

Indexed default page Google

I have this url https://inka-yume.pe in Wordpress, when you search it on Google the page appears like https://inka-yume.pe/wordpress/ and if you enter into it, is showed the 404 error. This is the ...
0
votes
1answer
31 views

404 on internal pages, in all sites in my local server

I have a local Apache server, with module rewrite loaded, all my Wordpress files in this server fail to find internal pages whenever permalinks options are set to something different than simple. ...
-1
votes
2answers
132 views

Theme making direct ajax calls to theme folder

So, I'm using a wordpress theme (unfortunately, I'm not able to get support for the theme any longer), and it has a contact form that makes a direct ajax call to a php file in the theme's "includes" ...
0
votes
0answers
17 views

Returning 404 in case of /?p=randomstring

Wordpress at the moment return a random page when visiting, for example, https://www.examplewebsite.com/?p=bdmvxmqa How can I force it to return a 404?
0
votes
1answer
44 views

Custom permalink gives 404 error only in some pages

Some pages of my Wordpress don't work after creating a custom permalink for products URL in my localhost environment. Home page works, but for example /contact page returns 404. If I look at Apache ...
0
votes
1answer
92 views

Some one is trying to hack my website, Need guidance [closed]

There are multiple IPs that are trying to access my directories. I am using iThemes Security plugin and it shows the following lists. These are the files all of the IPs are trying to access every ...
0
votes
2answers
28 views

I used single quote to design HTML of my WordPress blog. Now site redirects to index.php everytime than page.php or single.php

I am actually building a custom theme for my blog and I use single quotes for HTML everywhere like: <div class='div'></div> Does this cause me redirection to index.php?? My site ...
0
votes
1answer
41 views

Custom post type slug 404

I have created a custom post type public function register_post_types() { $args = array( 'labels' => array( 'name' => 'Android Apps', 'singular_name' => '...
1
vote
2answers
525 views

Getting a 404 error when clicking edit page

The problem I've run into is the WordPress for my website yesterday randomly stopped allowing us to edit any of the pages. Every time you click to edit a page it comes up with a 404 error. Things I ...
0
votes
1answer
34 views

Wordpress website dont load CSS, JS and images

I have a basic website with the Betheme installed as theme with the plug-ins: Yoast SEO WPBakery Page Builder Ultimate Addons for Visual Composer Slider Revolution Site Reviews Really Simple SSL ...
0
votes
0answers
21 views

Why my post showing not found in admin side when i click on count of category?

i am building new theme in wordpresss and i posted some post inside my post with specific categories and when i click on count of category to see how many posts are of this category but every time i ...
-1
votes
1answer
129 views

%20 in URL in archive page shows error 404 on page [closed]

I have made a custom archive page, so the page is working for single words like - National Category. For this the archive page works as it should be but when it comes to two words like - Economy and ...
2
votes
1answer
892 views

Removing CPT slug from URL results in 404 error for archive page

I have created a CPT with rewrite rules as follows: "rewrite" => array( "slug" => "/", "with_front" => false ), In the functions.php, I have added the following code: function ...
1
vote
0answers
39 views

Wordpress category with 404 error

Okay, so I'm facing a weird problem as I'm receiving 404 errors on blog category pages and I already did the most popular tricks to solve it, such as: re-install Wordpress update permalinks update ....
0
votes
0answers
69 views

Why is there a 404 on page 2+ for my search page?

I've overridden the search.php template from within a plugin, and I've replaced the global $wp_query with a different one, and without any paging parameters it works fine. Once I add a /page/2/ on ...
0
votes
0answers
23 views

Published page but it is page not found

I have published page with post type abc, but the page is not found. If I keep post type, then it works fine. I insert post data and publish through query: add_action( 'init', 'my_cpt_init' ); ...
0
votes
0answers
418 views

Woocommerce product page 404 not found

I don't know what else to try to fix this, i am working on localhost with laragon and i get 404 not found when i go to product link, the url is the same as permalink which i have /%postname%/ and ...
0
votes
1answer
34 views

“Headers already sent” error triggered in “parse_query” action

I have this code registered to the "parse_query" action which attempts to trigger a 404 based on the availability of an API asset. My implementation is based on this answer to another question. ...
1
vote
0answers
39 views

Custom post URL 404 error

I have custom post type and custom taxonomy. Categories works well but posts give me 404. I dont know why. It worked before I define URL for hiearchical categories. Can anybody help me? Main fragments ...
1
vote
0answers
299 views

Getting “404 page not found” error when i access to my Login page

I am getting the 404 error when I enter wp-admin after my domain.I am using infinity free hosting and getting this page https://infinityfree.net/errors/404/ when I access my WordPress login page. Can ...
0
votes
1answer
121 views

Wordpress 404 errors for old plugin files via Google Bot

I get a lot of 404 errors on my WordPress site and I have controlled a lot of those using the Redirection plugin. Now there is a particular type of 404s that originate from Googlebot requests. These ...
0
votes
2answers
594 views

Migrated site - Images have 404 error

I migrated my site from localhost (LAMP) to Namecheap and it is broken in that the images it is supposed to load from /wp-content return a 404 error. I can login to wp-admin and I can see the pages ...
0
votes
0answers
23 views

Param causing 404

I just moved over from blogger and which added ?m=1 and ?m=0 params on a lot of urls, and they are currently saved on a lot of social media, bookmarks, etc. All requests coming in with m=x in the ...
1
vote
1answer
44 views

How to display content from the main blog on another from multisite network as it would be its own

All solutions for the questions I've seen is just about loading links to posts with a blog switching feature, but I need to show the post from my main blog on sub-blog under the requested URI on my ...
0
votes
1answer
185 views

Taxonomy term page going to 404

Why are my hits for a taxonomy term page getting a 404 error? I have taxonomy "source', registered in code through a plugin... <?php /** * Plugin Name: Context Taxonomy for Sources * ...
0
votes
0answers
86 views

Manage 404 page over wordpress backend?

i build a template for a 404 Error page. I would like to manage the template via the wordpress backend under "pages". Unfortunately, this does not work or changes that I want to make with custom ...
0
votes
0answers
41 views

Wordpress media library don't load most of the photos in library

Whenever i try to load photos in the media library of my wordpress woocommerce site only the view at the top appear and the rest display "Failed to load resource: the server responded with a status of ...
0
votes
0answers
87 views

Multisite,half the way

I have now spend too much time on this. I am getting even more confused. I have installed wordpress and I have made it "Multisite". I add users and I see them on the "users"-list. Also I can make ...
0
votes
1answer
32 views

Every sub page shows Error 404, i have check permalink but still same issues

i have no idea what is the issues with wordpress setup, every subpages is showing Error 404, except main pages, for all your reference i have attached admin panel images to understand the flow, i have ...
0
votes
1answer
38 views

Remove Permalink of certain posts

Is there a way to remove the permalink on specific posts? Ideally there should be a plugin that makes the permalink optional on some posts. I know that there is a private option. But this does not ...
1
vote
2answers
4k views

How to fix “failed to set referrer policy: The value ' ' is not one of…”?

So I am not sure where to start with this problem. Client is unable to see this page: https://www.godental365.com/patient-reviews/ It does not seem to load for them or a few people in my office. I ...
0
votes
1answer
30 views

How to filter a custom post type by custom taxonomy without 404

There are several threads adressing similar problems but unfortunately I'm unable to solve it after hours of research, trial and error. I'm figuring it fits somewhere between Permalink rewrite 404 ...
0
votes
2answers
733 views

get 404 when accessing wp-admin/plugin-install.php

While freshly installed, I cannot access the 'Add new plugins` page whatsoever. It just keep waiting & then redirect me to 404 page of the current theme. I'm not sure what went wrong as the ...
0
votes
0answers
126 views

Subcategory Page 404ing

I am having an issue with Subcategory pages 404ing. Desired URL hierarchy: Blog = /blog Category = /blog/CAT Subcategory = /blog/CAT/SUBCAT Post w/ Category as primary = /blog/CAT/POST Post w/ ...
0
votes
1answer
87 views

Pagination for custom query returns 404

For a project I have created a custom post type called "episodes", which is registered like this. register_post_type( 'episodes', array( 'labels' => array( 'name' => __( 'Episodes' ), ...
2
votes
1answer
3k views

Wordpress REST API 404

I have installed WP 4.9.5 using nginx and the following plugins: Gravity Forms (v2.3.1) by rocketgenius Advanced Custom Fields PRO (v5.6.10) by Elliot Condon Timber (v1.7.0) by Jared Novack + ...
1
vote
1answer
123 views

show shop instead of 404 page for missing products

How should I show the shop instead of a 404 page when a product is missing? Currently users get a 404 page which makes them loose interest. I use woocommerce with wordpress on a server with nginx.
1
vote
0answers
172 views

Single post with a Custom Post Type returns 404, when archives of the CPT work correctly

I have created a custom post type called "medya" with the codes below: <?php function create_posttype() { register_post_type( 'medya', array( 'labels' => ...
0
votes
1answer
62 views

Which filter/action should I use to serve content for “virtual” files

I'm working on a plugin for a custom post type whose real content is cached in a redis database. When a user requests http://my-site/some-post my plugin retrieves the content from redis and returs it....
0
votes
1answer
78 views

WordPress refuses to read the .htaccess file and gives a 404 for sub-pages

I have a DigitalOcean server with Apache2 installed, which runs virtual hosts. I have set up the site in a sub-folder var/www/html/[site-name]. The URL being something like 192.168.1.8/[site-name]/. ...
0
votes
1answer
104 views

New entries to custom post type produce 404 on single view

I've used CPT UI to create a few custom post types on a real estate website, one of which is called "team". It's worked fine up until recently... Older team entries show up as expected, both in the ...
1
vote
0answers
98 views

404 redirect to previous category

Hi I'm looking for code that I can place in my theme's functions.php that will redirect 404 pages to the previously viewed category. For example: If www.example.com/category1/item-name goes to a 404,...
1
vote
1answer
88 views

WordPress does not load page.php, return 404.php

UPDATED! I am developing a theme for WordPress by following some tutorials. The main page works well, loading post of a custom post type, and the page to see the contents of the cpt also following ...
0
votes
0answers
130 views

fix slugs containing invalid characters?

On a site I support, there are a lot of urls containing seemingly invalid characters (e.g. brackets, commas etc) which cause 404s in Google. e.g. http://www.anorak.co.uk/167259/news/those_who_cant,...
1
vote
1answer
20 views

404 error on default post type and default taxonomy fronted page

I have installed WordPress through Softaculus installer. After that I logged in and created a post. when I wanted to view the post it says 404 page not found. It works fine when permalinks are set to ...
0
votes
2answers
2k views

Pagination (page/2/) displaying 404 on archive pages

I have a custom WP_Query inside of an archive. I know this is not ideal, but when I try switching it out for a pre_get_posts option, then my page just enters an infinite loop, so I'd rather stick with ...
0
votes
0answers
4k views

How to fix: “The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.”

I'm using azure as a hosting service and I tried to create a new virtual directory for my subdomain. So I created a folder in my ftp then I created directory in below image Then I've edited my web....
0
votes
1answer
287 views

Custom Post Type slug and WPML gets 404 error

i do have a curious problem on a new wordpress developpement. i have many CPT and WPML working on the site (default language is "french"). example, i have a custom post type who is : "marche" ( for ...
0
votes
0answers
38 views

Add new custom post type screen (admin area) results into 404

I created a custom post type (inside a plugin) which is not accessible public, means no single page, search results, archive etc. It's only being used for custom queries. add_action( 'init', function(...
0
votes
1answer
434 views

Wordpress subcategories return 404 in custom template

I have a custom Wordpress theme and a main menu on top. This menu has links to different pages, one of them is a link to a Category (archive). It works fine for any first level category, but if I link ...