10/10/2018, 09:39
Cần giúp về URL rewrite trong php
Hiện tại link của mình có dạng:
http://domain.com/?movie=/info/86/Lo...at-ma-tinh-yeu
Giờ mình muốn viết lại thành:
http://domain.com/movie-info/86_Love...-tinh-yeu.html
thì phải làm thế nào ?
PS: sorry, tại mạng lag nên nó thành 2 bài
http://domain.com/?movie=/info/86/Lo...at-ma-tinh-yeu
Giờ mình muốn viết lại thành:
http://domain.com/movie-info/86_Love...-tinh-yeu.html
thì phải làm thế nào ?
PS: sorry, tại mạng lag nên nó thành 2 bài
Bài liên quan
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^movie\-info/(***91;0-9***93;+)_(***91;0-9a-zA-Z\-***93;+)_(***91;0-9a-zA-Z\-***93;+).html$ ?movie=/info/$1/$2/$3
Regards!
@đói.ăn
Bạn có thể đã bị Google trừng phạt vì lạm dụng 1 số kĩ thuật backhat SEO như duplicate content hay redirect page. Đó ko hề phải là lỗi của mod_rewrite