[Answer]-Issue with Django URLs on apache production server

1👍

You don’t show the code, but you are probably hard-coding the URLs in your templates. Don’t do this: you should always use the {% url %} tag to calculate them dynamically. When you do this, Django will automatically apply the base path (passed as the SCRIPT_NAME parameter in the WSGI environment) and all will be well.

Leave a comment