![]() |
PHP MP3 Search Engine Script With URL Expiry |
I came up with a new technique for mp3 search engines which will make sure your visits don't drop all of a sudden due to massive amount of URLs getting blocked by Google because of a simple feature called URL expiry.
Also, this one doesn't use lastfm API since it affects the page load time a bit.
Also, this one doesn't use lastfm API since it affects the page load time a bit.
What is URL expiry?
I did some changes to the URL pattern and added a 6 digit random character which will change after every 24 hours and the previous 6 digit random character will expire and redirect to the new one.
I did some changes to the URL pattern and added a 6 digit random character which will change after every 24 hours and the previous 6 digit random character will expire and redirect to the new one.
Example: site.tld/abcdef/some-song-name.html
The text 'abcdef' will keep changing every 24 hours so if google blocks an URL (usually Google only blocks the search page), it will be expired anyway within 24 hours and will be replaced with a new one.
Features
- Top songs from YouTube.
- Main search function: YouTube.
- Completely mobile friendly.
- Recent searches.
- Random searches.
- About page.
- Disclaimer page.
- Social media share buttons [floating].
- Playing a song and downloading as mp3 function has been added to the same page.
- Facebook like box.
- Multiple YouTube API key can be added.
- Ads.
- 2 servers for downloading mp3.
- Sitemap.
- URL expiry.
Admin Panel Features:
- Forgot Password.
- Update email address.
- Update password.
- Update Facebook profile username.
- Update Facebook page username.
- Add/delete YouTube API key [Multiple].
- Update ad codes [728x90, 468x60, 300x250, popup].
- View searches by users.
- Update about page.
- Update disclaimer page.
- Update website description.
- Update website keywords.
- Update website OG image.
- Block/Unblock URL.
- Update sitemap.
Requirements
- PHP 5+
- MySQLi
- htaccess
Instructions
- Upload and extract the file ccb5.zip to your root folder using file manager from your hosting.
- Create a MySQL database and user from your hosting [MySQL databases]. Also, make sure to add the user to your new database and check [all privileges]
- Through phpmyadmin, import the file [ccb5.sql]
- Open config.php file which will be in the directory where you've uploaded and extracted the ccb5.zip file.
- Do the following editing-
$hostname = 'localhost';
$username_db = 'root';
$password_db = 'database_password';
$db_name = 'ccb5';
$sitename = 'CCB5';
$url = 'http://localhost/ccb5/';
Your website URL or the domain name must start with 'http://' and end with slash '/'.
Then your hostname which is usually 'localhost' if you're using any paid hosting, your database username, your database password, the database name respectively and the website title [$sitename].
The installation is done.
The installation is done.
Admin registration.
- Visit yoursite.tld/manager/register.php
- Just fill up the small form with your details and you are done.
- After successfully registering, the registration page will be automatically deleted.
- Admin login URL: yoursite.tld/manager/login.php
Instructions also in the documentation file along with all of my contact information. Feel free to contact me for free and premium support.
COMMENTS