这是我的网址现在显示;
http://blog.example.co.uk/post?id=152&title=titleofpost
这是我的htaccess,如下所示;
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php [NC]
RewriteRule ^ %1 [R,L,NC]
RewriteCond %{REQUEST_FILENAME}.php -f [NC]
RewriteRule ^ %{REQUEST_URI}.php [L]
RewriteCond %{HTTP_HOST} blog.example.com$
RewriteCond %{REQUEST_URI} !^/blog/
RewriteRule ^(.*)$ /blog/$1 [L]
如何将网址显示为;
http://blog.example.co.uk/post/titleofpost
或
http://blog.example.co.uk/titleofpost
由于