Questions tagged [404-error]

a 404 error occurs when the requested page cannot be found

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

Wordpress 404 all pages except home

I know this question might be a repeat or duplicate of another post. I've been getting this error after shortly migrating the domain from http to https. I've been following multiple questions and ...
0
votes
0answers
15 views

How to solve 404 permalink structure problem?

I have a 404 problem on internal pages (posts, pages ...) My site is in the following folder structure site1 contains (site2 and site3) site1 is functioning normally, but sites2 and 3 are having the ...
0
votes
1answer
6 views

Page not found if mod_cache_disk is active

I set in Apache the mod_cache_disk module, but I'm getting 404 page not found error on every page and posts. I'm using WordPress Multisite on Debian 10 server with PHP FPM 7.4. I set this below in ...
0
votes
0answers
6 views

After Wordpress migration, most files are not found and there is staging prefix

I attempted to migrate old Wordpress website to DigitalOcean. Steps: Create a new droplet using Wordpress on Ubuntu 18.04 Wordpress template Set it up. After dummy site is OK, I copied wp-content to ...
0
votes
1answer
25 views

Remove all feeds and return custom 404 page

Hello I found the below code on a old post. I have opened up using ftp and created a new plugin folder called my first plugin and created it in the plugins folder - I have opened up my first plugin ...
0
votes
0answers
8 views

image size url returns 404

I just recently migrated some old blog posts from one site to another. The images have been imported as well. However, now most of my images are returning 404 errors. Images are linking to /wp-...
0
votes
1answer
16 views

Result of Custom WP_Query appears on 404 Page (but result are found!)

I wrote a custom search page. It was working well then I added additional changes, now I got 404-Result-problem. The problem keep there even I did revert (I have backup) and I cleared the cache. I'm ...
0
votes
0answers
15 views

Page not found - Custom blog type - Projects

I've been following a tutorial on how to create a template in wordpress and I've found myself stuck in a problem. My custom blog type: Project, when I click on it after adding some styling on the ...
1
vote
1answer
24 views

Trouble with CPT Child 404

I'm having issues with some custom post types showing up as 404's. I have a website i've been running for about five years, that has a CPT called Videos, and a single PAGE which acts as the Videos ...
0
votes
0answers
19 views

How do i POST to WordPress rest API from the same domain?

I created a custom rest API route - > http://mydomain/wp-json/v1/wp/custom/user now this POST request to this route works perfectly from a remote host. Some things change in my dev env and the JS ...
0
votes
1answer
35 views

WP-admin giving 404

When I go to /wp-admin/ I get a 404 not found error. This just started tonight. I don't have any plugins that change the login or the wp-admin page. my site is https://sturtz.ml/ This is all the log ...
1
vote
1answer
35 views

Wordpress Theme's 404 File Getting Called Every Page Load?

It seems for some reason, on a theme I'm editing, the 404.php template is being executed every page load, even though what was actually being displayed was perfectly normal, whether it be the index, a ...
0
votes
0answers
12 views

Multisite error handler does not work as expected

We are running a multisite on a Plesk Apache server (handled through nginx proxy). The installation of the WordPress multisite (subdirectories, no subdomains) works without any issues, expect the the ...
0
votes
1answer
23 views

Plugin - Proper way to handle 404 pages?

Working on a plugin to redirect 404 to a different page. Here's the problem. I occasionally get this in the log file: [08-Apr-2020 14:48:45 UTC] PHP Notice: Trying to get property of non-object in ...
0
votes
0answers
7 views

404 on archive page with category and tag in url

Any archive page with a category and a tag returns a 404, for example: https://lespetitsproducteurs.be/categorie/recettes/etiquette/amande/ While archive page with category only works fine: https://...
1
vote
1answer
48 views

Wordpress post-name permalink redirects to site.com

When permalink is set to plain everything works fine. but when I change permalink to post name only Wordpress home page(dev.site.com/blog) works fine, but for other pages(e.g., dev.site.com/blog/first-...
0
votes
0answers
17 views

Only default permalinks working wordpress others become 404 error

My problem is in my WordPress site only default permalinks are working. When I change permalinks all pages become not found (404). The home page and the shop page is the only working with post name. ...
0
votes
0answers
21 views

Sudden 404 pages on product category archives

For no apparent reasons, wordpress is returning 404 error on pages that were working fine. Affected pages are product category archive pages. They are a mixture of custom and default pages. The ...
0
votes
0answers
33 views

Show a message if there are no active posts in category

I want to show a specific message or a page or post if there are no active posts in a particular category. Currently, it shows a default "Content not found" message. I created a new template-blog.php ...
0
votes
1answer
28 views

Custom taxonomy returns 404 even with saving permalinks

I'm trying to register a custom posttype and custom post type taxonomy. But when I create a term and click the button "view" to see the custom taxonomy page it returns a 404. I've tried resaving the ...
0
votes
2answers
36 views

why is my wordpress not loading any images?

I have installed wordpress on google compute engine.. Running nginx, wordpress and https.. The site doesn't load the admin panel or the images.. throws up 404 error on chrome inspection HTTP404: ...
0
votes
0answers
34 views

All pages gives 404 except homepage and wp-login

I have setup a local wordpress environment by downloading the files and database from live site. Then I changed the site URL in wp-options table and changed user password for login. The homepage and ...
0
votes
1answer
25 views

Redirect search.php to 404.php

anyone knows how to redirect search.php to 404.php when no search results found? I've got more than 1000s of soft 404 errors due to this search feature. I just want to redirect nothing found results ...
0
votes
2answers
31 views

How to redirect an old page url to the homepage

I deleted a post from a site and I used yoast to move the URL (error 301) to another post, now I am struggling because I want to move the deleted content to the site homepage instead of blog post. ...
0
votes
1answer
25 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
8 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'] = $...
2
votes
2answers
47 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
32 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() { ...
1
vote
0answers
23 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
53 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
28 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
316 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
40 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
171 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
53 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
81 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
43 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
33 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
18 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
25 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
19 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
16 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
2k 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
23 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
38 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
79 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
62 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
37 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.

1
2 3 4 5
17