If I enable mod rewrite at the root address, how do I access other files?

Permalink
Hi guys,

I am linking a web address to a new installation of Concrete and I'm interested in enabling pretty URLs.

Asking visitors to visit mywebsite.com/mypage is a whole lot better than explaining mywebsite.com/index.php/mypage ... however, I don't really see how you manage files that aren't inside of Concrete.

What do you do when you want to go to mywebsite.com/realdirectory/realpage.html? Is this even possible, or do you need to use a subdomain or some other system of accessing those files?

Thank you!

I am setting up a site using Concrete as the



I am not sure if this sounds like a beginner's question to URL rewriting, but that this is concern that

elyon
 
jizzle replied on at Permalink Reply
jizzle
If you're using Apache, you can forward via .htaccess file.

This is what I did - my old site was in a directory called "cod". I installed Concrete5 in the root directory. Through the .htaccess file, I inserted a RewriteRule that forwarded anything in the "cod" directory to the root (Concrete) directory.

As for pretty URL's, I believe you are referring to SEF URL's, which hasn't been implemented yet.

Google "htaccess rewriterule" for docs on it.
elyon replied on at Permalink Reply
elyon
So I should create exceptions in the rewrite script -- that makes sense.

Thank you very much!