Mohsin Shoukat
Mohsin Shoukat

Reputation: 1250

From where this link is generating ? i want to redirect this link to blog home page

https://www.duplichecker.com/blog/.php i did google try to apply redirect in .htacess but can't also i try to apply redirect in header.php file but it not detect my solution and show

Forbidden You don't have permission to access /blog/.php on this server.

Upvotes: 0

Views: 36

Answers (1)

maio290
maio290

Reputation: 6732

Paste (found here):

ErrorDocument 403 /index.php

into your .htaccess file. This will rediect all 403 (forbidden) requests to your index.php instead of displaying the error message page.

Upvotes: 1

Related Questions