[ djordje @ 19.08.2006. 14:49 ] @
guglao sam dosta, ali ne mogu da nadjem resenje za problem. trenutno stanje u .htaccess fajlu je sledece: Code: Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ^domain\.com RewriteRule ^(.*)$ http://www.domain.com/$1 [R=permanent,L] RewriteRule ^cat([0-9]+)-([a-zA-Z0-9_-]+)\.php$ index.php?t=2&title=$2&id=$1 RewriteRule ^dg([0-9]+)-([a-zA-Z0-9_-]+)\.php$ index.php?t=3&id=$1 RewriteRule ^circuit-diagrams\.php$ index.php?t=1 RewriteRule ^projects\.php$ index.php?t=5 RewriteRule ^store\.php$ index.php?t=6 RewriteRule ^news\.php$ index.php?t=9 RewriteRule ^contact\.php$ index.php?t=8 RewriteRule ^sent\.php$ index.php?t=10 sve normalno radi do trenutka kada u brovser unesem direktno sledecu stvar: Code: domain.com/circuit-diagrams.php a u browseru u address bar-u se pojavi: Code: http://www.domain.com//index.php?t=1 Dakle, doda se www, ali se pojavi jos jedna crta "/" i neizmenjen deo "index.php?t=1". Sta da cinim? |