=== ARN Smart URL Manager ===
Contributors: arnsmart
Tags: url, redirect, short link, qr code, link manager
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Manage, optimize, and track your links — all in one powerful URL management system for WordPress.

== Description ==

ARN Smart URL Manager is a modern, lightweight, and scalable URL management system built for WordPress.

It goes beyond simple short links by providing a complete link workflow: creation, redirection, tracking, and optimization — all inside a clean and fast interface.

Whether you're managing campaigns, improving user experience, or building link-in-bio pages, this plugin gives you full control over your URLs.

---

### 🚀 Core Features

#### 🔗 Short Link Engine
Create clean, trackable short URLs in seconds with a structured and scalable system.

#### 🔁 Smart Redirect System
Manage 301 and 302 redirects with precision and reliability.

#### 📊 Lightweight Analytics
Track clicks and link performance without external services — fully local and privacy-friendly.

#### 🛡️ URL Health Monitoring
Detect broken or problematic links and maintain a healthy link structure.

#### 📱 QR Code Generator
Generate instant QR codes (PNG) for any link with zero setup.

#### 🌐 Bio Page Builder
Create simple and effective link-in-bio pages for social media profiles.

---

### ⚡ Why ARN Smart URL Manager?

- Built for performance — lightweight and fast
- Clean and modern admin interface
- Works independently from WordPress permalinks
- Full WordPress Multisite compatibility with isolated site-level control
- No external dependencies required
- Designed for scalability and future growth

---

### 🔒 Privacy First

- No external tracking
- No forced API connections
- All analytics stored locally in your WordPress database

---

### 🔧 Extend Your Workflow

ARN Smart URL Manager can be extended with advanced tools available in the ARN Smart ecosystem.

These tools include:

- Advanced analytics and reporting
- Automation and smart routing
- Extended QR customization
- Advanced bio page features

---

### ⭐ Advanced Features

The following advanced capabilities are available in extended tools:

- Automation engine for dynamic link behavior
- Advanced analytics with detailed insights
- Smart routing based on device, location, and conditions
- Extended QR code customization options (SVG, templates, branding)
- Advanced broken URL detection and smart redirect handling (conditional rules, automation)
- Enhanced bio page builder with advanced layouts and controls

Learn more: https://arnsmart.com

---

### 🆓 Free vs Advanced Tools

The free version provides all essential tools for managing links efficiently.

Advanced tools unlock extended capabilities such as:

- Automation engine
- Advanced analytics
- Smart routing logic
- Extended customization options

---

== Installation ==

1. Upload the plugin to `/wp-content/plugins/`
2. Activate the plugin
3. Navigate to **ARN Linkix** in your WordPress admin panel

---

== Frequently Asked Questions ==

= Does this plugin modify my existing WordPress URLs? =
No. It works independently and does not modify your existing WordPress URLs.

= Is there a Pro version? =
Advanced tools and extended features are available through the ARN Smart ecosystem.

= Where is analytics data stored? =
All analytics data is stored locally in your WordPress database.

---

== Screenshots ==

1. Central dashboard for managing all links and performance
2. Create and manage short links with full control
3. Smart App Links with device-based redirection
4. Advanced permalink and redirect settings
5. Built-in QR code generator with instant preview
6. Bio Pages builder for link-in-bio use cases

---


== Changelog ==

= 1.0.2 =
- Fixed: Shortlink creation issues in WordPress Multisite environments
- Fixed: Missing database tables on sub-sites causing functionality failures
- Fixed: Redirect issues with external URLs
- Fixed: "Headers already sent" warnings across admin actions and forms
- Fixed: Settings not saving due to validation and form handling issues
- Fixed: QR generation issues and cache directory handling
- Fixed: Bulk actions and select-all checkbox behavior

- Improved: Multisite compatibility across all core features
- Improved: Plugin activation and database initialization process
- Improved: Rewrite and redirect handling stability
- Improved: Admin request handling using admin-post.php
- Improved: QR storage system using WordPress uploads directory

- Security: Replaced wp_redirect() with wp_safe_redirect()
- Security: Added allowed redirect hosts validation
- Security: Improved nonce handling for admin actions

- Dev: Replaced unlink() with wp_delete_file()
- Dev: Added caching layer for schema checks
- Dev: Cleaned up Plugin Check (PHPCS) warnings and standards compliance

- Minor: General stability, performance, and UI consistency improvements


= 1.0.1 =
- Improved readme structure and content clarity
- Optimized plugin tags for better discoverability

= 1.0.0 =
- Initial release