Nginx icin wordpress rewrite uygulamasi icin yardim!
2
●848
- 12-07-2010, 15:42:26su modul
http://wiki.nginx.org/NginxHttpRewriteModule
buda converter buyrun
http://www.anilcetin.com/convert-apa...cess-to-nginx/ - 12-07-2010, 19:39:50Üyeliği durdurulduconverter duzgun calisiyormu emin degilim birde siz deneyip dogrulugunu veya yanlisligini belirtirmisiniz.Gizlen adlı üyeden alıntı: mesajı görüntüle
.htccess:
# BEGIN W3 Total Cache <IfModule mod_setenvif.c> SetEnvIfNoCase Accept-Encoding (gzip) APPEND_EXT=.$1 </IfModule> <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_URI} \/$ RewriteCond %{REQUEST_URI} !(\/wp-admin\/|\/xmlrpc.php|\/wp-(app|cron|login|register).php|wp-.*\.php|index\.php) [OR] RewriteCond %{REQUEST_URI} (wp-comments-popup\.php|wp-links-opml\.php|wp-locations\.php) [NC] RewriteCond %{REQUEST_METHOD} !=POST RewriteCond %{QUERY_STRING} ="" RewriteCond %{HTTP_COOKIE} !(comment_author|wp-postpass|wordpress_\[a-f0-9\]\+|wordpress_logged_in) [NC] RewriteCond %{HTTP_USER_AGENT} !(bot|ia_archive|slurp|crawl|spider) [NC] RewriteCond /home1/kuaza/public_html/wp-content/w3tc/pgcache/$1/_default_.html%{ENV:APPEND_EXT} -f RewriteRule (.*) wp-content/w3tc/pgcache/$1/_default_.html%{ENV:APPEND_EXT} [L] </IfModule> # END W3 Total Cache # File modified on Thu Apr 22 11:41:59 2010 by server # For security reasons, mod_php is not used on this server. Use a php.ini file for php directives # php_flag display_errors off # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress