Magento: 404 pages showing 200 OK status - magento

I am using Magento Enterprise Edition 1.12.0.0 for my online shop.
When I am accessing a 404 url such as http://www.example.com/badpageurl then it is showing 404 no-route page with HTTP STATUS as 200 OK. Whereas it should show it as 404 not found as HTTP STATUS. Not sure what is worng, because I did no changes in code and configs.
Can anyone please help and let me know how I can fix this issue.

Related

Why I'm getting This page isn’t working currently unable to handle this request HTTP ERROR 500 in laravel dashboard?

This page isn’t working www.example.com is currently unable to handle this request
HTTP ERROR 500 in laravel site after login to dashboard. I tried with index.php and storage permission (644, 777) too but its not working till. Can anyone provide me best solution to resolve this issue. It was working well in previous server and other laravel sites migrated to same server aren't facing this issue.
Fixed this problem by adding the code below before line 325 of /public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php file
ini_set('memory_limit', '-1');
enter image description here

Joomla soft 404

I see documentation in https://docs.joomla.org/Creating_a_Custom_404_Error_Page
but the custom 404 error page doesn't make change the Google Search Console requirements, because Joomla normally redirects to 404 soft page and result code HTTP 200 OK, but it's necessarily return 404 code in protocol status code level.
How can I configure or change Joomla CMS to return 404 status code in HTTP?
A major issue in Joomla when it comes to SEO is that it doesn't return a 404 HTTP code on 404 pages, and this results in the "soft 404" errors in the Google Search Console. The right way to handle this problem is to return the 404 HTTP response in your error.php file as described here. This will ensure that your 404s are real 404s. The weird thing is that Joomla, by default, does know when there is a 404, but it returns a 200 OK instead.

302 and 301 redirecting problem , while share the link in facebook in laravel

facebook debugger error
I have a problem with laravel project. I have added the og tags in my page, but while submitting my URL the facebook or some other social media, the URL is redirecting to some other location. I don't know why its happening, please help me. its argent, note: sorry I am not good at English.
When accessing the url http://wannahelp.com/whapi/swap/sw1820104201114-pulser-150-for-sale-bangalure-sw1820104201114 I get a 302 to http://wannahelp.com/whapi and then a 301 to http://wannahelp.com/whapi/. The last one also happens if I browse http://wannahelp.com/whapi, I get a 301 to http://wannahelp.com/whapi/
Check why the first url is returning a 302. Maybe the advert is not public/enabled?
Hope this helps

How to get the admin login page in magento if it is showing 404 Error page not Found?

I am doing a project in Magento.I have uploaded the project onto the server, the front end design of the project is showing correctly but when the admin login page is retrieved, its showing 404 error page not found.I have tried many solutions shown in the links below:
Magento 404 on Admin Page
But still it is not working.Can anyone suggest a solution for this?
I had a similar issue. After moving from one server to another admin showing 404. Problem was in configuration. In System->Configuration->Web->Secure->Use Secure URLs in Admin was set to "Yes", but https wasn't configured.
I'm in table core_config_data found row with path "web/secure/use_in_adminhtml" and set "value" = 0.
The problem is not widespread, but you can check this. Hope this helps

SEOmoz shows 10k+ crawl errors - 302 redirect issue, magento 1.6 and 1.7

I have an SEOmoz account PRO and after adding the campaign and few days, crawls stats came in and with that 10k 302 redirects that shouldn't be there, there are URLS like compare product pages, enable-cookies URLs, etc. which are right now 302 that I need to get to 301. I am using magento 1.6 and on another store with 1.7 version of magento both have the same issue.
I actually followed this :
app/code/core/Mage/Core/Controller/Response/Http.php
But there is no 302 or 301 on that file what should I do? I have like 10,000 redirect crawl errors which needs to be 301 they are currently 302.
Check your cannonical url settings. Maybe MOZ massed out when see cannonical url errors.

Resources