2016-05-05 1 views
-1
www.example.com/tour_detail/angkor-songsaa-luxury-private-island-honeymoon-premium-tour-19-105.html 

注:19から105はIDですので、私はそれが私がちょうどは、私がどのIDを使用せずに.htaccessとの友好のURLを作りたい

www.exmaple.com/tour_detail/angkor-songsaa-luxury-private-island-honeymoon-premium-tour 
+1

わかりました。あなたの質問は何ですか?あなたはそれを達成しようとしているのですか? –

+0

私はURLでidを表示したくないということです –

答えて

0

はこれを入れたいということのように表示したくありません

RewriteEngine On # Turn on the rewriting engine 
RewriteRule ^angkor-songsaa-luxury-private-island-honeymoon-premium-tour/?$ angkor-songsaa-luxury-private-island-honeymoon-premium-tour-19-105.html [NC,L] # Handle requests for your url 

あなたはより多くを読みたい場合は::あなたの.htaccessでhttps://www.addedbytes.com/articles/for-beginners/url-rewriting-for-beginners/

関連する問題