404 page isn’t working anymore because of plugin
-
Hello,
I recently noticed that whenever i enter a (guaranteed) false url, i’m not getting the custom 404 page i made. I found out it has something to do with the htaccess file, because if i remove the lines that the plugin makes here the custom 404 works again.
Also if i deactivate the plugin, the custom 404 works again.
So now i have to choose between either custom admin & login url and no custom 404 page, OR standard admin & login url and a custom 404 page..I assume that is not the choice you want to give the users who use your plugin.
I’ve tried really many things to fix this and in some cases it only makes it worse.
Some of the things i’ve tried:
– add the standard wordpress htaccess rules in a separate mod.rewrite
– defining 404 errordocument / page in htaccess file
– Did what this guy said near the bottom. But not copy-paste. I added the lines:
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
– and some more thingsIt could also be that the plugin is in conflict with an other plugin i’m using, but im not sure which one. If needed i can provide a list of plugins i’m using.
Any solution here would be very much appreciated. I just want my custom 404 page to work and have custom admin & login urls.
If you want to see which 404 page it is rendering now, take a look here
PS Im not talking about the ‘Redirect hidden paths:’ option under the advanced tab. This one is also set to ‘front page’ and this one actually works.
- The topic ‘404 page isn’t working anymore because of plugin’ is closed to new replies.