I use below url structure
/%post_id%/%postname%/
but when i request to /$post_id/ page is loaded and i have duplicate content
for example
دانلود فیلم بیگانه رومولوس Alien Romulus 2024 زیرنویس فارسی چسبیده
https://hamrahmoviez.ir/82267/
Both URLs return 200
I have two question
- How I cant redirect /%post_id%/ to /%post_id%/%postname%/
- How I prevent return 200 for /%post_id%/ and return 404