From /etiket/(any page)
to /konu/(any page)
.
How can I do it? In .htaccess
file.
I searched and applied it but couldn't.
BEGIN WordPress
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] RewriteRule ^etiket\/\/?(.*)$ "https\:\/\/example\.com\/konu\/$1" [R=301,L] # END WordPress# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteRule ^etiket\/\/?(.*)$ "https\:\/\/example\.com\/konu\/$1" [R=301,L]
</IfModule>
# END WordPress