A
A
Arsen Abakarov2016-09-07 19:47:07
Django
Arsen Abakarov, 2016-09-07 19:47:07

Django append slash and site indexing?

I have Django automatically padding the URL with a slash, or removing the slash when I request www.example.com/
How does this affect indexing? Will there be duplicate pages? Should I override APPEND_SLASH and do a 301 redirect by the webserver?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arsen Abakarov, 2016-09-07
@ArsenAbakarov

I apologize for the stupid question, I looked at the logs of the web server and django, if it is APPEND_SLASH, then there is a 301 redirect, everything is Feng Shui

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question