Questions tagged [404-error]

a 404 error occurs when the requested page cannot be found

Filter by
Sorted by
Tagged with
0
votes
0answers
10 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
40 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 ...
0
votes
0answers
8 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
40 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
12 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
60 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
28 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
16 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
24 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
44 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 ...
0
votes
2answers
13 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
19 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
38 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
141 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
22 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
41 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
18 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
24 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
22 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
16 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
29 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
36 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
15 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
34 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
86 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
28 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
27 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: ...
0
votes
1answer
64 views

WooCommerce return 404 in the product page

I am making an Ecommerce website with the plugin: OCEANWP. I had an issue with links of products, because they aren't the same so i changed it in Setting > Permalinks, but after when I go to the ...
1
vote
2answers
44 views

Site searches by Python for non-existent assets

I've recently started paying greater attention to my 404 errors in order to clean up what I can and improve my site's SEO and ranking, and have noticed something that I don't understand. In my 404 ...
1
vote
2answers
204 views

Deny access to a path (give 403 or 404 response)

I know this should be easy. BBpress creates user profiles at /forums/users/. I'd like to make them unavailable to anyone, and not be indexed by Google. I've tried the following (in .htaccess) and ...
0
votes
1answer
24 views

How to fix mime-type and (after disabling nosniff) 404 errors for css and js files in staging site

I set up a staging site from the live site with my hosting, A2 Hosting. The pages are all messed up, and in the browser console, I could see lots of mime type errors (photo for examples). The errors ...
0
votes
0answers
18 views

Rewrite rule for changing permalinks. Post name to permalink with Category

SCENARIO A I have an wordpress site that has existing posts. Permalink structure is currently configured to https://sitename.com/%postname%/ I need to change the Permalink structure to https://...
0
votes
0answers
30 views

Too many redirects on wp-login.php and wp-admin 404 not found

I am having issues with my wordpress website. I can't login in at all. When I try to goto wp-admin I get a 404 page not found error and it redirects to wp-login.php (wp-login.php?redirect_to=https%3A%...
0
votes
0answers
23 views

How to redirect if 404 error in wordpress then redirect 404.php url

i need to redirect my wordpress blog url to 404.php (file) If some type wrong URL like example.com/blog/fgsdgfdg then I need to be redirect URL to example.com/blog/404.php Below code not working ...
0
votes
1answer
23 views

Wordpress /page/2 gives 404 when custom permalinks is set to %category%%postname%

My wordpress permalink settings, Custom Structure: %category%%postname%. Used next_posts_link() in custom theme in archive.php to get next posts link. Result: Next Page >> (display as expected) ...
0
votes
1answer
19 views

Could use some help moving site to subdirectory, what am i doing wrong?

I've been trying to move my WP site to a sub-directory, let's say /blog instead of mysite.com, i've been able to do this successfully in the past but now everything is going wrong. I followed several ...
0
votes
1answer
134 views

How can I redirect users on the new 404 page without plugin?

I have a 404 page in my theme but I am not using that page. I have created a new 404 page in WordPress using wpbakery page builder. I need to know how can I redirect users on the new 404 page without ...
0
votes
1answer
12 views

Wordpress Installation in Subfolder only works half

Hello I need to pick your brains here. So one of my projects went live a long time ago. The customer then asked me to build a second project which was supposed to be go live on a different domain. Not ...
1
vote
1answer
41 views

Fixing custom 404 pages broken by Wordpress in a subdirectory

I used Installatron to install Wordpress in a subdirectory of an existing PHP website, to add a blog to that website. My main website is administered via cPanel. Here's my website directory structure: ...
1
vote
1answer
30 views

404 error when passing “cat” parameter to URL

I encounter a strange problem with our WordPress site. When I check the URL: https://www.example.com/outlook-repair/ Everything is fine. When I pass several parameters to the URL, for example: https:/...
1
vote
1answer
16 views

WP is redirecting instead of going to 404

Why is wordpress redirecting to an existing page if the uri is staring like an existing page instead of redirecting to a 404 ? Example, i have theses pages mysite.com/aeroport mysite.com/intralog ...

1
2 3 4 5
18