JasonI
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Permalinks Settings page 502.2 errorYes it happens with the default theme and no plugins.
Forum: Fixing WordPress
In reply to: Permalinks Settings page 502.2 errorOne more bit of information that I just stumbled upon. If I delete the .htaaccess file, and uninstall all of the plugins, I can then access the settings page exactly one time. After that time, it create a new .htaacess file, which looks as follows. And breaks the settings page again.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule># END WordPress
EDIT: This method of accessing the settings page only worked reliably 5 times. For somereason, it no longer seems to be working. Hopefully it doesn’t cause confusion, but I feel it is still an interesting piece to the puzzle as to why it would have worked a few times to begin with.
Forum: Fixing WordPress
In reply to: Permalinks Settings page 502.2 errorOptions -Indexes
Options +FollowSymLinks# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressHowever, I should note that the server is Windows 2008 R2 with IIS 7. my web.config file has the following rewrite rules.
<rewrite>
<rules>
<rule name=”Main Rule” stopProcessing=”true”>
<match url=”.*” />
<conditions logicalGrouping=”MatchAll”>
<add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” />
<add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” />
</conditions>
<action type=”Rewrite” url=”index.php/{R:0}” />
</rule>
</rules>
</rewrite>