[Answered ]-Django auto redirecting to url folder of a different project

2👍

Try to clear your browser cache completely, it should work.

See that related question.

0👍

If both projects use the same dependencies and are in the same directory structure, you need to import your old_project urls into new_project/url.py file and add the old urls into urlpatterns list.

If they have different dependencies, then everything is in your deployment configuration. Web server should be configured to run one or another project depending on what url the client ask for. How to do it changes a lot depending on your infrastructure, web server, etc. so you would need to be more specific.

Leave a comment