HELP: URL rewriting and virtual directories.

Status
Not open for further replies.

g1c9

Narcissist
Jun 26, 2006
1,323
58
0
MERICA
Ok heres the deal, the site is www.FunnyAways.com

Here is my .htaccess:

Code:
RewriteEngine On
RewriteRule ^home/$  index.php?section=home [L]
RewriteRule ^funny-away-messages/$  index.php?section=aways
RewriteRule ^submit-a-funny-away-message/$  index.php?section=submit [L]

RewriteRule ^funny-away-messages/page-[0-9]-of-funny-away-messages/$  index.php?section=aways&page=$1 [L]

Anyways I just want it to look like those directories but its actually just the index file and some misc. arguments..

But it can't find the css file, (in root dir) or images.. etc.

so whats up and how do i fix it.
 


Just a quick suggestion, if the files that you are using rewrite on can't find your css file, try linking the entire dir path in those files. i.e. if the css file is in your root folder instead of "style.css" try /root_folder/style.css" to make sure its looking in the right place.
 
Status
Not open for further replies.