We are using our website without trailing slash (and need to go on without slash...) and have problems with duplicate contend cause you finde all pages also like this: www.domain.com/site1/?url=/site1/
how can we remove it? Any idea?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Now it works with :
RewriteCond %{THE_REQUEST} \?url=(.*)\sHTTP [NC]
RewriteRule ^ %{REQUEST_URI} [L,R=301,QSD]
in htaccess