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.
Try this.
Write below code in your htaccess file
Redirect domain.com/project/206/9 domain.com
It may help you.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.