PHPページのタイトルを次のように設定する方法
www.ww.com/xyz_view.php?xyz_id=142-xyz-for-sell-at-xyz
のようなhtmlのURLに
www.ww.com/748001-xyz-to-sell-at-xyz-south-faci.html
アドバイスをお願いします。
PHPページのタイトルを次のように設定する方法
www.ww.com/xyz_view.php?xyz_id=142-xyz-for-sell-at-xyz
のようなhtmlのURLに
www.ww.com/748001-xyz-to-sell-at-xyz-south-faci.html
アドバイスをお願いします。
htaccess書き換えルールを使えばこんなこともできる
RewriteEngine on
RewriteRule ^(.*)\.html $1\.php
Web サーバーが Apache の場合は、mod_rewrite を使用できます
http://www.bloghash.com/2006/12/apache-mod_rewrite-examples/
そうでない場合は、お使いのウェブサーバー ソフトウェアの名前を教えてください