To set up hotlink protection on your Esadax.com website, follow these organized steps:
- Log into cPanel: Access your control panel using your hosting account credentials.
- Navigate to Security Settings: Click on the "Security" section in your cPanel dashboard.
- Enable Hotlink Protection:
- Locate and click on the "Hotlink Protection" icon within the Security section.
- At the top of the page, find the "Enable" checkbox and check it to activate protection.
- Allow Direct Requests: Check the "Allow direct requests" box if you want visitors to access protected files by typing their URLs directly into the browser.
- Specify Trusted Domains:
- In the "URLs to allow" text box, input domains you trust, such as your own site or a CDN.
- This ensures that images from trusted sources are accessible without being blocked.
- Block Unwanted File Types: Use the "Block extensions" field to list file types you wish to protect, like images (.jpg, .png) and PDFs (.pdf).
- Optional Redirect Setup:
- In the "Redirect request to this URL" box, enter a URL where users will be redirected if they attempt to access protected files from an untrusted domain.
- Save Changes: After configuring your settings, click "Save" to implement the changes.
- Testing: Test the protection by accessing your site from another domain. Ensure that images load correctly only from trusted sources and that visitors aren't redirected unexpectedly unless intended.
- Consider Potential Issues: Be aware that enabling hotlink protection might affect RSS feeds or emails. Check Esadax's documentation or contact support if you encounter issues.
