Bump deleted, please don’t.
So the permalinks work, but the preview doesn’t… What happens if you use http://ryokanshut.com/ryokan/?p=443&preview=true
It LOOKS like you have WordPress in a subfolder but ACTING like it’s in root. I do that too 😉 What’s in the .htaccess in the MAIN public_html folder?
Sorry bout the bump – got scurred.
Trying adding ‘ryokan’:
http://ryokanshut.com/ryokan/?p=459&preview=true
and it takes it away and brings me here with the same error:
http://ryokanshut.com/?p=459&preview=true
htaccess in public_html/ looks like the same:
# 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 WordPress
Very interesting but don’t know where to go from here.
If your WP install is in ryokan then the .htaccess in public_html should be:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /ryokan/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
And the one in /ryokan would be…
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /ryokan /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /ryokan /index.php [L]
</IfModule>
(though I don’t think the one in ryokan gets used at all)
Ok… Yea… I effed up. I was mistaken about what was in the public_html .htacces. THIS was what was in the public_html:
# Use PHP5CGI as default
AddHandler fcgid-script .php
So I erased and added what you said to it:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /ryokan/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
And it didn’t work. Then I added the original to the top of it:
# Use PHP5CGI as default
AddHandler fcgid-script .php
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /ryokan/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
…and it STILL didn’t work:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@thethinkswitch.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache Server at http://www.thethinkswitch.com Port 80
Sorry to waste your time.
I formatted your post for you. PLEASE use the code tag and blockquotes 🙂 Makes reading your post a lot easier.
Try this in public_html:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /ryokan/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
If that doesn’t work add
# Use PHP5CGI as default
AddHandler fcgid-script .php
above it. If THAT doesn’t work, ask your webhost if there’s something else you need to set.