WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] how to call 404.php in .htaccess which is custom to call for every page_id (1 post)

  1. trs.julian
    Member
    Posted 1 year ago #

    hello everyone!!
    i have a problem of website url link... and the page default id i want to block like this http://www.sample.com/?p=695 because its abnormal and i want to go or redirect to 404.php and the right url link is like this http://www.sample.com/?p=695&type=tour that is the right address to show!! how to modify .htaccess and detect that http://www.sample.com/?p=695 is wrong or invalid id and redirect to 404.php page

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.