changing store on internal pages give 404 in magento. like if I am on a category page of english store - http://luxecoat.nextmp.net/english/men/leathers.html
and now when i change the store it gives me 404 error.
Related
I am working on odoo 10. What i want to do is simply show 404 page like we show in other website if the requested page doesn't exist.
I am sending email to client and in that email template there is a link to record but some times users with upper user roles deletes that specific record due to some reason. I want to show 404 page in this case.
You can just return website page 404 according to our condition.
return request.render('website.404')
I have 2 store view currently, English and Indonesia
Added 1 page each for English and Indonesia respectively.
See Image 1:
See Image 2 :
On frontend, when I switched the store view, it returns a 404 error page. Any errors in my configuration?
You are getting 404 error Because you have different URL key. Once you have URL key same, it will work fine.
I've translated a whole webshop for a customer. The only page I still need to translate is the '404 not found' page. But I can't find it anywhere on my server.
Does someone know where the 404 page is located.
I'm talking about .csv files here.
For Magento 2:
The 404-page is located in Content > Pages, with title 404 Not Found.
Picture of Magento 2-menu
Within the Stores > Configuration > Web, you set which page to load when encountering a 404-error. The default is the "404 Not Found".
Picture of Magento 2-settings for selecting 404-page
To translate, there are then two options, 1) Edit existing 404-page. 2) Create a new page and select it as the default 404-page in the Store configuration. In these settings, make sure to select the appropriate store scope.
For Magento 1:
Process is similar, "404 Not Found" page can be found in (menu) CMS > Pages. The settings to select which page that gets delivered as the 404-page is in (menu) System > Configuration > Web, and search for "CMS No Route Page".
To get 404 page in magento
You have to create 404 page with url key as no-route on magento backend.
You can create custom html contents/designs for 404 page on the editor itself.
I would like to translate Magento CMS pages with URL rewrites. When I change the language from English to Thai for the same page, I get a 404 Not Found error. I was able to reproduce this error with these steps:
I visit the Thai "Contact Us" page (http://n3mtrading.com/thai/contact-us.html) without any problems.
When I switch the language from Thai to English, the URL will redirect from http://n3mtrading.com/default/contact-us.html to http://n3mtrading.com/default/contact-us-eng because I used URL rewrite.
If I click the language bar's link for Thai (http://n3mtrading.com/thai/contact-us-eng?___from_store=default), I will get a 404 Not Found error.
How can I fix this 404 Not Found error?
You have to set one more URL rewrite for the English store view which would say:
If from English store view, default/contact-us.html is accessed,
please redirect to default/contact-us-eng.html
Go to Catalog/URL Rewrite Management > Add Rewrite > Custom
Choose Store as English storeview
Enter any unique ID path
Enter default/contact-us.html in request path
Enter default/contact-us-eng.html in target path
Redirect - Yes
I know you can create and customize 404 pages directly within the Magento backend. However, I am wanting to completely use my own 404 customized page and was wondering how to do this.
I have created a 404.html file and added it in the root of my magento installation. However, I don't see in the .htaccess file how magento currently is redirecting the 404 to the CMS 404 page. How can I have it redirect to my custom 404 html file instead without causing some sort of never ending redirect loop?
Thanks!
404 page set from backend
System>Configuration>General>Web>Default Pages > YOU CAN FIND CMS No Route Page which will be default Magento CMS PAGE 404
for custom 404 page you have to create new cms page and you have to call your CUSTOM.phtml file in your new cms page after then go to the
System>Configuration>General>Web>Default Pages >CMS No Route Page > you can see your cms page and set your page as 404 page
I know it is quite an old question, but I've found the answer in this tutorial: http://alanstorm.com/magentos_many_404_pages
It explain very well how to make really custom 404 error page.