<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>stylist</author_name>
  <author_url>https://blog.hatena.ne.jp/stylist/</author_url>
  <blog_title>Surflog 2.0</blog_title>
  <blog_url>https://stylist.hatenadiary.org/</blog_url>
  <categories>
    <anon>CakePHP</anon>
  </categories>
  <description>これまでSmartyなどを使っていたウェブサイトをリファクタリングし、CakePHPへ移行する場合などに困ることがとして。 Get変数を使ったページを、CakePHP特有のURL記法（host/Controller/Action/Var）へ変更する際、 .htaccessを使って、リダイレクトする必要がある。CakePHPのなかには、.htaccessがデフォルトで3つ含まれている。 /.htaccess /app/.htaccess /webroot/.htaccess結論から話すと、/webroot/直下の.htaccessにリダイレクトの処理を追加することとなる。デフォルトでは以下のよう…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fstylist.hatenadiary.org%2Fentry%2F20120607%2F1339058715&quot; title=&quot;Get変数を渡すページをCakePHPのURL形式へ変換する.htaccess(mod_rewrite)の記述方法 - Surflog 2.0&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-06-07 17:45:15</published>
  <title>Get変数を渡すページをCakePHPのURL形式へ変換する.htaccess(mod_rewrite)の記述方法</title>
  <type>rich</type>
  <url>https://stylist.hatenadiary.org/entry/20120607/1339058715</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
