本来なら……. http://wordpress.payap.net// に書く予定だったのですが、sqlが元気ないみたいで……..(;_;) 最近良く出るエラーですね~

Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at xxx.naid.jp. This could mean your host’s database server is down.
* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?
If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the

まあ、忘れる前にこちらに書いておきましょう………暑いし….年だし……(;_;)…健忘症だから
まず、グローバル設定の「(参考:fancy URLを有効にする方法)」ではうまくいきませんでした。
多少手数が掛かりそうかなと思ったのですが…………..
結果的には、わりと簡単だったなー。
1. まず、.nucleus3.3をダウンロードして、nucleus3.3_ja_utf8nucleus3.3_ja_utf8extrafancyurls-2 に有る、.htaccess をnucleus をインストールしたディレクトリーにアップする。
中身は

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?virtualpath=$1 [L,QSA]
</IfModule>

注: サイトにより、最後の行が
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
でないと動かないサイトもあるようですが、さくらサーバーでは変更の必要はありませんでした。
2. .htaccess をアップした所にある、index.php の編集です。

<?php
// This file will generate and return the main page of the site
$CONF = array();
$CONF[‘Self’] = ‘index.php‘;
include(‘./config.php’);
selector();
?>

が修正前の文です。
index.php を Nucleus をインストールしたUrlにします。
このブログの場合は、
http://payap.sakura.ne.jp/chiangmai です。
(Urlの後ろに/はいりません)
これだけで、OKです。
最初は”index.php” を “.” にして上手く言ったように見えたのですが
ページ移動の度にUrlが長くなってしまいした
……….(^^ゞ 気が付けば簡単な事でしたねー。


最初は、Fancy URLモード でチョット嵌りました。
まあ、結果的にはこちらを先にやったおかげで、さくらレンタルサーバーでは
*.phpは644ではなく、755か705にしないといけないと言う事が分かりましたが…..(ーー;)
nucleusは拡張子phpが644でも書き込みできたし、データベースのバックアップからのリストアも一応出来たし(エラーがでたけど…….(;_;))………
500サーバーエラーが出るまでは気が付かなかったです。