A web application built with CodeIgniter 2.2.0 that tracks the ranking of a specific domain for given keywords on Google.
- Google Search Scraping: Extracts ranking information from Google search results (top 100).
- HMVC Architecture: Modular structure using the CodeIgniter HMVC extension for better organization.
- Proxy Support: Includes logic to rotate proxies to avoid Google's automated search detection.
- Database Logging: Automatically stores search results (domain, keyword, rank, addition date) in MySQL.
- Responsive UI: Built with Bootstrap 3.2 and jQuery for a clean, modern user experience.
- Backend: PHP 5.x (compatible with CodeIgniter 2.2.0)
- Framework: CodeIgniter 2.2.0 with HMVC
- Frontend: Bootstrap 3.2, jQuery 1.11.1
- Database: MySQL
- Internal Libraries: Simple HTML DOM Parser
- Clone the repository:
git clone [repository-url]
- Database Setup:
- Create a MySQL database named
testtask. - Import the SQL files from the
application/sql/directory:mysql -u [username] -p testtask < application/sql/results.sql mysql -u [username] -p testtask < application/sql/sessions.sql
- Create a MySQL database named
Configuration:
- Update your database credentials in
application/config/database.php. - Configure the
base_urlinapplication/config/config.phpif necessary.
- Environment:
- Ensure your web server (e.g., Apache with
mod_rewrite) is configured to point to the project root. - The project includes a
.htaccessfile for clean URLs.
- Ensure your web server (e.g., Apache with
- Open the application in your browser.
- Enter the Domain (e.g.,
example.com) and the Keyword you want to check. - Click "Go!".
- The application will scrape Google search results and display the rank of your domain for that keyword.