Mình muốn tập tành code một trang web với php.Để có url đẹp thì mình copy luôn của thằng wordpress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /autosite/
RewriteRule ^index\\.php$ - [L]
RewriteCond % !-f
RewriteCond % !-d
RewriteRule . /autosite/index.php [L]
</IfModule></p>
<h2 class="mt-4 text-xl font-bold">END WordPress
Vấn đề là mình không rõ khi chạy đường dẫn kiểu h[URL='http://localhost/autoblog/How-to-Choose-the-Best-Pet-Snake-for-You-7Vm0JGMyYG']ttp://localhost/autosite/[/URL]bai-viet-1
Mình muốn lấy giá trị 'bai-viet-1' thì làm như thế nào? Ai biết giúp mình với nhé 👋
