.htaccess – a page will be deleted – how to redirect?
-
Hello, the page https://glamourina.pl/jestem-na needs to be redirected to the homepage. This is what I have:
RewriteCond %{REQUEST_URI} ^/jestem-na [OR] RewriteCond %{REQUEST_URI} ^/jestem-na/ RewriteRule (.*) https://glamourina.pl/ [R=301,L]
This rule is OK, however if one day I will make a new page with a similar name, eg. https://glamourina.pl/jestem-najxyz also this page will be redirected. But is should not.
The page to be redirected ends /jestem na[here] or /jestem-na/[here]
What should I change in the htacccess?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘.htaccess – a page will be deleted – how to redirect?’ is closed to new replies.