URLスラッグが適用されない

2015年6月23日 at 11:55

リニューアルなので、PrettyURLを使わずに構築してからリリースしたんですが

ページ名は日本語
URL Slugにequipmentと入れているのに

http://www.newsite.co.jp/jp/153

とページIDになってしまいます。

http://www.newsite.co.jp/jp/equipment

となりません。

URL Slugに何もいれなくても、日本語URLにもなりません。

多言語の英語のページは、

http://www.newsite.co.jp/en/equipment

とちゃんと効いています。

htaccessは
AddType application/x-httpd-php .php
Action application/x-httpd-php /global-bin/php-5.5.cgi

# -- concrete5 urls start --

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]

# -- concrete5 urls end --

環境情報---------------------------------

# concrete5 Version
Core Version - 5.7.4.2
Version Installed - 5.7.4.2
Database Version - 20150504000000

# concrete5 Packages
Block Designer (1.0.10), Multilingual Global Area (0.1), Page List+ (1.0.4), Page Redirect (2.0), Page Selector Attribute (2.0), Simple Slider (1.0), SSL Select (1.0.2).

# concrete5 Overrides
blocks/autonav/templates/bootnavi/view.php, blocks/autonav/templates/bootnavi, blocks/autonav/templates, blocks/autonav, blocks/image_slider/templates/bootindicator/view.php, blocks/image_slider/templates/bootindicator, blocks/image_slider/templates, blocks/image_slider, blocks/page_list/templates/grandtop/view.php, blocks/page_list/templates/grandtop, blocks/page_list/templates, blocks/page_list, blocks/switch_language/templates/bootnavi/view.css, blocks/switch_language/templates/bootnavi/view.php, blocks/switch_language/templates/bootnavi, blocks/switch_language/templates, blocks/switch_language, blocks/external_form/form/controller/contact_ino.php, blocks/external_form/form/controller, blocks/external_form/form/contact_ino.php, blocks/external_form/form, blocks/external_form, blocks/form/templates/contact/view.php, blocks/form/templates/contact/jquery.validate.min.js, blocks/form/templates/contact/view.css, blocks/form/templates/contact/jquery.validationEngine-ja.js, blocks/form/templates/contact/_notes/dwsync.xml, blocks/form/templates/contact/_notes, blocks/form/templates/contact/autoConfirm.js, blocks/form/templates/contact/jquery.ba-hashchange.min.js, blocks/form/templates/contact/jquery.validationEngine.js, blocks/form/templates/contact/validationEngine.jquery.css, blocks/form/templates/contact, blocks/form/templates, blocks/form, blocks/page_attribute_display/templates/inonews/view.php, blocks/page_attribute_display/templates/inonews, blocks/page_attribute_display/templates/date_ino.php, blocks/page_attribute_display/templates, blocks/page_attribute_display, blocks/next_previous/templates/inonews/view.php, blocks/next_previous/templates/inonews/view.css, blocks/next_previous/templates/inonews, blocks/next_previous/templates, blocks/next_previous, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/sl_SI/LC_MESSAGES/messages.mo, languages/sl_SI/LC_MESSAGES, languages/sl_SI, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, single_pages/login.php, themes/newsite/company.php, themes/newsite/css/bootstrap.css, themes/newsite/css/bootstrap.min.css, themes/newsite/css/fonts/defaults.less, themes/newsite/css/fonts/jelly-fish.less, themes/newsite/css/fonts, themes/newsite/css/newsite.css, themes/newsite/css/newsite.less, themes/newsite/css/presets/defaults.less, themes/newsite/css/presets/jelly-fish.less, themes/newsite/css/presets/defaults.css, themes/newsite/css/presets/jelly-fish.css, themes/newsite/css/presets, themes/newsite/css/styles.xml, themes/newsite/css, themes/newsite/default.php, themes/newsite/description.txt, themes/newsite/elements/footer.php, themes/newsite/elements/header.php, themes/newsite/elements, themes/newsite/fonts/glyphicons-halflings-regular.eot, themes/newsite/fonts/glyphicons-halflings-regular.svg, themes/newsite/fonts/glyphicons-halflings-regular.ttf, themes/newsite/fonts/glyphicons-halflings-regular.woff, themes/newsite/fonts/glyphicons-halflings-regular.woff2, themes/newsite/fonts, themes/newsite/img/bg.png, themes/newsite/img/bnr_action_jp.jpg, themes/newsite/img/bnr_recruit_jp.jpg, themes/newsite/img/footer.gif, themes/newsite/img/icn_en.jpg, themes/newsite/img/icn_jp.jpg, themes/newsite/img/icn_more.png, themes/newsite/img/icon_sidebar.gif, themes/newsite/img/icon_sidebar_active.gif, themes/newsite/img/logo.jpg, themes/newsite/img/sidebar_hr.gif, themes/newsite/img/slide01.jpg, themes/newsite/img/slide02.jpg, themes/newsite/img/slide03.jpg, themes/newsite/img/topcopy.jpg, themes/newsite/img/topimg01.jpg, themes/newsite/img/topimg02.jpg, themes/newsite/img/topimg03.jpg, themes/newsite/img/ttl_about_jp.jpg, themes/newsite/img/ttl_action_jp.jpg, themes/newsite/img/ttl_contac_jp.jpg, themes/newsite/img/ttl_equipment_jp.jpg, themes/newsite/img/ttl_recruitment_jp.jpg, themes/newsite/img/logo_en.jpg, themes/newsite/img/icn_car.jpg, themes/newsite/img/icn_train.jpg, themes/newsite/img, themes/newsite/js/bootstrap.js, themes/newsite/js/bootstrap.min.js, themes/newsite/js/jquery.js, themes/newsite/js, themes/newsite/left_sidebar.php, themes/newsite/page_theme.php, themes/newsite/thumbnail.png, themes/newsite/top.php, themes/newsite/news_sidebar.php, themes/newsite/news_sidebar_en.php, themes/newsite, blocks/autonav/templates/bootnavi/view.php, blocks/autonav/templates/bootnavi, blocks/autonav/templates, blocks/autonav, blocks/image_slider/templates/bootindicator/view.php, blocks/image_slider/templates/bootindicator, blocks/image_slider/templates, blocks/image_slider, blocks/page_list/templates/grandtop/view.php, blocks/page_list/templates/grandtop, blocks/page_list/templates, blocks/page_list, blocks/switch_language/templates/bootnavi/view.css, blocks/switch_language/templates/bootnavi/view.php, blocks/switch_language/templates/bootnavi, blocks/switch_language/templates, blocks/switch_language, blocks/external_form/form/controller/contact_ino.php, blocks/external_form/form/controller, blocks/external_form/form/contact_ino.php, blocks/external_form/form, blocks/external_form, blocks/form/templates/contact/view.php, blocks/form/templates/contact/jquery.validate.min.js, blocks/form/templates/contact/view.css, blocks/form/templates/contact/jquery.validationEngine-ja.js, blocks/form/templates/contact/_notes/dwsync.xml, blocks/form/templates/contact/_notes, blocks/form/templates/contact/autoConfirm.js, blocks/form/templates/contact/jquery.ba-hashchange.min.js, blocks/form/templates/contact/jquery.validationEngine.js, blocks/form/templates/contact/validationEngine.jquery.css, blocks/form/templates/contact, blocks/form/templates, blocks/form, blocks/page_attribute_display/templates/inonews/view.php, blocks/page_attribute_display/templates/inonews, blocks/page_attribute_display/templates/date_ino.php, blocks/page_attribute_display/templates, blocks/page_attribute_display, blocks/next_previous/templates/inonews/view.php, blocks/next_previous/templates/inonews/view.css, blocks/next_previous/templates/inonews, blocks/next_previous/templates, blocks/next_previous, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/sl_SI/LC_MESSAGES/messages.mo, languages/sl_SI/LC_MESSAGES, languages/sl_SI, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, single_pages/login.php, themes/newsite/company.php, themes/newsite/css/bootstrap.css, themes/newsite/css/bootstrap.min.css, themes/newsite/css/fonts/defaults.less, themes/newsite/css/fonts/jelly-fish.less, themes/newsite/css/fonts, themes/newsite/css/newsite.css, themes/newsite/css/newsite.less, themes/newsite/css/presets/defaults.less, themes/newsite/css/presets/jelly-fish.less, themes/newsite/css/presets/defaults.css, themes/newsite/css/presets/jelly-fish.css, themes/newsite/css/presets, themes/newsite/css/styles.xml, themes/newsite/css, themes/newsite/default.php, themes/newsite/description.txt, themes/newsite/elements/footer.php, themes/newsite/elements/header.php, themes/newsite/elements, themes/newsite/fonts/glyphicons-halflings-regular.eot, themes/newsite/fonts/glyphicons-halflings-regular.svg, themes/newsite/fonts/glyphicons-halflings-regular.ttf, themes/newsite/fonts/glyphicons-halflings-regular.woff, themes/newsite/fonts/glyphicons-halflings-regular.woff2, themes/newsite/fonts, themes/newsite/img/bg.png, themes/newsite/img/bnr_action_jp.jpg, themes/newsite/img/bnr_recruit_jp.jpg, themes/newsite/img/footer.gif, themes/newsite/img/icn_en.jpg, themes/newsite/img/icn_jp.jpg, themes/newsite/img/icn_more.png, themes/newsite/img/icon_sidebar.gif, themes/newsite/img/icon_sidebar_active.gif, themes/newsite/img/logo.jpg, themes/newsite/img/sidebar_hr.gif, themes/newsite/img/slide01.jpg, themes/newsite/img/slide02.jpg, themes/newsite/img/slide03.jpg, themes/newsite/img/topcopy.jpg, themes/newsite/img/topimg01.jpg, themes/newsite/img/topimg02.jpg, themes/newsite/img/topimg03.jpg, themes/newsite/img/ttl_about_jp.jpg, themes/newsite/img/ttl_action_jp.jpg, themes/newsite/img/ttl_contac_jp.jpg, themes/newsite/img/ttl_equipment_jp.jpg, themes/newsite/img/ttl_recruitment_jp.jpg, themes/newsite/img/logo_en.jpg, themes/newsite/img/icn_car.jpg, themes/newsite/img/icn_train.jpg, themes/newsite/img, themes/newsite/js/bootstrap.js, themes/newsite/js/bootstrap.min.js, themes/newsite/js/jquery.js, themes/newsite/js, themes/newsite/left_sidebar.php, themes/newsite/page_theme.php, themes/newsite/thumbnail.png, themes/newsite/top.php, themes/newsite/news_sidebar.php, themes/newsite/news_sidebar_en.php, themes/newsite

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.5.7

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, SimpleXML, soap, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, xsl, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 2M
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 - no value
session.gc_maxlifetime - 1440
soap.wsdl_cache_limit - 5

タグ:

Re: URLスラッグが適用されない

2015年6月23日 at 12:37
自動実行ジョブの検索エンジンインデックス(更新)をかけてもどうにもならないです。
 

Re: URLスラッグが適用されない

2015年6月23日 at 12:52
うまくいってるページは1つあるのに、公開してからslugが更新されない。なんでだろう。
 

Re: URLスラッグが適用されない

2015年6月23日 at 15:19
5.7.4から、カノニカルURLという機能がついて、スラッグを変更しても、カノニカルURLを変更しない限り反映されない場合があります。
 

Re: URLスラッグが適用されない

2015年6月23日 at 15:33
これの事ですよね?
http://concrete5-japan.org/help/5-7/using-concrete5-7/dashboard/system-and-maintenance/seo-and-statistics/urls/

うーん、そのとおりにしてるんですが。
ニュースページはちゃんと
/jp/news
になってるのに、他のは
/jp/153
みらいなページ番号で更新できないんすよ??
ニュースページだけは、リニューアルでHTMLとディレクトリー名がかぶらなかったので、作った時にslugを入れてたんですけどね。
 

Re: URLスラッグが適用されない

2015年6月23日 at 15:37
新しく作ったらいける?なんでだ...とりあえずそれで回避します。
 

Re: URLスラッグが適用されない

2015年6月23日 at 15:55
いや、ページごとにカノニカルURL設定があるんですよ
 

Re: URLスラッグが適用されない

2015年6月23日 at 16:08
え?ページごとに?属性にはないよ..
 

Re: URLスラッグが適用されない

2015年6月23日 at 16:12
わかった〜!!
場所にあるんだ、助かりました。

これ、リニューアルの時にスタティックコンテンツと併用させて
PrettyURLなしで制作をすすめて、スタティックのindex.htmlを消してリニューアルするパターンの作業のとき、1つ1つ場所でカノニカルURLを保存しなおさないとダメですね。
これはまります。
 

Re: URLスラッグが適用されない

2015年6月23日 at 16:49
すいません全ページSSL化もカノニカルでするんですか?
設定が見当たりません。
SSL Selectという有料プラグインも買ったのですが、どうもうまくいかず
今サポートで質問しています。

http://www.newsite.co.jp/jp/contact-us

でSSL Selectをオンにすると

http://www.newsite.co.jphttp://www.newsite.co.jp/jp/contact-us

になってしまいます。
これのカノニカル絡みでしょうか?
 

Re: URLスラッグが適用されない

2015年6月23日 at 17:14
カノニカルURLの設定で行います。ただ、Force SSLのような機能ではないです
 

Re: URLスラッグが適用されない

2015年6月23日 at 21:24
うーん、SSLの設定がどうもPretty URLのところのカノニカルを入れても空にしてもうまくいかない...なんでだろう
 

Re: URLスラッグが適用されない

2015年6月24日 at 15:20
SSL Selectでサポートチケットで問い合わせすると、やはり5.7.4でおかしかったようで
現在公開されている1.0.3ではうまくいきません。
サポートで添付してもらった1.0.4をインストールすると、うまくいきました。
そのうちアップデートされると思います。
Force SSLと同じ使い方ができます。
ご報告まで
 

Re: URLスラッグが適用されない

2015年6月23日 at 15:17
どうもDBが更新できないのか?
一括SEOアップデーターでスラッグに「equipment」と入れて保存すると
一時的に
http://www.newsite.co.jp/jp/equipment
になるか、他のページへいって戻ると
http://www.newsite.co.jp/jp/153

に戻っている?なんで...