
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress.htaccess de yazılı olanlar bunlar.
15
●1.529
// Some PHP setups turn requests for / into /index.php in REQUEST_URI
// See: http://trac.wordpress.org/ticket/5017
// See: http://trac.wordpress.org/ticket/7173
// Disabled, for now:
// $original['path'] = preg_replace('|/index\.php$|', '/', $original['path']);3. Bu satır bloğunda en alt satırdaki not işaretini kaldırın... Yani şu hale gelecek o bölüm:// Some PHP setups turn requests for / into /index.php in REQUEST_URI
// See: http://trac.wordpress.org/ticket/5017
// See: http://trac.wordpress.org/ticket/7173
// Disabled, for now:
$original['path'] = preg_replace('|/index\.php$|', '/', $original['path']);4. Şimdi de yine aynı dosya içerisinde 207.satıra gidin yada şu kodu aratın:// trailing /index.php
$redirect['path'] = preg_replace('|/index.php/*?$|', '/', $redirect['path']);5. Bu kodu da aşağıdaki şekilde değiştirin:// trailing /index.php
$redirect['path'] = preg_replace('|/index.php/$|', '/', $redirect['path']);