Questions tagged [404-error]

a 404 error occurs when the requested page cannot be found

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

category/category_name pagination 404 error

<div class="row"> <?php $currCat = get_category(get_query_var('cat')); $cat_name = $currCat->name; $cat_id = get_cat_ID( $cat_name ); $paged = (get_query_var('paged')) ...
0
votes
0answers
6 views

404 error page after hiding product-category slug

after i used this code: add_filter('request', function( $vars ) { global $wpdb; if(isset($vars['error'])){ $lastVar = basename($_SERVER['REQUEST_URI']); $vars['attachment'] = $...
1
vote
2answers
43 views

Permalinks Structure and 404 Question

I don't know enough wordpress to actually be able to find the correct wording to get any real information on my problem. Someone asked me to set up a simple news system in a already running website, ...
0
votes
0answers
17 views

problem : Custom taxonomy template not showing

I make a custom post type and a custom taxonomy for that but the template of my custom taxonomy return error 404 , for example local/mywebsite/people/catea show error 404. function web_people() { ...
0
votes
0answers
18 views

Cannot access wp-admin/wp-login.php (Wordpress backend) anymore, what could be wrong?

The problem I cannot access my Wordpress backend anymore. I cannot do this by going to www.sitename.com/wp-admin and not by going to www.sitename.com/wp-login.php. When I go to /wp-admin, it seems ...
0
votes
2answers
17 views

Wordpress Admin page Error 404

I am not getting the Wordpress Admin login page. It is displaying Error 404 Not found. Can anyone help me exactly what could be the issue?
0
votes
1answer
26 views

Why aren't links clickable on my 404 error page? [closed]

I have created a custom 404 error page. However, the links are not clickable. The link to my site and a random 404 page is https://createandgo.com/error404page
0
votes
1answer
73 views

Page not found - Wamp green, phpmyadmin working

I was working using a Wamp server installed on my computer and everything was working fine for my Wordpress site. But when I installed a plugin, the entire WP site is gone as it displays "Oops! That ...
0
votes
0answers
10 views

plugin not deleting updating and installing. And aslo after customize not publishing

this throwing at the time of updating, deleting and installing any plugin. And the inspect element console is showing that 404 not found. customizer also showing problem. After editing something in ...
0
votes
1answer
23 views

404 not working, going to homepage; how to fix?

Whenever I call a non-existent page, say http://www.example.com/foobar/, it should invoke the 404.php theme template file. In my case, however, the site redirects to the homepage, / I'm not sure ...
0
votes
3answers
149 views

Site Address (URL) - causing error 404

I have the following situation which I tried to solve by using the website and forum but unfortunately no success so far. I am working on a new site (old still-now online) but when changing the Site ...
0
votes
0answers
51 views

Show custom post status when logged out

Background: I have a few different custom post status on my installation. We use them for a workflow. Lets just say for example we have: Draft (built in) ForClient (custom) Published (built in) Now ...
0
votes
0answers
40 views

Loading ACF Field content on a 404.php page

I am trying to load a ACF Field from a page to my 404.php but i cannot get it to work. get_post_field works fine but get_field does not <?php /** * The template for displaying 404 pages (not ...
0
votes
0answers
26 views

Redirect plugin showing '/false' in urls that reurn as a 404

I'm seeing lots of 404s registered by the WordPress plugin Redirection such as contact-us/false. The user agent that's finding the 404s is Googlebot-Image/1.0 I have Search Console connected to the ...
0
votes
1answer
21 views

Custom taxonomy template list not working (404)

I have created a custom post type 'item': function mywp_add_item_post() { $labels = array( 'name' => 'Items', 'singular_name' => 'Item', 'add_new' => 'Add New ...
0
votes
0answers
5 views

How to manage the strong impact on Performance (serverside and clientside) of 404 Pages: how to solve?

When a non-existing image is asked to the server hosting Wordpress, it returns a standard 404 page which result in: PHP having to render a page which cannot be cached and loads ALL the plugins 152 ...
0
votes
0answers
13 views

Category url decoding problem, refresh page is 404

I am working on a wordpress v5.2.4 site that has Arabic language and words in URL which is causing an odd issue. I create a category: خطوط إرشاد which is creating a slug url: www.mysite.com/خطوط-...
0
votes
1answer
22 views

404 error when calling php

<html> <body> ***<form action="abc.php" method="post"> First Name: <input type="text" name="firstname"><br> ...
0
votes
0answers
18 views

Home Page 404 error

A company I update the website for because of my limited knowledge of web design has been experiencing issues in the last two weeks with their website. They are hosting through domainspricedright.com ...
0
votes
0answers
14 views

kriesi WordPress pagination not working its goes to 404 page

I have Taxonomy with name states and term in that taxonomy California http://crowdupdating.jelingu.com/states/california/page/2/ this is how my pagination link looks the pagination code is in ...
0
votes
0answers
298 views

WP Rest API not working

WP 5.2.4 /wp-json/wp/v2/ Gives 404 error. I updated permalinks,have a working .htaccess on Apache and not using "plain permalinks" and still this thing don't work. My Apache and its configuration ...
0
votes
2answers
22 views

HTTP status 404 (error) when trying to log in

I've changed the http:// host to https://, then accidentally saved it. Now I can't log in to the admin panel having '404 Not Found' page. How can I fix this?
0
votes
0answers
14 views

How to edit hero-section entry-title for Genesis child theme 404 page

I'm using Genesis >> Business Pro child theme. I've created a custom 404 page in my child theme. I've gotten everything to work EXCEPT... I need to change the title of the page, depicted in the ...
1
vote
0answers
26 views

Some PDF files get Forbidden Access and other open normally on the same directory subsites

I have a WordPress multi-site with 4 subdomains. All PDFs in the main domain site work fine while on subdomain I get Forbidden access for certain PDFs. For instance when I open: http://example.com/...
0
votes
1answer
58 views

wp-admin send 404 error

I installed the plugin "yoast seo" and now when I enter and exit, they give me an error. And I can only come through /wp-login.php. how to fix ? please help
0
votes
2answers
36 views

I have a 404 error on all my pages! What do I do?

I have changed default permalinks into custom structure, and I got 404 error across all of my site.
0
votes
1answer
449 views

REST API: No route was found matching the URL and request method

I'm having issues adding a custom REST API route to Wordpress. Using my own plugin, i've registered the route as followed: add_action( 'rest_api_init', function() { register_rest_route( $namespace, ...
1
vote
1answer
28 views

Missing Page, But Still Exists In Preview

A page went down and I get a "Page Not Found" error. I tried looking at all existing pages and the page is simply not there. It isn't in trash, either. However, when I created another page and hit "...
0
votes
2answers
13 views

Error 404 Display on otherlinks apart from homepage

i transfered wp hosting to godaddy only the homepage displays i get 404 error when click on other links.. (The domain name is hosted on namecheap tho and i changed name server from the former hosting ...
0
votes
2answers
154 views

Giving specific category posts its own permalink structure returns 404

i am trying to give a specific category posts it's own permalink. Followed the steps from this topic (Give specific category its own permalink structure) but the posts are giving a 404 error. Cleared ...
0
votes
0answers
22 views

Custom taxonomy named 'tag' return 404 page

I registered a custom taxonomy named 'tag', code below: add_action('init', 'reg_custom_tag'); function reg_custom_tag() { register_taxonomy('tag', array('my_custom_post_type'), array( '...
0
votes
0answers
44 views

Problem with a wordpress admin system. and website

When i use wordpress i got random connection problem, and website is off for around 5 to 10 min. Wen i check error logs i got somethink like this: Any help?
0
votes
0answers
19 views

Custom post shows 404 after theme change

i have a custom post created using a plugin. But randomly say if i change the theme the post shows a 404. I tried flush_rewrite_rules() and resaving the permalink, theme change but still it shows 404. ...
0
votes
1answer
14 views

How can I get custom post types to recognize pretty permalink variables?

I'm using PODS to create a custom post type called "automobile" on my site. This results in a permalink structure that looks like this: /automobile/automobile-page I want to be able to send ...
0
votes
1answer
31 views

How to customize file path for 404 redirection in php?

I made a plugin with a custom post type postcard. Most of postcards are private. I would like to redirect the logged out user in a specific php file inside my plugin instead of the 404.php or achive....
0
votes
0answers
17 views

Can't redirect a 404 page using plugins

I changed a permalink on my Wordpress site which was previously set as index.php/%postname%/ to /%postname%/ Since my site pages are already indexed, people get 404 pages now. I tried redirecting ...
0
votes
1answer
45 views

Custom rewrite to fetch feed data

I am trying to fetch and display data from a feed when the user goes to a specific url like /items/32 where the 32 is the actual id of the feed item that should be fetched and displayed. Notice that I ...
0
votes
1answer
22 views

Expired event redirect to parent category

I build a website for a client of mine, that is going to continuously host events for his area. One of the requirements he has is to expire and remove from the database the events already completed. ...
0
votes
0answers
27 views

Make plugin return HTTP 200 OK on POST

I am developing a custom plugin - payment gateway - which returns me data through POST request. The payment gateway is expecting this response: HTTP/1.1 200 OK Content-Type: application/x-www-form-...
0
votes
0answers
39 views

Wordpress Networking - The requested URL /wp-admin/ was not found on this server

I installed wordpress networking, created subdomains on my host (a2) to the same folder with the wordpress installation public_html. I added these subdomains as sites to the wordpress network but I ...
0
votes
0answers
16 views

404 Not Found Error showing when I run wordpress

I setup all things properly means I did all things that need wordpress running with LEMP stack on Ngnix. But when I load localhost/wordpress for test purpose it is giving 404 Error code. Please ...
0
votes
0answers
36 views

Subcategory pagination 404 error on page 2

I'm facing a strange problem with the subcategory page pagination. I had the same problem with pagination in category page, solved with this snippet in functions.php: function custom_pre_get_posts( $...
0
votes
0answers
32 views

.Html 404 redirection error with Nginx

I run into problems with my wordpress installation. I try to redirect some older pages with .html ending to the root, but my nginx keeps to show up an 404 error. I guess I need to configure ...
0
votes
0answers
130 views

Pages in wp-admin is not found 404

I moved my website from localhost to web server. The website works fine. When I explore any page the urls on the website(front-end) are working fine so permalinks are not a problem. Issue is when I ...
0
votes
0answers
23 views

Wordpress as backend for SPA - problem of 404 page for custom routing

I'm going to use wordpress as backend rest api and vue.js (it doesn't matter what framework) as frontend part. I have some custom route on frontend side, e.g. "/custom". Actually it works on my ...
3
votes
1answer
34 views

How can I force a “404 Not Found” error

I have a couple of pages that are populated with data from non-Wordpress tables in my database. https://pageURL/?asi_id=12345 causes the DB-lookup to get the correct data. If someone uses the wrong ...
0
votes
0answers
29 views

The WP-admin dashboard page redirecting to 404

I have an issue when I logged in to Wp-admin dashboard page I can see the wordpress-admin bar on the top of the page but the dashboard page actually redirected to 404 error page. I have disabled all ...
0
votes
0answers
21 views

Scripts/styles not loading on cloned WP Site when logged in

I've cloned a WordPress site using installatron (on cPanel). The front-end loads fine when not logged in, but when I am logged in, scripts & styles aren't loading and changes I make to plugin ...
0
votes
0answers
15 views

Some Images are not showing on attachment page?

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", ...
1
vote
2answers
30 views

Exclude JS file from 404 error page

I have a custom tracking system in place which works with an include of a .js file in the footer of each page. Unfortunately some high traffic sites are including images from my site which are ...