HTACCESS Redirect Development
I am in the process of converting a number of sites to site wide HTTPS and am running into some issues with redirects, URL's and so forth.
This is as much a discussion as it is a will hire you if you can let me know what you experience is with this end of core apache/drupal stuff.
There are 5 sites with various levels of complexity and I have gone so far but am now stuck.....
Happy to be contacted here (drupal.org)
marc@webkitchen.ca
or
613-294-8557
UPDATE: Example CODE to comment on
# ENGLISH DOMAINS
RewriteCond %{HTTP_HOST} www.DOMAIN-ENGLISH.ca$ [OR]
リダイレクトがうまくいきません
サイトリニューアルでCMSをwordpressからDrupal6に変えました。
ディレクトリ構造が変わるため、.htaccessで301リダイレクトをしようと思ったのですが、うまくいきません。
Drupal設置ディレクトリの.htaccess(上記の他は手を加えていません)の先頭に以下のように追加しましたが、「このアドレスへのリクエストに対するサーバの自動転送設定がループしています。」となります。
Redirect 301 /aaa/bbb/xxx.html http://example.com/aaa/123
転送先を全く別のサイトのURLにすると正常にリダイレクトしますので、おそらく他の(Drupalによる)リダイレクトの設定の影響なのかなと思うのですが、お心当たりがありましたらお助けください。
ちなみに、別のサイト(Drupal6で.htaccessの内容は全く同じです)でも試したところ、同様の記述で、「http://example.com/aaa/123?q=/aaa/bbb/xxx.html(ページが見つかりません)」にリダイレクトされました。
Read more