0

I noticed after one of the latest updates that live preview is no longer working, I seem to have narrowed it down to htaccess file which we have modified to add a trailing slash to all urls.

e.g.

# Add trailing slash
RewriteCond %{REQUEST_URI} !(/$|\.) 
RewriteRule (.*) %{REQUEST_URI}/ [R=301,L] 

I notice in chrome tools while trying to preview I get a 400 error from the page I'm trying to preview but the end of the url is /?token=

If I comment out this section of the htaccess file, live preview works. Any idea why this is? I would like all urls to end in a trailing slash.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.