This question may be related to a resolved thread.
Hello - I’m having this same issue with comments, which seem to have stopped submitting when I updated to 2.2. - it’s related to us forcing a trailing slash on URLs, which is crucial for our SEO (when I remove the offending 3 lines, the comment submission works, but we’re obviously losing our trailing slashes).
There’s a specific reference to CI here: https://github.com/paulirish/html5-boilerplate/wiki/proper-usage-of-trailing-slash-redirects
This code works sitewide, but doesn’t seem to like our comments (the comments don’t get submitted):
RewriteBase /
# Add www at start of URLs
RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC]
RewriteRule ^(.*) <a href="http://www.mysite.com/$1">http://www.mysite.com/$1</a> [L,R=301]
# Force trailing slash on URLs
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/|#(.*))$
RewriteRule ^(.*)$ $1/ [R=301,L]
# Remove index.php from job board
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^jobs/(.*)$ jobs/index.php/$1 [L]
# this gets rid of index.php elsewhere
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1Do you have any suggestions for the correct htaccess setup for this one? As I said, it’s really important that we have this working again.
Thanks!