About the htaccess to nginx converter The service is to convert an Apache's .htaccess to nginx configuration instructions. First of all, the service was thought as a mod_rewrite to nginx converter. However, it allows you to convert some other... 続きを読む
To test your htaccess rewrite rules, simply fill in the url that you're applying the rules to, place the contents of your htaccess on the larger input area and press "Check Now" button. This was made in a very short amount of time, so there m... 続きを読む
.htaccess .secret.txt .svn 等のドットから始まるファイル、ディレクトリにアクセス禁止 #403 Forbidden RedirectMatch 403 /\. ちなみにディレクトリのみに限定したければ #403 Forbidden RedirectMatch 403 /\..*/ どこぞのサイトには以下のように Directory... 続きを読む
今回は、Webサイトやサービスをメンテナンス中にする場合に、どのURLにアクセスしても「メインテナンス中です」の画面を出す正しいやり方を、人間にも検索エンジンにも適切にするやり方を解説します。 この週末の土曜深夜~日曜早朝にかけて、データセンターの... 続きを読む
これを「category」無しでもアクセスできるよう、リダイレクト(301)させるには、ルートの「.htaccess」に下記を記述します。 RewriteRule ^category/(.+)$ http://example.com/$1 [R=301,L] ※L.01のURLは自分のURLに変更してください。 アクセスがあるとリダ... 続きを読む
現在、SEO(Search Engine Optimization。サーチエンジン最適化)という言葉はWEBマーケティングを行っているものにとっては常識的な内容になっています。いくらコンテンツが素晴らしくても、見てもらわなければ意味がありません。そして、トラフィックの大半は... 続きを読む
携帯サイトを運営する上で、携帯端末のみをアクセス可能にしたい場合にサーバーに設置が必要なサーバー定義ファイル「.htaccess」を簡単に生成します。キャリアや検索エンジンのクローラーごとに設定可能なため、例えば「auは許可し、docomoは不許可」といった... 続きを読む
Roshan’s Blogのエントリーから、URLをリダイレクト・リライトする場合の.htaccessの設定例を5つ紹介します。 5 useful url rewriting examples using .htaccess 「product.php?id=12」を「product-12.html」でアクセス 「product-12.html」を「product.php?id... 続きを読む
Pro Apache In addition to installation, maintenance, and deployment, the book demonstrates how to configure Apache to use Perl, PHP, and Python as server-side scripting languages. And unlike other books on Apache, Pro Apache provides comprehe... 続きを読む
8 diggs Updated: Apr 03, 07 | .htaccess File and mod_rewrite examples « Using FilesMatch and Files in htaccessMixed SSL Content Warning Secure Fixed » An attempt to create a default skeleton .htaccess file with the very best apache htaccess e... 続きを読む
作成中のPHPプログラムを実行する際、.htaccessに記述しておく内容。 レンタルサーバーで動作させるために、最低限書いておくべき設定はこれくらい?Options -Indexes DirectoryIndex index.php php_flag register_globals Off php_flag magic_quotes_gpc Off p... 続きを読む
誰もが実践できるSEO。でも意外と間違った認識を持っている人も多いのでは? そこでみなさんが抱えているSEOの不安や疑問をプロが解消します。 [質問]wwwが付いたものと付いていないURLがサイト内に混在しています。統一するべきですか? 「wwwあり・なし」問... 続きを読む
オンライン上でいとも簡単に.htaccessファイルを作成!リダイレクト Fromにサイトパスを入力、ToにURLを入力 301 Moved Permanently 恒久的に移動 From: To: From: To: From: To: 302 Moved Temporarily 一時的に移動 From: To: From: To: From: To: 続きを読む
TOP> WebTool> .htaccess Maker .htaccess Maker(ドットHTアクセス メーカー) 知らない人も多いことと思います。この.htaccessファイルとは、サーバーの設定自体をユーザーレベルで自由に設定することができるようにするファイルのことです。 しかし対応し... 続きを読む
Apace htaccess file generatorDefault PageWhat page to load if the user doesn't specify any (usually index.html or index.php) 続きを読む