-3

入力リンクを受け取り、それらを出力に変換する htaccess ファイルを作成したいと思います (これは基本的に /test/ の後に ?location= を追加するものです)。

入力

  1. http://test.co.uk/test/uk/england/london
  2. http://test.co.uk/test/uk/england
  3. http://test.co.uk/test/uk/england/london/soho

to: (出力)

  1. http://test.co.uk/test/?location=uk/england/london
  2. http://test.co.uk/test/?location=uk/england
  3. http://test.co.uk/test/?location=uk/england/london/soho
4

1 に答える 1