wordpress permalinks

#1
trying to get the following rules to work
RewriteEngine On
RewriteBase /index.php/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ./index.php/index.php [L]

This is the permalink structure i'm using in wordpress
/archives/%year%/%monthnum%/%postname%.html


but seems that when i even try the basic things like accessing wp-admin goes to blank white screen archives or any other section any ideas?
 
Last edited:
#3
Here's what the log shows

2007-02-15 09:57:26.595 INFO [75.44.191.128:2275-0#celebitchy.com] [REWRITE] Rule: Match '/index.php/archives/2007/02/are_tom_cruise_and_katie_holmes_fighting_over_suri.html/7/' with pattern './index.php/index.php', result: -1
2007-02-15 09:57:27.418 INFO [72.157.177.37:38061-0#celebitchy.com] [REWRITE] Rule: Match '/' with pattern './index.php/index.php', result: -1
2007-02-15 09:57:27.523 INFO [71.56.111.160:19158-0#celebitchy.com] [REWRITE] Rule: Match '/wp-content/uploads/2007/02/keira2.jpg' with pattern './index.php/index.php', result: -1
2007-02-15 09:57:27.706 INFO [72.157.177.37:38062-0#celebitchy.com] [REWRITE] Rule: Match '/jsfunctions.js' with pattern './index.php/index.php', result: -1
2007-02-15 09:57:27.912 INFO [72.157.177.37:38063-0#celebitchy.com] [REWRITE] Rule: Match '/wp-content/themes/default/style.css' with pattern './index.php/index.php', result: -1
2007-02-15 09:57:27.916 INFO [72.157.177.37:38064-0#celebitchy.com] [REWRITE] Rule: Match '/styleswitcher.js' with pattern './index.php/index.php', result: -1
2007-02-15 09:57:27.939 INFO [63.149.22.194:58593-0#celebitchy.com] [REWRITE] Rule: Match '/wp-content/uploads/2007/02/untitled.jpg' with pattern './index.php/index.php', result: -1
2007-02-15 09:57:28.019 INFO [72.157.177.37:38065-0#celebitchy.com] [REWRITE] Rule: Match '/christmas.css' with pattern './index.php/index.php', result: -1
2007-02-15 09:57:28.087 INFO [12.47.123.121:22239-0#celebitchy.com] [REWRITE] Rule: Match '/index.php/archives/2007/02/another_real-life_manfight_on_greys_this_time_between_mcdreamy_and_mcsteamy.html' with pattern './index.php/index.php', result: -1
2007-02-15 09:57:28.119 INFO [158.136.163.38:1952-0#celebitchy.com] [REWRITE] Rule: Match '/index.php/page/4/' with pattern './index.php/index.php', result: -1
2007-02-15 09:57:28.189 INFO [12.47.123.121:22242-0#celebitchy.com] [REWRITE] Rule: Match '/jsfunctions.js' with pattern './index.php/index.php', result: -1
2007-02-15 09:57:28.237 INFO [12.47.123.121:22242-1#celebitchy.com] [REWRITE] Rule: Match '/wp-content/themes/default/style.css' with pattern './index.php/index.php', result: -1
2007-02-15 09:57:28.370 INFO [12.47.123.121:22242-2#celebitchy.com] [REWRITE] Rule: Match '/styleswitcher.js' with pattern './index.php/index.php', result: -1
2007-02-15 09:57:28.399 INFO [12.47.123.121:22242-3#celebitchy.com] [REWRITE] Rule: Match '/christmas.css' with pattern './index.php/index.php', result: -1
2007-02-15 09:57:28.883 INFO [131.174.208.73:1214-0#celebitchy.com] [REWRITE] Rule: Match '/index.php/archives/2007/02/another_real-life_manfight_on_greys_this_time_between_mcdreamy_and_mcsteamy.html' with pattern './index.php/index.php', result: -1
2007-02-15 09:57:28.909 INFO [65.68.184.71:2562-0#celebitchy.com] [REWRITE] Rule: Match '/' with pattern './index.php/index.php', result: -1
2007-02-15 09:57:30.024 INFO [203.121.217.40:2569-0#celebitchy.com] [REWRITE] Rule: Match '/index.php/archives/2006/11/daniel_craig_used_a_pen1s_double_for_casino_royale.html' with pattern './index.php/index.php', result: -1
2007-02-15 09:57:30.940 INFO [203.121.217.40:2569-1#celebitchy.com] [REWRITE] Rule: Match '/favicon.ico' with pattern './index.php/index.php', result: -1
2007-02-15 09:57:31.256 INFO [212.142.33.197:23753-0#celebitchy.com] [REWRITE] Rule: Match '/index.php/archives/2007/02/did_howard_arrange_for_dannielynn_to_go_back_to_the_bahamas_after_anna_died.html' with pattern './index.php/index.php', result: -1
2007-02-15 09:57:31.324 INFO [130.85.80.177:1504-0#celebitchy.com] [REWRITE] Rule: Match
 

mistwang

LiteSpeed Staff
#4
The log shows that there is no match at all. You need to change your rewrite rule in order to match with desired URL.
Rule like "./index.php/index.php" does not match any URL, at least you need to remove the leading "." in the regex pattern.
 
Top