Nell'htaccess ho la condizione che fa subito il rewrite per php per wordpress, a me però serve che mi faccia il rewrite immediatamente di tutti i file che io carico da un'altra cartella che non sia BLOG.
Esempio ho la mia carte MIAPROGETTO e dentro ci sono i file .php .css .js .xml .png .jpeg .wsdl ....Adesso mi carica aggiorna immediatamente appena carico in ftp solamente il .php ed il .html non mi carica esempio le modifiche al css ed al .js
Ho provato a mettere questo nell'htaccess ma non funziona
Vecchio codice
Al posto di queste due condizioni ho sostituito conCodice:<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
Ma non va.....Non carica i js i css niente solo il phpCodice:# Turn on URL rewriting RewriteEngine On # Installation directory RewriteBase / # Protect hidden files from being viewed <Files .*> Order Deny,Allow Deny From All </Files> # Protect application and system files from being viewed RewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L] # Allow any files or directories that exist to be displayed directly RewriteCond ${REQUEST_URI} ^.+$ RewriteCond %{REQUEST_FILENAME} \.(gif|jpe?g|png|js|css|swf|php|ico|txt|pdf|xml)$ [OR] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d [OR] RewriteCond %{REQUEST_FILENAME} -l RewriteRule ^ - [L] # Rewrite all other URLs to index.php/URL RewriteRule .* index.php/$0 [PT]

LinkBack URL
About LinkBacks




