Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [404-error]

a 404 error occurs when the requested page cannot be found

0
votes
0answers
9 views

Sometimes I am still getting 404 error if I call add_rewrite_endpoint & flush_rewrite_rules on activation / deactivation hook

I need to add a custom tab to my woocommerce my account page, so I followed this article: https://github.com/woocommerce/woocommerce/wiki/Customising-account-page-tabs#creating-new-endpoints /** * ...
0
votes
1answer
15 views

How to set up permalink after migrating to another server?

After i migrate from one server to another, i can only set the permalink to plain setting. Whenever i try to change to other custom setting, it doesn’t work. I always see the “ERROR 404 – PAGE NOT ...
0
votes
0answers
7 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
26 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
114 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
16 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
0answers
24 views

WP_query with pagination gives a 404 after page 1

So i couldn't display a custom pagination on a custom wp_query index.php page and then found this answer wordpress.stackexchange.com/questions/160175/pagination-on-a-wp-query-not-showing-navigation-...
0
votes
0answers
13 views

404 error when using pagination with custom taxonomy of a custom post type

I'm using a plugin called Custom Post Type Permalinks to my URLs pretty -> sitename.com/CPT/taxonomy. When I apply paginate_links() to taxonomy.php the function seems to works as it produces the ...
0
votes
1answer
25 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
0answers
20 views

Check if URI exists or creates 404 error

I have the following problem: I would like to check in PHP, if a certain wordpress URL exists or if it returns a 404 error. Having tested get_page_by_path() I had to notice that this does NOT work ...
0
votes
1answer
42 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
27 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
0answers
32 views

Need Help with .htaccess to Make Pretty Permalinks Work

I am in a huge problem where my blog is being redirected to 404 error page when I use %postname% permalink but %plain% permalink works fine. Let me tell, I have made a custom theme for my WordPress ...
0
votes
1answer
28 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' => '...
0
votes
0answers
11 views

Categories page problem

I have a problem with categories page. I have a categories page in my blog and also I have a subcategories and that's okey when I click on some subcategories it gives me that subcategories and that's ...
1
vote
1answer
47 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
22 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
18 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
25 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 ...
0
votes
1answer
33 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 ...
0
votes
0answers
14 views

Error 404 in another pages_link

I have a problem with pages_link following: please check below link: http://targetino.info/author/markazishop/?type=listings and my problem is that when we link to page 2 or high pages as below link ...
0
votes
0answers
102 views

User locked out of Wordpress site trying to access autodiscover.xml

I have a Wordpress site with iThemes Security. A lot of requests are made for https://domain/autodiscover/autodiscover.xml which eventually leads to some IP's being banned for to many 404's. What is /...
0
votes
1answer
41 views

Archive URL returns 404 error for Custom Post Type

Having issues with a custom post type that returns a 404 error when I visit the archive page. get_post_type_archive_link() for the post type (called project_profiles) returns the URL mysite.com/...
0
votes
0answers
25 views

add_rewrite_rule returns 404 in parameter validation

Suppose I want to create a new rewrite rule like the following: add_action('init', 'fffl_router_add_rewrite_rules'); function fffl_router_add_rewrite_rules() { add_rewrite_rule('books/([^/]+)/?$',...
1
vote
0answers
29 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
27 views

How do I fix my 404 error

I hope you can help I changed my website url from http://www.dynotorque.co.uk to https://dynotorque.co.uk without getting an SSL cert. After this my website would no longer load and all i would ...
0
votes
0answers
56 views

How can I fix 404 errors after csv import of job posts?

I have used WP All Import to import a csv file with 610 job posts. All the jobs load into the site but when I click on the jobs in the front end of the site from the jobs listing page i get a 404 ...
0
votes
0answers
24 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
16 views

page/2 returns 404 in authors.php

I have a wordpress website. I have two user roles. one is "author" and another is "team_member(which is created using user role editor plugin)". Now pagination is working fine for role("authors") but ...
0
votes
0answers
21 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
164 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
26 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. ...
0
votes
0answers
65 views

Permalink Issue: Custom URL results in 404

I'm aware this issue has many question threads but none have been able to fix my specific problem! I've got a apparently common issue - whenever I try and adjust my ugly URLS to nice clean custom ...
1
vote
0answers
28 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
120 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
18 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
102 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
16 views

404 after deactivating plugin when troubleshooting “access denied”

I was initially seeing "access denied" when trying to access my domain. Couldn't view the website OR Wordpress admin. To troubleshoot, I manually deactivated all plugins by renaming the directory in ...
0
votes
0answers
17 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
25 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
58 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
51 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
1answer
120 views

Wordpress 404 error while type wp-login , wp-admin

I try Every Single Solution, Delete Htaccess, Disable all plugins, Replace Salt. But it is still showing 404 errors https://lkofilmclub.com/wp-login.php?redirect_to=https%3A%2F%2Flkofilmclub.com%...
0
votes
0answers
32 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
29 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
31 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
29 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 ...
0
votes
0answers
49 views

Getting 404 error while updating or previewing post

I am getting 404 error when I hit the preview or update button on WordPress post/page. I am using WordPress Multisite (Subdomain). If I copy the URL and paste into the browser then it worked. I ...
0
votes
2answers
743 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
25 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 ...