Drupal Multilingual Page does not show 404 on not existing subpages - drupal

I have a Webportal running with Drupal7, which is in multiple Languages. There's the Problem, that if I have the page "/test" and go on the browser to "/test/asdf" or /TeSt" I don't get a 404 - I get the page delivered as usual.
Does anyone know, why this happens?

for fixing this problem there is a module:
http://drupal.org/project/views404
http://drupal.org/node/1131834#comment-6461198

Related

404 error after checking browser cloudflare redirect url only

Hello i have 404 error every time there is a browser check and gives an address like “https://www.mywebsite.com/?cf_chl_managed_tk=pmd_lJ44g7MrHYK29BtRBtcFUNNs3Dzo_LT21.viOSdeYXY-1631907472-0-gqNtZGzNAqWjcnBszRzR” no problem if the browser is not checked.
This is done on all pages !
I use WordPress for information and the error is displayed in WordPress.
I use also Nginx.
Any help will be appreciated. Thank you
Edit: oddly in the admin it works the url "https://www.mywebsite.com/wp-admin/index.php?cf_chl_managed_tk=pmd_lJ44g7MrHYK29BtRBtcFUNNs3Dzo_LT21.viOSdeYXY-1631907472-0-gqNtZGzNAqWjcnBszRzR" is displayed then is redirected to the correct url "https://www.mywebsite.com/wp-admin/index.php"
If i desactive "Under attack Mode" all is work, but i absolutely have to keep it the site is always attacked!
Updating the plugin Hide My WP fixed the problem.

How to fix these 404 errors in WordPress?

So, I've been looking for a way to sort out these 404 errors on a WordPress site. This log is compiled using the Redirection plugin for WP. Anyway, how would you go about sorting out these 404 errors? Any advice would be greatly appreciated.
So, these mostly appear to be bots scraping the site (atleast it appears that way from the User Agent Info.) Where are they getting these URL's?
What you can do you can redirect these links to the home page best way to make it SEO friendly there are so many ways you can archive this by adding code in htaccess or this plugin can be most useful in this issue:
All 404 Redirect to Homepage
Redirect 404 Error Page to Homepage or Custom Page with Logs

How to set a 404 error page on wordpress/fishpig for magento

I've done a fully integration of a Wordpress in a Magento shop with FishPig, everything is working fine except that I can't find where or how to find/edit/set a custom 404 error page.
It's my first time using Magento and my php knowledge is very limited so any help would be much appreciated.
Btw, That's the default no-route error I get: http://doshaburi.com/blog/category/xx/
Thanks.
This isn't possible via a configuration setting in the extension. What you could do though, is include a .phtml file in your 404 page and then display a different piece of content if the URL starts with the blog route (eg. /blog/.*) to every other request.

Wordpress 404 override

I've got a Wordpress site running here which displays custom content if a page/blog post isn't found. It works perfectly on the front end - but when the site loads, it sends a 404 status for all of the custom content pages.
As a consequence, none of the custom content pages are crawled by Google, which isn't ideal.
I looked at disabling the 404 redirect function in wp-app.php (lines 1277-1286) but this didn't solve the problem. I'm wondering if the status_header function (line 1652 onwards in wp-includes/functions.php) would be a better place to go, but I've had no luck with it either.
Anyone come across this, and could anyone offer any ideas?

WordPress home page 404 HTTP Code, but content is sending correctly ?

I have a WordPress installation. The problem that I have is the following:
The home page while served normaly, content, images, HTML, anything are served correctly the HTTP Status Code is 404. Any other page is served with normal HTTP Status 200. The only page that served with 404 is the home page.
Any idea on how to solve that problem please ? :?
OK. We solved the problem.
For some reason the mod_secure made that problem. We disabled it just for check and we found that was the problem !!!
Thanks a lot all of you !

Resources