Pretty Urls problem

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
brando
New Member
New Member
Posts: 4
Joined: Sat Nov 09, 2013 1:44 pm

Pretty Urls problem

Post by brando »

Hello,

My problem is that I have a directory on the server with CMS Made Simple and .htaccess file redirects to this directory (this works well). CMS Made Simple also works well, but in the address appears in the name of the directory. For example: domain.com/subdirectory/subpage. I would like to remove a subdirectory of the address. How to do it?

Sorry for my bad english.

Regards,
brando.
psy
Power Poster
Power Poster
Posts: 463
Joined: Sat Jan 22, 2005 11:19 am

Re: Pretty Urls problem

Post by psy »

brando
New Member
New Member
Posts: 4
Joined: Sat Nov 09, 2013 1:44 pm

Re: Pretty Urls problem

Post by brando »

Thanks, it works, but not quite. It's the fault of my server - its architecture does not allow you to use the tmp directory :( Through this page does not load css styles. You can rename the tmp directory, eg. to temp?
psy
Power Poster
Power Poster
Posts: 463
Joined: Sat Jan 22, 2005 11:19 am

Re: Pretty Urls problem

Post by psy »

Did you clear the cache?

Also remember to change the htaccess file to show your sub-directory name where I used 'cms' and update your config.php file $config['root_url'] to show your top level domain name.
brando
New Member
New Member
Posts: 4
Joined: Sat Nov 09, 2013 1:44 pm

Re: Pretty Urls problem

Post by brando »

Yes, I cleared the cache and did everything that was given in this manual. Everything works as it should only be a problem with loading the css styles. My hosting also uses tmp directory and here is the problem. Is there any way to change the name of the tmp directory?
Post Reply

Return to “The Lounge”