{"id":235513,"date":"2025-06-03T11:07:32","date_gmt":"2025-06-03T11:07:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/custom-link-shortener\/"},"modified":"2025-06-07T17:02:29","modified_gmt":"2025-06-07T17:02:29","slug":"custom-link-shortener","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/custom-link-shortener\/","author":23298525,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.4.3","stable_tag":"1.4.3","tested":"6.8.5","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Custom Link Shortener","header_author":"Lukastech","header_description":"A custom URL shortener with analytics, rotating links, location tracking, and password protection.","assets_banners_color":"72879a","last_updated":"2025-06-07 17:02:29","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":10,"downloads":457,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["installation","faq","changelog","description"],"tags":{"1.4.3":{"tag":"1.4.3","author":"lukastech","date":"2025-06-07 17:02:29"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3305711,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3305711,"resolution":"256x256","location":"assets","locale":""},"icon-512x512.png":{"filename":"icon-512x512.png","revision":3305711,"resolution":"512x512","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3305711,"resolution":"1544x500","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.4.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3307919,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3307919,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3307919,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"<p>Create Short Link<br \/>\n!(screenshot-creation.png)<\/p>","2":"<p>Analytics Overview<br \/>\n!(screenshot-analytics.png)<\/p>","3":"<p>Detailed Click Data \n!(screenshot-details.png)<\/p>"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5375,18996,175,243371,5530],"plugin_category":[59],"plugin_contributors":[243327],"plugin_business_model":[],"class_list":["post-235513","plugin","type-plugin","status-publish","hentry","plugin_tags-click-tracking","plugin_tags-custom-links","plugin_tags-links","plugin_tags-links-shortener","plugin_tags-url-shortener","plugin_category-utilities-and-tools","plugin_contributors-lukastech","plugin_committers-lukastech"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/custom-link-shortener\/assets\/icon-128x128.png?rev=3305711","icon_2x":"https:\/\/ps.w.org\/custom-link-shortener\/assets\/icon-256x256.png?rev=3305711","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/custom-link-shortener\/assets\/screenshot-1.png?rev=3307919","caption":"<p>Create Short Link<br \/>\n!(screenshot-creation.png)<\/p>"},{"src":"https:\/\/ps.w.org\/custom-link-shortener\/assets\/screenshot-2.png?rev=3307919","caption":"<p>Analytics Overview<br \/>\n!(screenshot-analytics.png)<\/p>"},{"src":"https:\/\/ps.w.org\/custom-link-shortener\/assets\/screenshot-3.png?rev=3307919","caption":"<p>Detailed Click Data \n!(screenshot-details.png)<\/p>"}],"raw_content":"<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/custom-link-shortener<\/code><\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Navigate to WP Shortener in your admin menu to create links<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20i%20use%20custom%20slugs%3F'><h3>Can I use custom slugs?<\/h3><\/dt>\n<dd><p>Yes! You can choose any alphanumeric slug (letters, numbers, hyphens, underscores).<\/p><\/dd>\n<dt id='how%20do%20i%20track%20more%20visitor%20data%3F'><h3>How do I track more visitor data?<\/h3><\/dt>\n<dd><p>The plugin automatically tracks:\n- IP address\n- Approximate location\n- Device\/browser (via user agent)\n- Timestamp<\/p><\/dd>\n<dt id='can%20i%20export%20my%20analytics%3F'><h3>Can I export my analytics?<\/h3><\/dt>\n<dd><p>Yes! Click \"Export CSV\" on any analytics page to download all data.<\/p><\/dd>\n<dt id='what%20happens%20if%20i%20delete%20a%20short%20url%3F'><h3>What happens if I delete a short URL?<\/h3><\/dt>\n<dd><p>All associated data (destinations, click records) are permanently deleted.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h3>1.4.3 (June 2025)<\/h3>\n\n<ul>\n<li>Redirect users to random posts on the website via a shortlink<\/li>\n<li>Total Redirects: Count of how many times the random link was used<\/li>\n<li>Unique Visitors: Number of unique users who clicked the random link<\/li>\n<li>Popular Destinations: Which posts are being randomly selected most often<\/li>\n<li>Enhanced U.I<\/li>\n<\/ul>\n\n<h3>1.4.2 (May 2025)<\/h3>\n\n<ul>\n<li>Fixed redirect functionality<\/li>\n<li>Enhanced password protection<\/li>\n<li>Improved mobile responsiveness<\/li>\n<\/ul>\n\n<h3>1.4.0 (May 2025)<\/h3>\n\n<ul>\n<li>Complete UI redesign<\/li>\n<li>Added CSV export<\/li>\n<li>Fixed deletion bugs<\/li>\n<\/ul>\n\n<h3>1.3 (April 2025)<\/h3>\n\n<ul>\n<li>Initial release with core features<\/li>\n<\/ul>\n\n<!--section=description-->\n<p>Advanced URL shortener for WordPress with analytics, link rotation, location tracking, random redirects, and password protection.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>\ud83d\ude80 Create custom short URLs (e.g., <code>yoursite.com\/go\/product<\/code>)<\/li>\n<li>\ud83d\udcca Detailed click analytics with:\n\n<ul>\n<li>Visitor IP addresses<\/li>\n<li>Location data (country\/city)<\/li>\n<li>User agents<\/li>\n<li>Timestamps<\/li>\n<\/ul><\/li>\n<li>\ud83d\udd04 URL rotation (randomize destinations)<\/li>\n<li>\ud83d\udd12 Password protection for private links<\/li>\n<li>\ud83d\udcc1 CSV export for all analytics data<\/li>\n<li>\u270f\ufe0f Edit existing short URLs<\/li>\n<li>\ud83d\uddd1\ufe0f Delete short URLs with confirmation<\/li>\n<li>\ud83c\udfa8 Clean WordPress admin interface<\/li>\n<li>\ud83d\udd04Create One Url that redirects to multiple posts on your website.<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<h3>Creating Short Links<\/h3>\n\n<ol>\n<li>Go to Custom Link Shortener in your admin menu<\/li>\n<li>Enter:\n\n<ul>\n<li>Your preferred alias (e.g., \"product\")<\/li>\n<li>Destination URL(s) (one per line for rotation)<\/li>\n<\/ul><\/li>\n<li>Optional: Enable rotation or set a password<\/li>\n<li>Enable random post redirects<\/li>\n<li>Click \"Create Short Link\"<\/li>\n<\/ol>\n\n<h3>Viewing Analytics<\/h3>\n\n<ol>\n<li>Go to Custom Link Shortener \u2192 Analytics<\/li>\n<li>View all links with click counts<\/li>\n<li>Click \"View\" on any link to see detailed stats<\/li>\n<li>Export data as CSV when needed<\/li>\n<\/ol>\n\n<h3>Managing Links<\/h3>\n\n<ul>\n<li>Edit: Change destinations, rotation, or password<\/li>\n<li>Delete: Remove short links (with confirmation)<\/li>\n<li>Test: Verify your links work before sharing<\/li>\n<\/ul>\n\n<h3>Advanced Features<\/h3>\n\n<h3>URL Rotation<\/h3>\n\n<p>When enabled with multiple destinations:\n- Visitors get randomly redirected to one of the URLs\n- All clicks are still tracked accurately<\/p>\n\n<h3>Password Protection<\/h3>\n\n<ul>\n<li>Set a password when creating\/editing links<\/li>\n<li>Visitors must enter password before redirect<\/li>\n<li>Works with both GET and POST requests<\/li>\n<\/ul>\n\n<h3>Random blog article in one short link<\/h3>\n\n<ul>\n<li>Query your WordPress database for all published posts<\/li>\n<li>Randomly select one post from the available options<\/li>\n<li>Redirect the visitor to that post's permalink<\/li>\n<li>Track the redirect for analytics purposes<\/li>\n<\/ul>\n\n<h4>Use Cases<\/h4>\n\n<ul>\n<li>Content Discovery: Help visitors explore your older or less-visited content<\/li>\n<li>Newsletter Links: Add a \"Random Article\" link to your email newsletters<\/li>\n<li>Social Media: Share surprise content links on social platforms<\/li>\n<li>Website Navigation: Include a \"Surprise Me\" button in your site navigation<\/li>\n<li>Content Marketing: Create engaging campaigns around random content discovery<\/li>\n<\/ul>\n\n<h3>External Services<\/h3>\n\n<p>This plugin uses ipapi.co to determine visitor location information for analytics.<\/p>\n\n<p>What data is sent:\n- Visitor's IP address (only when a link is clicked)\n- No personal data is sent<\/p>\n\n<p>When data is sent:\n- Only when a short link is clicked by a visitor<\/p>\n\n<p>Service information:\n- Terms: https:\/\/ipapi.co\/terms\/\n- Privacy: https:\/\/ipapi.co\/privacy\/<\/p>\n\n<h3>Support<\/h3>\n\n<p>For support, please email support@lukastechs.com.<\/p>\n\n\n\n<p>Pro Tip: For maximum compatibility, always test new short links before sharing them widely!<\/p>","raw_excerpt":"Advanced URL shortener for WordPress with analytics, link rotation, location tracking, random redirects, and password protection.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/235513","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=235513"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/lukastech"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=235513"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=235513"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=235513"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=235513"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=235513"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=235513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}