Reputation: 101
I am trying to redirect people that enter the URL domain.com/project/206/9
to domain.com
but the URL domain.com/project/206/9
should be displayed. Then I want to extract the numbers 206
and 9
from my URL and use that in my code.
I am using a Wordpress website.
Upvotes: 0
Views: 698
Reputation: 167
Try this.
Write below code in your htaccess file
Redirect domain.com/project/206/9 domain.com
It may help you.
Upvotes: 3