Answers for "plesk internal links showing 404 error"

0

plesk internal links showing 404 error

Issue is due to htaccess file inside windows web.config works same as htacces
file for linux system, So Just create a web.config file on Notepad or edit the
one you have on the root folder and copy and paste this:

<?xml version="1.0" encoding="UTF-8"?> 
  <configuration> 
  <system.webServer> 
    <rewrite> 
      <rules> 
        <rule name="Remove index.php rule" stopProcessing="true"> 
          <match url=".*" ignoreCase="false"/> 
          <conditions> 
            <add input="{URL}" pattern="^/(media|skin|js)/" ignoreCase="false" negate="true" /> 
            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> 
            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> 
          </conditions> 
          <action type="Rewrite" url="index.php" /> 
        </rule> 
      </rules> 
    </rewrite> 
  </system.webServer> 
</configuration>
Posted by: Guest on February-19-2022

Browse Popular Code Answers by Language