Questions tagged [404-error]

a 404 error occurs when the requested page cannot be found

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

Woocommerce Download Files 404

Product download link generates a 404 error. I tried to use X-senfile method and Force Download method it still 404. Server X-sendfile_mod is already enable. The only method that works was Direct Only ...
0
votes
0answers
8 views

Why does my site not work when I change the permalink structure to custom?

Why does my site not work when I change the permalink structure to custom? - which is: site/postname/ When it was set to this only the homepage worked, if i clicked on any other pages I got a 404 page ...
0
votes
0answers
18 views

Elementor shows 404 error when trying to edit a publish CPT post and not with draft CPT post

I have created a CPT that I want to edit with Elementor. Now when I try to edit a draft CPT post with Elementor it works fine but when I try to edit that same post after publishing it, Elementor gives ...
0
votes
0answers
10 views

Link Parent Category to Pages and last child category to category.php

I am trying to implement Silo Structure to my Page. I got usually 3 categories added to a post and I have set the permalinks to /%category%/%postname%/ I removed the /category/ base with "."...
0
votes
0answers
19 views

Using the get_template_part method within an mu-plugin not possible?

A while back, I had someone here help me craft a custom mu-plugin (aka: "must use" plugin) that was designed to specially handle 404 server responses. Here is that thread for context, ...
1
vote
1answer
37 views

Page not found after migration to localhost. I already updated the sql links and the permalinks. Wp-admin page works perfectly

So basically whats in the title. I migrated the company website to my localhost to implement some changes. First I cloned the repository, then I created the database, and uploaded the sql file. ...
0
votes
0answers
17 views

Help with Elementor Pagination CPT archive 404 problem

The pagination links in CPT archive created with Elementor Pro get a 404. I've spend a full day searching and trying everything I found on Google with search "CPT Elementor archive pagination 404&...
1
vote
1answer
23 views

AWS Wordpress Install - pages/posts 404 on restart until updating permalinks

I have launched a WordPress instance on AWS using elastic beanstalk. Every now and then AWS restarts my server and when it does all my pages/posts links switch to returning 404. I can fix this by ...
0
votes
2answers
25 views

Problems with Page Not Found

I have a new WP website in stage (https://cpanel-511-syd.hostingww.com/~bcctovkp/) that I need help with the functioning of the site when you try to navigate to a page or file not defined within this ...
-1
votes
1answer
29 views

404 Not Found nginx on wp-admin

I have my own domain and I'm hosting the site on InfinityFree. So when typing http:// mysite.com/wp-admin it gives me 404 Not Found-nginx page. I have installed WordPress successfully and also added a ...
0
votes
0answers
11 views

Rewrite rules showing blog pagination 404 error

I added below script in my website to setup custom language slug like th, se etc. After adding this below script my pages are working like. www.mywebsite.com/ www.mywebsite.com/se/ www.mywebsite.com/...
0
votes
0answers
19 views

How do i make WordPress return 404 instead of redirecting on misspelled page?

In a vanilla wordpress install, a misspelled page such as https://example.com/weclome leads to a 404 error, which is fine. However, once I set custom permalinks for posts such as https://example.com/...
0
votes
0answers
33 views

Setting up WordPress on local dev, rewrite log shows funky folders

I am a newbie and have almost setup a website locally with MAMP on Windows 10. Could someone please help me find the error? The rewrite log shows something might be wrong with my .htaccess and httpd-...
1
vote
0answers
28 views

Created php page in wordpress - Error Page can not be reached

I want to create a folder within wordpress site at root and add a php page abc.php with simple code like <?php echo "Test php page." ?> But when I try to run this page like this ...
0
votes
0answers
34 views

Getting a 404 error on auto-generated archive link (in wp widget)

I'm using the wordpress archive widget in my sidebar. The permalinks are set to the format: website.com/year/month/ All of them work except January. I have not set any custom links or changed any ...
1
vote
1answer
74 views

Redirect a page id url but not the page slug

My client is asking me to force a 404 $wp_query->set_404(); if the URL is example.com/page_id=342 but DON't redirect if the URL is example.com/about even though they are the same page. I have to do ...
1
vote
1answer
27 views

404 on paginated blog pages

We are running WP 5.6 and Beaver Builder 2.4.1.3(Pro). It is a multisite installation and we are having issues on the main site. Our home page for the blog loads just fine: https://www.awana.org/blog ...
0
votes
1answer
42 views

Can't Export Custom Post Types With Export Tool In A Custom Theme

I have a custom theme and when I try to export the posts for the custom post type called 'news' via Dashboard > Tools > 'News' > Download Export File (image attached) I get a 403 'Forbidden' ...
0
votes
0answers
18 views

On site audit i see some error resources with 4xx status code (WordPress website)

this is one of the links I have like 5000 error (WordPress website) https://link.com/moroccan-mosaic-tiles-cataloge/wp-includes/js/jquery/jquery.min.js I don't have a jquery file in that path. the ...
1
vote
1answer
137 views

Issue with htaccess redirection in WP Multisite

My site structure is main site example.com and two subfolders sites /es/ and /en/ example.com redirects => example.com/es/ and example.com/en/ is the English version. What is wrong? The following: ...
0
votes
0answers
20 views

Please Help me with this 404 error

Please Help i dont know how to fix this issue nor im eligible to understand the technichal terms. Just wanna know where to redirect these
1
vote
0answers
80 views

Wordpress multisite on IIS - can't open subpages

Our site developer built a new site for us on wpengine.com. They did a search and replace to fix the URL references before exporting the database and zipping it with the site files to send to us. I ...
0
votes
1answer
32 views

404 error on new pages but only for non logged in users?

So. Issue as title. Have researched lots but am near insanity! Have done all the 'Refresh permalink' thing Have edited .htaccess(*) and put generic rewrite code and refreshed permalinks again - the ...
1
vote
1answer
27 views

Wordpress 404 in development area

I have a live WP site, which I have taken a copy of and put onto a new server for testing / development. Once I put the website on the new area I updated the site url and home url in the database, ...
1
vote
1answer
97 views

Why Runtime service worker (runtime-service-worker.js) is being loaded, but can't be found?

File runtime-service-worker.js?v=2 is causing 404 errors. What is loading this and why it's not found? Background: I just moved client's website from development server to production server. After ...
0
votes
0answers
9 views

How to redirect all 404 errors to posts with the same title on a third level URL?

I have a news site and it has been running for 13 years. All old posts are moved to a third level archive. But with the move there are a lot of 404 errors. I would like to redirect all errors from the ...
1
vote
2answers
15 views

I get a 404 page on /wp-admin but not wp-login but as soon as I login I get a 404 again [closed]

If I visit /wp-admin I get a 404 error. If I go to wp-login.php I see the login screen. If I login badly it errors, if I login correctly it redirects to /wp-admin and 404s again. Things I've tried: ...
0
votes
1answer
21 views

Xampp 7.3.3 fresh install of WordPress 404 pages unless permalink is set to plain

I have been running xampp 7.3.3 for quite a while but i have recently installed 2 fresh installs of wordpress and if the permalinks are set to anything other than plain the pages are showing 404. i ...
1
vote
1answer
43 views

404 error- issues with pages after adding custom rules for posts

I am trying to create a custom translation for my website. Quick Story: I am facing "404 error-Page Not Found' issues with pages after adding custom rules in functions.php $newrules['^th/(.*)$'] =...
3
votes
1answer
156 views

Question about repurposing WordPress 404 handler

I've been experimenting with repurposing WordPress's 404 handler/template file for a Real Estate site that I'm developing. I understand that when a non-existent URL is requested, the 404 page gets ...
0
votes
1answer
26 views

My custom php file keeps 404'ing in WordPress when I call it. What am I missing?

I have a custom file I made called: /wp-content/plugins/listrak-newsletter-api/listrak-newsletter-api.php When I try to call it in WordPress, I get redirected to a 404 page. But the file exists 100% ...
0
votes
0answers
14 views

Unable to change 404

My site is currently just displaying a generic "404 - not found" page when users hit nonexistent pages. I tried editing the theme's 404 page but nothing changed, then I tried adding a 404....
0
votes
1answer
14 views

I can't enter the control panel of my wordpress site after channing the URL to https://

I have a big problem and I am somewhat panicking about this one. My website didn't have https enabled so i went to the settings panel, changed the website link to https://andthewebsitesname. Now when ...
0
votes
0answers
7 views

WordPress site redirects to homepage on url sitename.com/gibberish but shows proper 404 page on url sitename.com/?p=2423424

When I use the URL sitename.com/gibberish, I get 301 redirected to the homepage instead of the 404 page. However, when I use sitename.com/?p=53452, where 53452 is a non-existent post id, I get a ...
1
vote
0answers
13 views

WP_DEBUG must be on, otherwise edit post or page will show 404 error

encountered a very strange error: my WP_DEBUG must be on (set to true), otherwise editing post or page at the admin panel will show the 404 error. While the save post/page can still be seen. The ...
0
votes
0answers
43 views

Assigning CPT as post child to another CPT results in 404 for single-childpost.php

I have two custom post types: movie and screening. screening is a child of movie, and a movie can have several screenings/children. (screening is registered as hierarchical, both are publicly ...
0
votes
0answers
50 views

Check current URL is 404 in pre_option_stylesheet filter hook

I am trying to check the current url is 404 or not in the pre_option_stylesheet filter hook. As this is the early hook called by wordpress, due to which wordpress default function like is_404 not ...
0
votes
0answers
15 views

Has a PHP update given me a 404?

I have just changed hosting to Hostgator and installed wordpress to site Renuon.com.au I had to update PHP, which I did to ea-php74. The site loads the welcome Wordpress site but when I go to wp/admin ...
0
votes
0answers
14 views

Custom query give me 404 when paginate

in my site I have "CPT Clients" and each client has "CPT Success Stories", also I have a list of client's taxonomies, and when access to one of thees, I need to display the stories ...
0
votes
0answers
27 views

How to use paginate_links on front-page.php with a custom post type?

How do I use the function paginate_links in front-page.php or, if I cannot use it as it should be used in front-page.php where it should be better to put it? I have found this post https://wordpress....
0
votes
1answer
28 views

Some archive by year page return 404

When clicking on archive in my wordpress blog I get a list with links to different month, e.g., October 2020, ..., June 2019, ... When clicking on a month I get a view with posts whichs were published ...
0
votes
0answers
27 views

404 when using add_permastruct()

My wordpress site has the following URL structure defined in WP Admin > Permalinks Custom Structure : /articles/%postname%/ For all my default posts. I also have the following rule defined within ...
0
votes
1answer
14 views

Custom post type single page 404

I have read a lot similar questions, but none of them saves me. The site have multi-custom post type registered, others are ok to load a single page, except one, function cabinet_post_type(){ $labels =...
0
votes
1answer
69 views

wp-json Returns 404 Upon Plugin Activation

I'm creating a custom plugin. Recently, it's created errors and I don't know the cause. When the plugin is activated I receive this error in the Site Health Screen: The REST API call gave the ...
0
votes
0answers
53 views

Getting 404's on *some* local Wordpress pages with built-in PHP server

Using the built-in PHP server on my machine, my local install of Wordpress runs fine, with pretty permalinks and all that. But some pages return 404’s – the PHP one with the purple header. For example,...
1
vote
1answer
17 views

WP admin page gives 404

I have a problem with my admin page of the site http://www.fotoexpo202.nl . I can not reach the inlog anymore of this page: Not Found The requested URL was not found on this server. Additionally, a ...
0
votes
1answer
37 views

MySQL-inserted custom taxonomy term lead to 404, flush rewrites doesn't help

I import my custom terms from a desktop program using MySQL queries. But all the terms lead me to a 404 page. I tried flushing rewrites many times, it didn't help. It only helps when I save individual ...
0
votes
2answers
210 views

Completely disable RSS feeds on WP 5.5.2 and show a 404 page instead of die();

I'd like to completely disable RSS feeds on my WP website. Can someone please guide me on how to throw a 404.php page and set the headers to 404, when someone types in https://example.com/feed/ here ...
0
votes
0answers
36 views

Javascript file loads only on homepage, not on other pages (404 not found error)

I am getting an issue when loading my functions.js file. On the homepage everything works, and that is because the url is "www.mywebsite.com/wp-content/theme/myTheme/function.js" I get 404 ...
1
vote
2answers
33 views

Non-existent page returns code 200

I have a page like mysite.com/contacts/ If I enter non-existent urls like: mysite.com/contacts--/ mysite.com/contacts%20/ i get status 200 and the page opens mysite.com/contacts/ although if I enter: ...

1
2 3 4 5
18