My 404 page in wordpress not show - wordpress

my 404 page in my site in Wordpress not show when user type a incorrect address and show a page with widget and other thing.
i use a custom permalink %postname% before this change 404 work correctly but after change my permalink not work.
can any one help me wordpress doc cant help me.
sorry for my bad english

I change my permalink to %postname%.html and 404 page work correct

Related

Why can't I set the permalink of a custom 404 page to /404?

When I set the custom 404 error to point to a custom 404 page named "404", it gets the job done and displays this page when it should correctly.
I'm just curious why am I not able to set the permalink of that page to /404/? It forces it to 404-2, but I don't have any other permalinks set to /404, and the /404 page does not exist when I navigate directly to that URL. Is it some kind of a reserved permalink maybe? Do I need to remove the original WP 404.php page from the server or something?
Thanks!

How to fix permalink - ?q=%2F appears in link not working wordpress

When I'm adding a page to my website ?q=%2F appears in the permalink and the page is redirecting to 'home'. I tried to change the permalink structure and did some changes to solve this in the .htaccess file but nothing worked so far. Is anybody known with this problem and how to solve this?

changing permalink causes 404 on visiting blog in wordpress

I am changing permalink structure from
http://www.example.com/blog/index.php/2017/04/17/reasons-high-anxious-levels/
to
http://www.example.com/reasons-high-anxious-levels/
by going in settings>permalinks>change URL structure.
And on visiting to blog then it redirects me to 404 error page.
Please suggest how to achieve this
You can use SEO Redirection for the url's you have changed. You can use the plugin
https://wordpress.org/plugins/seo-redirection/

How to change wordpress permalinks without give 404 error?

i want to change my wp post permalinks from:
/post/%post_id%.php
to:
/%post_id%/%postname%
But it makes 404 errors from last post links. How can i fix it?
i used this Plugins:
Dean's permalink migration,
Simple 301 Redirect And
Change Permalink Helper
But They do not work or work incompletely. please help me.
Thanks

Permalink Redirect from /%postname%/ to /%postname%.html in Wordpress Hosted Blog

I've just changed my permalinks from /%postname%/ to /%postname%.html
So, links which are in /%postname%/ are showing 404 error.
I want to redirect those links to /%postname%.html in order to avoid 404 error page.
Changing the permalink settings with extension will effect only in posts, not in pages. In many instances like this I always use this plugin http://www.introsites.co.uk/wordpress/html-on-pages-plugin.html, it is a short plugin and editable, you can change the extension (.html) to many other like: .asp, .shtml, etc.
But please note: if you do an edit to your permalink setting please deactivate the plugin and activated it again when your done. Because if you change the permalink setting and didn't deactivate and activate this plugin all the page will appear as not found.
You can see the plugin stats http://wordpress.org/extend/plugins/html-on-pages/stats/ to see how many people used the plugin.

Resources