Before initiating the installation of AdFox, ensure your server meets the following requirements:
🔸 Follow the instructions below to see how to install AdFox on your server:
Uploading Source Code:
Database Creation:
Initiating the Installation:
Pre-installation Check:
Follow On-Screen Steps:
https://your-website.com/admin
for administrative tasks and settings. Visit the Marketplace Home at https://your-website.com
to view and post classified ads.Login Credentials (Optional if Demo Data is Enabled):
⚠️ Important: Once the setup is complete, it is crucial to proceed to the Configuration section. Even if you've enabled demo data, going through the configuration process is mandatory for the application to function correctly. Failure to do so may result in the app not working as intended.
🔸 Note on Demo Data: While the demo images utilized on our platform are sourced from reputable free image providers, they are strictly for demonstration purposes only. When enabling the demo, these images are not included in the package. This is done to respect the terms of the image providers and to prevent any potential misuse by users.
.htaccess
Configuration for Shared HostingThis is the default .htaccess
setting that comes pre-configured with the script. It works for most hosting environments.
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
Use this configuration if you encounter 404 errors with the standard setup in shared hosting environments.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
⚠️ Note: If you encounter any errors during the installation of AdFox, ensure that you've met all the prerequisites listed above.