• @htaccess
    RewriteEngine on
    RewriteCond %{THE_REQUEST} ^index.html
    RewriteRule ^index.html$ http://domain.jp/ [R=301,L]

    RewriteCond %{REQUEST_URI} ^/(cat|cat2|page|page2)$ [NC]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index_wordpress.php [L]
    #END WordPress

    RewriteCond %{REQUEST_URI} ^/(cat|cat2)/ [NC]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index_wordpress.php [L]

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    @WP設定
    カスタム構造 /%category%/%postname%.html
    カテゴリーベース .
    上記設定で 記事は/cat/XXX.html カテゴリーは /cat となっています。
    カテゴリー時の表示を、/cat.htmlか せめて/cat/にしたいのですが、
    無理があるでしょうか。
    よろしくご教授ください。

     

1件の返信を表示中 - 1 - 1件目 (全1件中)
  • トピック投稿者 krgn

    (@kirig)

    補足です。
    WPのほかにPHPが入っているため、WPのインデックスはindex.phpでなくなっています。

1件の返信を表示中 - 1 - 1件目 (全1件中)
  • トピック「パーマリンク変更について」には新たに返信することはできません。