Google には、次のようなリンクがたくさんあります。
www.domain.com/wpsite/galleries/ www.domain.com/wpsite/hello-world/
ユーザーがGoogleから来た場合、.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>