-
Hi,
Continue my little stories redirections problems.
I m working a new site. And now as i have experience with Rank Math, i try to quit slug before continue with the site to have clean urls.
Any url : https://mydomain.com/listing_cat/my-short-slug/
to tipical clean slug : https://mydomain.com/my-short-slug/
I remove listing_cat with your tips regex and Rank math do it but every any page now give me 404
Can be conflict rules between rank math and wordpress htaccess¿?
if Rank rewrite like this
<IfModule mod_rewrite.c>
# RewriteRule listingcat/(.* https://mydomain.com/$1 [R=301,L]
</IfModule>>>>> can be conflict with default rules wordpress htaccess¿?
# 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]
</IfModule># END WordPress
it´s so difficult understand what can be happen.
The ticket ‘Redirect "delete" slug but url show 404 found’ is closed to new replies.