2018-07-18から1日間の記事一覧

$_SERVER['SERVER_NAME'] $_SERVER[‘HTTP_HOST’] trailing slash リダイレクト

apache 2.4 mod_dir $_SERVER['SERVER_NAME'] を使用SERVER_NAMEはUseCanonicalName OnでconfのServerNameになる。https://stackoverflow.com/questions/29112786/apache-add-trailing-slash-redirects-to-different-servername wordpress $_SERVER[‘HTTP_HO…