Problems, need help? Have a tip or advice? Post it here.
4 posts Page 1 of 1
Rich text not showing, photo upload not showing and cannot create new users or basically anything other than just swap pages
I do have rewrite rules as follows
Code: Select all
#ignore admin folder
RewriteCond %{REQUEST_URI} "/couch/"
RewriteRule (.*) $1 [L]

#remove php not post
RewriteCond %{REQUEST_METHOD} !POST [NC]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php [NC]
RewriteRule ^ %1 [R,L,NC]

# To internally redirect /dir/foo to /dir/foo.php
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^ %{REQUEST_URI}.php [L]   

## hide .html extension
# To externally redirect /dir/foo.html to /dir/foo
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.html [NC]
RewriteRule ^ %1 [R,L,NC]

## To internally redirect /dir/foo to /dir/foo.html
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^ %{REQUEST_URI}.html [L] 
Couch supports its own set of rewrite rules for prettyURLs - https://docs.couchcms.com/concepts/pretty-urls.html
Using other rules is likely to break things (as seems to be happening in your case).
Ive disabled my .htaccess (commented out every line) but it still dosen't work how can i troubleshoot this issue?
Please take a look at your web browser's dev tools panel and see if any JS errors are being reported.
Let me know.
4 posts Page 1 of 1