HI all
I have a CMS which uses tidy URLs. We install the CMS onto a sub domain as such:
admin.mydomain.com
All pages are then run via the following example URLs:
admin.mydomain.com/sign-in
admin.mydomain.com/page-edit
admin.mydomain.com/other-stuff/other-stuff-again
Now we have to install this on a hosting package that does not allow the subdomain to be setup in this way, essentially the hosting company has explained that their subdomain setup will be as follows:
mydomain.com/admin/
The admin folder will contain the scripts for the admin site however as our CMS uses tidy URL's the URL will always contain the word "admin" which breaks the admin system and locations of all files and folders used within it when we use PHP's Doc Root super global.
Is there a way around this maybe using htaccess or some secret PHP functionality I have never used before?!
Thanks for reading