I'm having an issue with a 404 error that appears after creating a new article entry, or editing a template.
I recently upgraded my website to the latest version of ExpressionEngine, following the official guide step by step. Before the upgrade this problem was still present but instead of getting a permission denied or a 404 I got a message pop-up about disallowed characters. Except after the upgrade, the problem has changed.
I have a large article write-up I have spent some time on, and when I went to submit the article the article I used to get a disallowed character alert, despite not using any disallowed characters (as far as I was aware). After my upgrade to the latest ExpressionEngine, I now receive a 404 error (I disabled CloudFlare to get a better error).
Similarly, there have been a few changes to my template, introducing some new items and changes to the CSS theme. However, when I edit a template or even just save it without making changes, I'm redirected to my website 404 page.
Excluding the update the only change I have made of significance is a change to my .htaccess file to redirect any visitors without a subdomain to the www subdomain.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
# Replaces all non-subdomain connections with a www subdomain.
RewriteCond %{HTTP_HOST} ^bowl-of-soup\.co.uk$ [NC]
RewriteRule ^(.*)$ http://www.bowl-of-soup.co.uk/$1 [R=301,L]
# Removes index.php from ExpressionEngine URLs
RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
RewriteCond %{REQUEST_URI} !/system/.* [NC]
RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L]
# Directs all EE web requests through the site index file
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
Long story short I am getting 404 errors when I edit my template or my articles, and before that I was getting disallowed keys error. Does anyone know what could be causing this problem?
Edit (6/12/2014)
I opened up my normalize.css file and without changing anything submitted it and it triggered a 404. However, I ran the CSS through a CSS clean-up tool and saved it again, this time it passed through, and any saves and changes made are accepted by the system.
I've been trying to insert characters that were unique to the CSS before I cleaned it up, but none of them seem to trigger the 404. I'm not sure this is a .htaccess issue any more, as I was getting Disallowed key characters before. Is there a page associated with this error? I suspect during the upgrade whatever code displays that error has been corrupted. Otherwise, the disallowed key characters is causing my issues.
For reference:
Adding this unminified CSS (normalize github) will trigger a 404 (possible disallowed key characters)
I removed the comments and this version (my website cleaned version) was accepted by my system.