mod_rewrite / sonları JS ve CSS dosyaları

0 Cevap php

I have some problem with Mod Rewrite Rules and I think we may help me.
My .htaccess:

RewriteEngine On
RewriteRule ^img/(.+)$ http://www.dejwid.pl/demo/img/$1 [L]
RewriteRule ^(.+)$ index.php?p=$1

index.php I '/' kullanarak $ _GET ['p'] bölmek:

$params = explode('/', $_GET['']);

My problem:
if I using '/' images, js files, css files don't work.
I think the server can't find it because I'm using '/'.
If I use ',' or '-' etc. everything works great.
However I need address like this: domain/blog/123/Some-Title

0 Cevap