Hi,
I have a managed wordpress hosted on godaddy, now i need to create customized REST-api as a subfolder on the same installation but the subfolder is inaccessible with error msg "no input file specified " I tried to exclude subfolder with htaccess but didn't work,
How do i manage that?
Hello @Marwa_Gamal
Please verify if in your .htaccess file you have this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Good luck.
🙂