我有这样的网址:
https://localhost/mydomain/boutique/index.php?Info&Content&pages_id=5
现在,如果我应用了重写(apache 2.4),我会得到:
RewriteBase /mydomain/
RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
RewriteRule (.*?)index\.php/*(.*) $1$2 [R=301,NE,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /mydomain/boutique/index.php/$1 [L]
网址已重写
https://localhost/mydomain/boutique/?Info&Content&pages_id=5
我的问题是在SEO中它的方法是否正确。 可以删除吗?
谢谢