Questions tagged [404-page]

Denotes questions related to 404 error page. The 404 or Not Found error message is an HTTP standard response code indicating that the client was able to communicate with a given server, but the server could not find what was requested.

Filter by
Sorted by
Tagged with
0 votes
3 answers
126 views

Upgrade magento 2.4.3 to 2.4.4 get 404 Note Found

I run the below commands. after that in the terminal, Magento commands run well but on the other end, it's given me a 404 Not Found error in the browser frontend and backend. composer require magento/...
user avatar
  • 5,795
0 votes
0 answers
28 views

Error 404 on a specific product page

Magento 2.4.2-p1 Smartwave Porto theme Amasty extensions I have a product on the front page and when I click on it, I get the Magento 404 page (my store's header and footer and in the body 404 on our ...
user avatar
  • 306
0 votes
0 answers
6 views

Getting Error404 on specific product pages coming up from Google after migrating from M1 to M2. How to best determine the old URLs and set up forward?

Magento 2.4.2-p1 migrated from Magento 1.9.4 Smartwave Porto theme extensions from Amasty We migrated from Magento 1.9.4 to Magento 2.4.2-p1 using the Magento Migration tool. Everything works except ...
user avatar
  • 306
0 votes
0 answers
107 views

Magento 2 when press back button on product details page URL changes with 'undefined' keyword for specific devices

I am using Magento 2.3.6 Instance for my live website. When pressing the back button from the product detail page in the browser takes me to the 404 page not found page. I checked for the URL ...
user avatar
0 votes
1 answer
21 views

admin/ custome controller returns 404

I'm trying to create an admin route and the directories are: app/code/<my_company>/<my_module_name>/Controller/Adminhtml/Index/Index the code is namespace Mastering\SampleModule\...
user avatar
0 votes
1 answer
102 views

404 Not Found after installing fresh Magento 2.4.2

I installed Magento 2.4.2 successfully, but after installation home page gives error: 404 not found. Please suggest a solution for this. I have used PHP -7.4 Mysql - 8.0 Nginx 1.18.0 The following is ...
user avatar
0 votes
0 answers
58 views

Magento 2: 404 for all pages in latest magento 2.4.2

I have setup the latest Magento 2.4.2 in the local system. Now it's showing me 404 to all pages if I access the URL without index.php admin URL also not working with & without index.php I don't ...
user avatar
  • 1,002
0 votes
1 answer
21 views

404 after login in on adm panel (Magento 1.9.4.5)

Friends, I'm always landing on a 404 page after trying to log in on my adm panel. I've realized that I'm being redirected to the following url after logging in: https://my_domain/index.php//index/...
user avatar
  • 1
0 votes
1 answer
26 views

404 error on specific admin page

This is my first question on the forum, so please bear with me : Working on migrating a magento store using version 2.3.5 with imported data form a 1.9.3 magento store. The problem I am having is that ...
user avatar
0 votes
6 answers
735 views

Magento 2 Fresh Install Showing 'Whoops, our bad...' 404 page not found

After install very fresh Magento 2, I am seeing Whoops, our bad... (404 Not Found) in all pages. Screenshot: I am using Linux Mint OS. Here is my steps: Installed Apache version is apache2 -v: ...
user avatar
0 votes
0 answers
99 views

Magento2 : How to send a request for a page and get the page status?

I want to check if the status of the page is not 200, then add it to the array along with the status and send it to the mail at the end of the script I can't finish the code, tell me how to implement ...
user avatar
  • 1
0 votes
0 answers
226 views

Magento 2 controller return 404 error

C:\xampp\htdocs\m2\app\code\Vendor\Mymodule\registration.php <?php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE, '...
user avatar
  • 95
3 votes
0 answers
255 views

Magento 2 404 page is redirecting to catalog search page

Magento 2 404 page is redirecting to the catalog search page. Example- www.abc.com/test123 it will redirect to the 404 page but it is redirecting to www.abc.com/catalogsearch/result/?q=test123 How to ...
user avatar
  • 1,143
0 votes
1 answer
29 views

404 Page Categories Not Found

We have problems with page 404 page and our URLs have two formats without knowing why. See the example below. www.mywebsite.com/catalog/category/view/s/herboristerie/id/419/ (Okay) www.mywebsite.com/...
user avatar
  • 17
0 votes
1 answer
240 views

Magento 2 Custom Admin Sub Menu Redirects to White Blank Page!

I created a Module and I am getting this 404 page error after I hit the submenu link. Here is the code. I can not figure out what is wrong. acl.xml <?xml version="1.0"?> <!-- /** *...
user avatar
1 vote
0 answers
148 views

Magento 2.4 - No route 404 page loading with product page issue

I redirecting 404 not found page to product page using controller_action_predispatch_cms_noroute_index event observer. Observer: $request = $observer->getData('request'); $request->initForward();...
user avatar
2 votes
1 answer
699 views

How to redirect to specific category if product url is 404 due to product disabled in magento 2.3?

If I have disabled any product then it will redirect to 404. But I want to redirect that product url from 404 not found page to the category url in which this product is assigned. That means I want to ...
user avatar
  • 1,967
0 votes
1 answer
27 views

Al magento 2 pages not found after successful installation

Installed Magento 2.3.0 on locally using Xampp, after installation and setup success, niether homepage nor admin page are found. Giving 404 error. I went through enabling rewrite mod in apache conf ...
user avatar
1 vote
1 answer
183 views

How set 404 HTTP response status from a block?

I'm trying to set 404 HTTP response status from a block's function. With this code works http_response_code(404); exit; but no way to to set the 404 status without exiting, i've found only ...
user avatar
1 vote
0 answers
46 views

Magento 2 How to create and load custom route page

I want to add a custom redirect type 410 in URL redirect. I have added this in admin section and configured some pages with 410 redirect. Now I want to check the redirect type is 410 and if it is ...
user avatar
2 votes
0 answers
267 views

allow any php script instead of 404 page?

I am trying a new local development method on windows using magento 2 on vagrant on windows and it's up and running. Now I'm trying to add xdebug with PHPstorm but it's unable to "see" an uploaded ...
user avatar
  • 587
0 votes
0 answers
88 views

Magento2.2.2 admin URL shows 404 at local server

I have setup a Magento2.2.2 store from LIVE to LOCAL. Now frontend is working but admin login URL shows 404 Not Found error. Not Found The requested URL was not found on this server. What I have ...
user avatar
0 votes
0 answers
117 views

Disable log setting in Magento 1.9 then the URL admin page returns 404 error

Hi I just disabled log setting in Magento 1.9 in admin dashboard: system-> configuration -> advanced -> developer -> log settings and change "enable log settings" from Yes to No. After that, the ...
user avatar
0 votes
2 answers
489 views

Magento 2 - Custom 404 page for disabled products

In Magento 2 I am looking to create a module that adds a custom 404 page specifically for disabled products from Magento Admin. Can anyone help me how I can proceed to get the desired output?
user avatar
0 votes
1 answer
97 views

Add a "Reload This Page" button on Front End

for some reason our product pages like to redirect to the 404 page not found every now and again but this is usually resolved by refreshing the page. Unfortunately not everybody is going to know this ...
user avatar
  • 1
0 votes
1 answer
34 views

Magento2.3.2: Why deleted urls coming again and again

My website is Depoto I have some categories, products, Static blocks and cms pages. I deleted some of the pages and etc. I was using Magecomp's 404 notifier extension. There I am getting 100's of ...
user avatar
0 votes
2 answers
179 views

Disable page for not logged in users

How to show 404 for the unlogged user instead of page? For now, I have: when the user is not logged the page link does not show in the main menu. But when I type the URL (page.com/my_page) I get ...
user avatar
0 votes
1 answer
383 views

Magento 2 All Links Give 404 Not Found

So I’ve just migrated a magento store over to a new server. Gone through the standard setup procedure of copying the html files, updating the host url in the database and modifying my db details in ...
user avatar
  • 121
0 votes
2 answers
2k views

Magento 2 : How to forward controller defaultNoRoute?

I create a custom module in which if data is found the template is shown else I need to show default 404-page content & set the status to 404. I have tried below code to set the status to 404 ...
user avatar
0 votes
0 answers
421 views

Magento 2.3.1 not allowing javascript code

I am setting up my store on latest Magento 2.3.1 CE edition. Apache version: Apache/2.4.39 PHP version: 7.2.18 MySQL version: 10.1.40-MariaDB. Also I am using Porto theme. There is a strange ...
user avatar
0 votes
0 answers
122 views

Contact page 404 error magento 2

When ever i open contact us page it gives 404 error on white screen like this http://prntscr.com/nv27xs the page is enabled form configuration. by default 404 error page is like this http://...
user avatar
  • 964
0 votes
0 answers
438 views

Magento 2 - 404 on category page if said category has no products

I've got a problem with category pages: whenever a subcategory has any number of products inside, then the category page works. But, if the subcategory is empty, it just returns 404, not "no items in ...
user avatar
2 votes
1 answer
116 views

Magento 2 - Frontend Controller conditional based 404 page

I have custom frontend controller, I added the URL Rewrite for this controller I want to figure out the way, How I send requesting URL to 404 page based on some condition within the controller. I ...
user avatar
1 vote
2 answers
185 views

getting 404 on system configuration

I am using Magento 1 to create a system configuration left menu is created successfully but when I click on that getting 404. what I have tried Re-logging into the dashboard. Using ACL. Clearing var/...
user avatar
1 vote
0 answers
33 views

Issue with store frontend view

I created stores with script in Magento 2.1 But I face an issue when I tried to access the store it returns 404 pages. I tried to create a store from admin, and the store i created from admin. It ...
user avatar
5 votes
2 answers
298 views

Product pages throws 404 page not found after data migration from 1.6 to 2.3.1

I migrated site from Magento version 1.6.2.0 to Magento version 2.3.1 afterwards when I open all product shows 404 page not found error in front-end
user avatar
1 vote
2 answers
254 views

404 after running setup:di:compile, need to always run chown -R root:www-data . afterwards

I have noticed that from time to time my Magento installation shows 404 on all pages. Panic! After doing some research I found out that running: chown -R root:www-data . in the document folder solved ...
user avatar
2 votes
1 answer
35 views

Got 404 Not Found from nowhere (I guess)

So I was working fine with my site and my admin panel, but today I wanted to access my frontend and I see this And in the tab I see I can't neither access the backend. What can be happening? Thank ...
user avatar
  • 21
0 votes
0 answers
51 views

Not able save anything from admin redirecting to 404 page

Not able save anything from admin redirecting to 404 page. If I save any blocks or cms pages it is redirecting 404 page.How to fix this issue.
user avatar
  • 161
3 votes
2 answers
616 views

Cannot select conditions for Cart and Catalog Price Rules

I currently have a problem with Magento 2 (2.2.7) where I cannot select conditions in the Catalog or Cart price rules. This problem also occurred on Magento 1 and seems to have migrated across along ...
user avatar
  • 350
1 vote
2 answers
1k views

404 for pub/static files

After installing Magento 2.3 on the server, when I run the URL I am receiving 404 for pub/static. I have given proper permission to magento folders. Also set ownership to apache for the codebase. ...
user avatar
0 votes
4 answers
3k views

Magento 2.2.5 can't find sitemap while it is generated

I'm struggling with an weird issue. I can't make any custom files / folders in my root of magento. I want to make a custom folder with some images, resulating in 404 errors when trying to reach the ...
user avatar
9 votes
7 answers
7k views

Magento 2.3 - homepage redirect to 404 page not found

Magento 2.3 homepage returns a 404 Page Not Found error. This only occurs when not logged in. After logging in, the homepage works properly. (It seems to work in mobile view even when returning a 404 ...
user avatar
2 votes
3 answers
8k views

How to redirect page to 404 in magento2?

I want to redirect sales/order/history page to 404 in magento2.
user avatar
0 votes
0 answers
82 views

Magento homepage redirects to 404 page not found

After reindexing, when entering the homepage url, I'm redirected to 404 page not found. I have checked configuration/general/web and everything seems to be working there.
user avatar
0 votes
1 answer
811 views

Admin 404 Error after saved

Using Magrento 2.3 Admin back-end 404 Error after saved. 404 Error Page not found. Need to refresh can save everytime, how to fix it? Thank you
user avatar
1 vote
0 answers
29 views

When I add product from backend I got this

I am using Magento 2.2.6 When I add product from backend I got page like shown in below image. Is it any known issue in Magento 2.2.6 or any cache related issue?
user avatar
  • 553
0 votes
2 answers
1k views

Shipment view page 404 error

I have migrated data from magento 1.9 to magento 2.2.4, Now in admin when i view shipment under sales -> Shipments it gives me 404 error. How am i suppose to debug? I have checked the .phtml file from ...
user avatar
  • 3,446
0 votes
1 answer
135 views

get page url when 404 pages called

I want to log all 404 page in magento 1.9. we want if url contain a word,the page should redirected to specific page I have rewrite Mage_Cms_IndexController noRoute Method, But i dont know this ...
user avatar
  • 53
0 votes
1 answer
410 views

How to repair Web Setup Wizard redirecting to 404 Not Found in Magento CE 2.2.5/2.2.6?

This is a very critical issue. I recently upgraded from Magento CE 2.2.5 to CE 2.2.6 using the Web Setup Wizard. The upgrade went fine and the site is working. When I try to access Web Setup Wizard ...
user avatar
  • 101

1
2 3 4 5