Django - SubDirectory redirection (whitelabelling)
- or -
Post a project like this£40(approx. $50)
- Posted:
- Proposals: 4
- Remote
- #3561155
- Expired
Description
Experience Level: Entry
I have a Django site that has a portal for businesses to log into. Example URL patterns are as follows:
website.com/dashboard
website.com/company1/dashboard | website.com/company1/reporting | website.com/company1/portal
AND
website.com/company2/dashboard | website.com/company2/reporting | website.com/company2/portal
How would I redirect these, so that the company would have a custom branded 'whitelabelled' portal with a domain I own? So these URLs would appear:
domain1.com/dashboard | domain1.com/reporting | domain1.com/portal
domain2.com/dashboard | domain2.com/reporting | domain2.com/portal
However, the users should not be logged out when they return to normal pages within my website (outside of the company portal) i.e website.com/dashboard
website.com/dashboard
website.com/company1/dashboard | website.com/company1/reporting | website.com/company1/portal
AND
website.com/company2/dashboard | website.com/company2/reporting | website.com/company2/portal
How would I redirect these, so that the company would have a custom branded 'whitelabelled' portal with a domain I own? So these URLs would appear:
domain1.com/dashboard | domain1.com/reporting | domain1.com/portal
domain2.com/dashboard | domain2.com/reporting | domain2.com/portal
However, the users should not be logged out when they return to normal pages within my website (outside of the company portal) i.e website.com/dashboard
Oliver D.
100% (12)Projects Completed
12
Freelancers worked with
10
Projects awarded
48%
Last project
28 Mar 2021
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Can you use the Django sites framework/middle-ware and relative/absolute linking?
1018425
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies