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
1 answer
35 views

creating account throws 404 error: Page not found

there is customer registration page where I follow this url https://blog.chapagain.com.np/magento-2-customer-image-file-upload-in-registration-account-page/ to add file upload field. It is working ...
Niraj Patel's user avatar
1 vote
2 answers
69 views

Cms no route page not working. Magento 2

A page with an invalid url should redirect to a page not found, but it throws an error TypeError: Magento\Framework\App\FrontController::processRequest(): Argument #2 ($actionInstance) must be of ...
Robinio's user avatar
  • 771
0 votes
0 answers
21 views

Redirect 404 Pages To the Homepage

We have disabled products, categories, and CMS. When we try to access the URL it redirects 404 page. I want to redirect 404 pages to the Homepage of the site.
Rana Zain's user avatar
  • 608
0 votes
0 answers
39 views

Magento admin 404 not found

I installed magento2 but when I click on admin url its redirect me to 404 page any idea?
imt's user avatar
  • 1
1 vote
0 answers
84 views

Product Detail Page getting 404 when store switch

Product detail page getting 404 error when store switch. How to redirect this 404 error page to homepage or how to fix 404 error if the product exists in that store
Chippy Ani's user avatar
0 votes
1 answer
52 views

Admin Page Error after login admin

I got 404 error after login to admin. And if click other item, it is working correctly now.
Bohdan V.'s user avatar
0 votes
3 answers
776 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/...
Msquare's user avatar
  • 8,370
0 votes
0 answers
87 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 ...
Allysin's user avatar
  • 178
0 votes
1 answer
54 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\...
Ammar Joma's user avatar
0 votes
1 answer
860 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 ...
Sarvesh Tiwari's user avatar
0 votes
0 answers
343 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 ...
Dhaval Vaghela's user avatar
0 votes
1 answer
60 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/...
MJG's user avatar
  • 1
0 votes
1 answer
35 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 ...
vincent_robot's user avatar
0 votes
6 answers
2k 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: ...
Shah Alom's user avatar
0 votes
0 answers
328 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 ...
Wwwww's user avatar
  • 1
0 votes
0 answers
328 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, '...
zus's user avatar
  • 155
3 votes
0 answers
372 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 ...
sumeet bajaj's user avatar
  • 1,266
0 votes
1 answer
36 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/...
Achille's user avatar
  • 17
0 votes
1 answer
457 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"?> <!-- /** *...
Jonathan's user avatar
  • 113
1 vote
0 answers
248 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();...
Dhaduk Mitesh's user avatar
2 votes
1 answer
1k 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 ...
Vinod Kumar's user avatar
  • 2,045
0 votes
1 answer
39 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 ...
A.sweiti's user avatar
1 vote
1 answer
465 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 ...
Alfredo Lanzetta's user avatar
1 vote
0 answers
100 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 ...
Jancy Abraham's user avatar
2 votes
0 answers
402 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 ...
Barry's user avatar
  • 587
0 votes
0 answers
112 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 ...
Shashank Kumrawat's user avatar
0 votes
0 answers
170 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 ...
Tracy Pham's user avatar
0 votes
2 answers
803 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?
Ankita Biswas's user avatar
0 votes
1 answer
159 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 ...
Rob's user avatar
  • 1
0 votes
1 answer
35 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 ...
Teja Bhagavan Kollepara's user avatar
0 votes
2 answers
200 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 ...
SebastianT's user avatar
1 vote
1 answer
520 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 ...
Adam's user avatar
  • 131
0 votes
2 answers
3k 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 ...
Mandar Parbate's user avatar
0 votes
0 answers
492 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 ...
Devanshu's user avatar
0 votes
0 answers
135 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://...
sudo55's user avatar
  • 994
0 votes
0 answers
797 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 ...
Riccardo Ronconi's user avatar
2 votes
1 answer
133 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 ...
Muhammad Hasham's user avatar
1 vote
2 answers
443 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/...
Adarsh Shukla's user avatar
1 vote
0 answers
35 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 ...
Vivek Sharma's user avatar
5 votes
2 answers
314 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
Chirag Gondaliya's user avatar
1 vote
2 answers
320 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 ...
user3091199's 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 ...
LAN's user avatar
  • 21
0 votes
0 answers
88 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.
Dilip Athreya's user avatar
3 votes
2 answers
803 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 ...
CJNotts's user avatar
  • 392
2 votes
3 answers
2k 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. ...
user72530's user avatar
0 votes
5 answers
4k 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 ...
Kees Janssen's user avatar
9 votes
7 answers
8k 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 ...
Emipro Technologies Pvt. Ltd.'s user avatar
2 votes
3 answers
11k views

How to redirect page to 404 in magento2?

I want to redirect sales/order/history page to 404 in magento2.
Rutvee Sojitra's user avatar
0 votes
0 answers
105 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.
Ardavan's user avatar
0 votes
1 answer
1k 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
niceonelee's user avatar

1
2 3 4 5