TOPページURLの設定について

2016年8月18日 at 12:09

concrete5の5.6でサイトを運用しおります。
TOPページのURLが「https://ドメイン.co.jp/index.php」と「https://ドメイン.co.jp」の両方でアクセスできるのですが、index.phpなしで統一したいです。
対応方法がありませんでしょうか。
プリティURLは設定しております。
concrete5の設定は下記となってます。

■動作環境
# concrete5 Version
5.6.3.1

# concrete5 Packages
Login (1.1.1), PHP block by ND (1.0).

# concrete5 Overrides
blocks/nd_php, blocks/content, blocks/page_list, blocks/autonav, languages/ja_JP, libraries/3rdparty, models/page_list.php, models/page.php, single_pages/page_not_found.php, themes/necfielding

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.2.3 (Red Hat)

# Server API
apache2handler

# PHP Version
5.3.29

# PHP Extensions
apache2handler, Core, ctype, date, dom, ereg, fileinfo, filter, gd, hash, iconv, json, libxml, mbstring, mysql, mysqli, pcre, PDO, pdo_sqlite, Phar, posix, Reflection, session, SimpleXML, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 15M
safe_mode - Off
safe_mode_exec_dir - no value
safe_mode_gid - Off
safe_mode_include_dir - no value
sql.safe_mode - Off
upload_max_filesize - 15M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH

タグ:

Re: TOPページURLの設定について

2016年8月18日 at 14:37
基本的には対処方法ないんですが、裏ワザはあります。

config/site_post_autoload.php を作成

http://gist.github.com/hissy/80ec8994cc924577f5701300578f274b
 

Re: TOPページURLの設定について

2016年8月18日 at 17:45
ありがとうございます。

裏ワザで対応できました。
ファイルUPだけで改善できました。