0
我噸的谷歌環節,如:重寫一個文件夾/的.htaccess
www.domain.com/wpsite/galleries/ www.domain.com/wpsite/hello-world/
如何.htaccess文件可以刪除這個,WPSITE,如果用戶來自谷歌? 需要鏈接這樣的: www.domain.com/galleries/ www.domain.com/hello-world/
我的.htaccess代碼:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>