次のphp変数があります
$currentUrl
この php 変数は、現在の URL ページを返します。例: 以下を返します。
http://example.com/test-category/page.html?_ore=norn&___frore=norian
この url リンクを取得し、「 .html 」の後のすべてを削除し、きれいな url リンクを返すことができる php コードを使用できます。たとえば、次のようになります。
http://example.com/test-category/page.html
これは、新しい変数$clean_currentUrlで返されます