Small linkedtree clone to list your links under one URL

I’ve created a small site that allows to share one link to your favourite links on the web for WhatsApp and other social media platforms.

DOWNLOAD HERE

 

Installation Instructions

Follow these steps to deploy the application.

1. Prepare the Environment

  • Upload the index.php file to your web server.

  • Create a directory named data in the same folder as index.php.

  • Ensure the data directory has write permissions (CHMOD 755 or 777 depending on your server environment).

2. Secure the Data Create a .htaccess file inside the data folder with the following line to prevent public access to your CSV and password files:

Apache

Require all denied

3. Initial Configuration

  • Open your browser and navigate to the index.php URL.

  • The script will detect a new installation and present the Initial Setup screen.

  • Set your admin password. This will create the auth.txt file and initialise links.csv.

I’ve also included ver.php for bit of technical server info.

 

User Feature List

The application is divided into a public-facing directory and a private management suite.

Public Features

  • Curated Directory: Displays links organised by logical sections.

  • Automatic Sorting: Lists sections by defined priority and links alphabetically or by custom order within those sections.

  • Responsive Design: The layout adapts for optimal viewing on mobile, tablet, and desktop devices.

Admin Features

  • Secure Authentication: Password-protected access using industry-standard hashing.

  • Brute-Force Protection: Automatic 10-minute lockout after 3 failed login attempts.

  • Visual Reordering: Drag-and-drop interface to move links between sections or reorder entire categories.

  • Live Editing: Edit URLs and descriptions directly within the management list.

  • Flat-File Storage: Operates entirely without a database, using CSV and text files for easy backups and portability.


Operation Instructions

1. Managing Sections and Links

  • Adding Links: Use the “Add New Link” form. Typing a new “Section Title” creates a new section at the top of the list; selecting an existing one adds the link to the bottom of that section.

  • Reordering:

    • To move a Section, click and hold the ☰ icon on the section header and drag it to a new position.

    • To move a Link, use the :: handle to drag it within its section or into a different section.

  • Saving Changes: Drag-and-drop movements and text edits are only saved to the server when you click the “Update All Links” button.

  • Deletion: Click the “Delete” button next to any link for immediate removal after confirmation.

2. Security Management

  • Password Updates: Change your access credentials at any time via the “Change Admin Password” section at the bottom of the admin panel.

  • Lockout Recovery: If locked out, you must wait 10 minutes before the system accepts the correct password again. You can also delete auth.txt and it will allow you to set a new password if you forgotten it.

 

Posted on December 21, 2025, 4:24 pm By
Categories: tech tips