I was having had an issue with Django on my MediaTemple hosting and the urls being affected by a certain main.fcgi
. It happened a while back, and then again recently so I decided to share the solution I found.
Simply add the following to your settings.py
file. Then restart the app and you should be good to go.
1FORCE_SCRIPT_NAME = ''