tomharto
10-21-2010, 10:58 PM
I have added this to my .htaccess file
RewriteRule ^([a-z]+)/([0-9]+)$ /bandtest/layout4/$1/$2/ [R]
RewriteRule ^([a-z]+)/([0-9]+)/$ /bandtest/layout4/index.php?page=$1&ID=$2
and it links to the correct file and the variables are correct (for my testing $1=news and $2=46) however all the image files the page contains and the css file dont load. I looked at the source and its looking for them at /bandtest/layout4/news/46/css.css, whereas it needs to be bandtest/layout4/css.css. Anyway i can fix this problem?
P.S Sorry if none of that makes sense, if it doesn't say so and ill try and reword it :)
RewriteRule ^([a-z]+)/([0-9]+)$ /bandtest/layout4/$1/$2/ [R]
RewriteRule ^([a-z]+)/([0-9]+)/$ /bandtest/layout4/index.php?page=$1&ID=$2
and it links to the correct file and the variables are correct (for my testing $1=news and $2=46) however all the image files the page contains and the css file dont load. I looked at the source and its looking for them at /bandtest/layout4/news/46/css.css, whereas it needs to be bandtest/layout4/css.css. Anyway i can fix this problem?
P.S Sorry if none of that makes sense, if it doesn't say so and ill try and reword it :)