The path to my django site is: staging.ninjawebsite.com/clients/project/ I want that to be treated as the base url. The django project is in the public_html/clients/project subfolder. Everything seems to be working fine but all links to say /city/ should go to staging.ninjawebsite.com/clients/project/city/ but it goes to staging.ninjawebsite.com/city/.
Here is my .htaccess file:
> AddHandler fcgid-script .fcgi
> Options +FollowSymLinks
> RewriteEngine On
> RewriteBase /
> RewriteRule ^(media/.*)$ - [L]
> RewriteRule ^(admin_media/.*)$ - [L]
> RewriteCond %{REQUEST_URI}!(django.fcgi)
> RewriteRule ^(.*)$ /clients/project/django.fcgi/$1 [QSA,L]
Somebody please help me! Thanks.