I am using a clean install of SMF (latest version).
I link to the forum from the index page of my site. The link is set up like mysite.com/smf
More often than not I get this error Unable to verify referring URL. Please go back and try again.
Any ideas?
.htaccess
# 301 REDIRECT HTTP TO HTTPS AND WWW TO NON-WWW
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301]
</IfModule>
Thanks for that. Is that all that needs to be in the htaccess file? The issue has resolved for some users but not all.
That should fix it. Different browsers will sometimes get different results. You should ask all users to clear their browsers. If that doesn't work change copokie name, that will logout all users and they'll have to login to get new cookie.