PDA

View Full Version : styling gone after mod_rewrite


Jacobb123
12-15-2007, 09:28 AM
I have done a mod rewrite for a page and the rewrite works but all my styling disappears on my page. it's as if the it is straight HTML and no css. I have never seen this before and am wondering if anybody has come up against this.

GJay
12-15-2007, 09:54 AM
are the paths to the CSS files correct for the rewritten url? View the HTML source and compare the 'href' to the path they should be at.

Shoot2Kill
12-15-2007, 10:49 AM
post a link to a live copy, or post the code here, we will be able to help you more

Zefris
12-15-2007, 04:37 PM
I ran across a problem like this before, its probably what GJay said, its most likely rewriting the paths to the CSS files too... ;D

Jacobb123
12-15-2007, 07:40 PM
It was the rewriting path. I didn't realize that I had to rewrite the path to the css files. It works now. Thanks