739 comments found.
added this option user or guest shorten link after x month not click in url then auto removed url and added coustom splash page option to redirect custom splash page and show timer after auto redirect oreginal url
can you ans please
Hello josondoll,
Perhaps we’ll add an option to automatically delete links that never received a visit, but generally – you’d never want to remove links, this is pretty much the golden rule with URL shorteners, they should work forever.
As for the splash page, what exactly are you referring to, can you be a bit more descriptive? What would this splash page display?
Regards,
Lunatio.
i want my user and gest shorten link index in google and bing now i see site:mysite. com auto not index my all link i want auto index my all shorten link
Hello josondoll,
Google recommends redirect URLs to redirect with a 301 status code, which is the industry standard: https://developers.google.com/search/docs/crawling-indexing/301-redirects
You can read more about it at: https://chatgpt.com/s/t_69c3b97fb9c481918cc29ccbc5fe4a1a
As such, our software follows this standard, and redirects all links with a 301 status code.
These URLs are not indexable, Google will index the destination URL, which is totally normal and to be expected.
If you want to change this behavior, you can do it from /app/Http/Controllers/RedirectController.php but you do this at your own risk, as it could actually hurt your SEO.
Regards,
Lunatio.
how to protect my website in spam account i see auto create account i removed lot of account but after some time i see lot of create new spam acoount see and how to fixed – https://prnt.sc/qAbbt7LlSBLl
Hello josondoll,
You did not enabled any Captcha systems on your website. Please follow the Documentation and enable a Captcha system of your preference: https://lunatio.com/phpshort/documentation#captcha
P.S. Unconfirmed accounts are automatically being deleted after 30 days.
Regards,
Lunatio.
Hi, I moved my website (files and database) to another web hosting provider, edited the DB credentials in the .env file (DB_DATABASE, DB_USERNAME, and DB_PASSWORD), but the app has stopped working. DNS records are correct. /login and the shortened URLs are returning 404. Is there anything else I should do?
Hello pepperos,
Yes, in the database table, head over to the `domains` table, and update the default domain to have the new domain name 
Regards,
Lunatio.
Hi, the “domains” table is empty, also on the original server where the app works normally + the domain name is not changing.
Hello pepperos,
Can you show a screenshot of the “404” error you’re seeing on the new host? Is that error actually thrown by phpShort, or is it by your server?
What version of phpShort are you running?
Regards,
Lunatio.
The 404 is by my server, not by phpShort.
Where can I find the version info?
Hello pepperos,
If the 404 is from your server, then that has nothing to do with our software, it just means that your web root directory is misconfigured.
You may want to contact your hosting provider in regards to that.
The phpShort version can be found in the Admin Panel Dashboard.
Regards,
Lunatio.
OK, thank you, I’ll try it with them. FYI, the version is 1.0.0.
Hello pepperos,
Then my previous instruction does not apply. The issue in your case is with your server being misconfigured (not poiting to the proper folder).
I strongly suggest you to upgrade to v52, phpShort has received a plethora of improvements since v1. Please note that if you do decide to upgrade to phpShort v52, the Stats history will be deleted, as we’ve changed the way we’re collecting and storing Stats, so that’s something to keep in mind.
Regards,
Lunatio.
OK, I’ll do the update later, following this instruction https://lunatio.com/phpshort/documentation#update.
In the meantime, can I provide the hosting provider some instructions on how to point to the proper folder? Or would that create a problem again after updating?
Yes, you can do that – won’t create any issues when you decide to update to the latest version.
Regards,
Lunatio.
Hi, I uploaded the files from the latest version, set the document root directory to /public, but when I try to access /update, I get error 500.
Hello pepperos,
Please include screenshots of the said errors. It’s extremely hard to blind guess what could be happening without a minimum of visual information. A “500” error means an internal server error. That could be due to a plethora of issues.
Regards,
Lunatio.
I uploaded several screenshots here https://postimg.cc/gallery/ms6sRpS
Hello pepperos,
Re-upload the software and make sure there are no errors during the upload process (this generally happens when some files from the /vendor/ folder are missing).
If the issue perists, feel free to email us cPanel credentials so we can have a deeper look at this for you.
Regards,
Lunatio.
Hi,
I’m evaluating your PHPShort URL Shortener script and I would like to confirm whether it can support a specific workflow before purchasing.
My use case is slightly different from a traditional public URL shortener.
Instead of allowing completely open link creation, I want to use the platform to activate pre-generated short codes for physical devices (for example NFC cards or QR codes).
The workflow would be something like this:
I already have a list/database of predefined alphanumeric codes (for example: ABC123, X7K92A, etc.) that are printed on physical devices.
When someone visits an activation page, they will:
paste a long destination URL
enter the device code printed on the card
The system should then create a short link using that exact code.
Example:
Device code: ABC123
Destination URL: https://example.com/review-link Resulting short URL: https://domain.com/ABC123A few questions:
Is it possible to create short links using predefined custom codes like this?
Can the script validate whether a code already exists (or is allowed) before creating the link?
Is it possible to create links without requiring the user to log in (for example via a simple public activation form)?
Does the system support fast redirects for thousands of short URLs without performance issues?
Is there an API or endpoint that could be used to create short URLs programmatically?
Essentially, I want to use the system more like a controlled activation platform rather than an open public shortener.
Please let me know if this workflow is supported natively or if it would require modifications.
Thank you!
Hello gjaindel,
Thank you for reaching us.
phpShort has a fully fledged API, which you can use to programatically generate short URLs.
You can view its documentation straight on the live demo (and even test it out) at: https://phpshort.lunatio.com/developers
Wouldn’t the “Device code” act like a password in this case? phpShort has a password feature, so perhaps setting the short’s URL Password to match the Device code meet your needs?
Regards,
Lunatio.
Thanks for the reply!! See the device code can act like password as they are unique 6-7 character random alphanumeric strings. I think that should work. See right now on your site https://phpshort.lunatio.com/ people can paste long url and create a shorter one. I just want only you can create the short url if it matches the device code else will say this code does not exist or already in use.
Hello gjaindel,
That’s not posible out of the box, and never heard of an URL shortener providing such functionality out of the box. It’s a very specific use case, which requires customizing the software, or using the API to generate the URL based on specific set of conditions.
Regards,
Lunatio.
Hey Lunatio, Thanks for the reply. Some url shortners do something like what Im saying like quickcode.digital https://www.youtube.com/watch?v=CM99XKg8iVs. However, that is an elaborate platform and I dont require that and I think your script is more than enough.
I hope this is achievable >Landing page -> Enter Long Url, Enter Short Url -> Activate. I dont want randomly to be created but specific characters that customer enters. Also the only reason I wanted only my codes should be created is due to spamming as I dont want bots to create thousands of unnecessary codes. However, if that can be taken care of then actually I dont even require the password/entry of my unique codes in database to start with.
Hello gjaindel,
I see what you mean now. You want unregistered users to shorten URLs, however the URLs should not become available, unless they’re confirmed via email first, using a unique URL or a manual code. This is not a feature we have, and we’ve never had such an inquiry before, sorry.
Anyway, while we do have three different captcha systems (you can either use reCaptcha, hCaptcha, or Turnstile), there’s always a chance bots will by-pass those, and generate those confirmation links en-mass.
The only real solution to this is to ask the user to register, enable email confirmation, and two-factor authentication, and and that point, you don’t have to bother the user to ask him to enter codes over and over again.
We also have Social Authentication for Google, Microsoft, or Apple accounts, so you can set those up for easy 1-click sign-ups.
Once a user is registered, you also have the advantage of being able to configure how many links one can shorten per plan (e.g: you can create a plan with unlimited usage which you assign to an Admin, while the rest of the users will have limited accounts on the Default plan).
Even with a Regular license you can create plans, you just can’t set a price for them, but you can freely assign the plans to users however you please.
Regards,
Lunatio.
Thanks for your reply. Do appreciate it!!
Hello gjaindel,
Forgot to mention, we have QR codes too, under the “Menu” -> “Share” option.
Scroll through this gallery for step by step: https://imgur.com/a/fQ4QCH2
Regards,
Lunatio.
Hello naifdos,
1. That’s an issue on our side, we’ve sent an update to fix it. Please re-download the latest version, and upload the /resources/views/admin/settings/ folder on your server, and you’ll be able to copy your cron command.
2. Please have a read at: https://codecanyon.net/comments/28448105 – this applies to any other content you may want to add in the head tag, not only meta descriptions (you can add og tags, twitter tags, etc.).
Regards,
Lunatio.
Hi, can you add a feature to give users an option for links to go to a custom landing page before redirecting to the URL?
Hello breenden,
Happy new year!
Sorry for the delay, I must have missed this message.
This has been addressed in the past multiple times: https://codecanyon.net/item/phpshort-url-shortener-software/26536593/comments?term=interstitial&from_buyers_and_authors_only=0&order_by=oldest
Can you please clarify what would the use case for such a feature be? I’m open to changes, if there’s a strong use case.
Regards,
Lunatio.
Is this on the latest laravel? Which version is currently used?
Hello nowtalkdigital,
Yes, it’s running on Laravel 12.
Regards,
Lunatio.
1 month done favicon not show in google how to fixed see – https://prnt.sc/aUFEYfoMTwzr
Hello josondoll,
Google Documentation clearly states that you are NOT guaranteed to have an icon shown in the search results, even if you meet all the guidelines (which you do): https://developers.google.com/search/docs/appearance/favicon-in-search
For more details, please contact Google’s Support Team, as we cannot offer support for Google’s own services.
Regards,
Lunatio.
see i upload favicon in admin panel after favicon url like this this is ok or not tell me – https://prnt.sc/SfFkNOln6CH8
Hello josondoll,
Of course it’s okay, you can see the favicon in your browser’s tab.
Regards,
Lunatio.
Hi
I purchased it in 2022. However, we never installed it.
1. Now, will it work successfully on a physical server with Ubuntu and “AAPANEL PRO” as a hosting sub-user (aapanel.com)? If so, what features should we pay attention to?
2. For performance and security reasons, can we open each member’s database separately?
Thank you.
3. What do you plan to add in future updates?
4. I have a regular license. Do I have to pay the difference to upgrade to an Extended license?
Hello turkgenci,
Thank you for reaching us. Replied via email.
Regards,
Lunatio.
Now i Extend Licence And Now i face 2 problem user signup error see – https://prnt.sc/pbQdGsJpR31_
And click on pay button afte show this error – https://prnt.sc/Ag6YwXBjwsbA
Hello jsondoll,
1. Invalid SMTP credentials. Please correct your SMTP credentials in Admin > Settings > Email with the credentials your SMTP provider is giving you.
2. Invalid Paddle credential. If you want us to have a deeper look at this, feel free to email us cPanel or FTP credentials, and the Admin Panel username, and we can have a deeper look at this for you.
Regards,
Lunatio.
i alredy send you my all login details please check faster and solve problem and tell me what is the problem and what you fixed
Hello josondoll,
We’ve replied you via email. This isn’t a software problem. In both cases, it’s a problem of bad credentials. I’ve emailed you with more details.
Regards,
Lunatio.
now i want to buy Extended License then how to get update and full payment system tell me step by step need file download or just update license what please tell me step by step answer
Hello josondoll,
Simply go to Admin > Settings > License, and enter your new (Extended) license, and you are ready to go.
After that, you can enable the Payment processors in Admin > Settings > Payment processors.
Regards,
Lunatio.
now i Regular License now i want payment system now what i do help me please
Hello josondoll,
Replied via email.
Regards,
Lunatio.
now i buy Extended License then how to get update and full payment system tell me step by step
Hello josondoll,
Simply go to Admin > Settings > License, and enter your new (Extended) license, and you are ready to go.
After that, you can enable the Payment processors in Admin > Settings > Payment processors.
Regards,
Lunatio.
The product is excellent, purchased yesterday and I managed to install it without any problems, everything worked as described. Congratulations to the developers for the outstanding work!
I have a question: is there a function that allows to hide redirect links? It would be useful to be able to choose between a normal redirect and the possibility to mask the URL so that my address is visible rather than the final redirection one. This would be particularly useful for password-protected links or when I want to hide the destination URL. Thanks again for the assistance!
Then I was wondering if in a few years when my hosting expires and I delete the current domain, can I reset the license? To use it on another one?
Hello alex891,
Sorry, we do not have such functionality and there are no plans to add one, as the web is moving away from iframes, 3rd party cookies, this option won’t be technically possible for the vast majority of websites in the future.
Yes, you are allowed to re-install the software on a different domain and host, as long as you take down your current one, no worries.
Regards,
Lunatio.
do you have documentation on the api?
Hello hellocody,
Yes, the Documentation can be seen in every phpShort installation, in the footer section, by clicking on the “Developers” link, or – alternatively – by going to our live demo’s Developers link:
https://phpshort.lunatio.com/developersRegards,
Lunatio.
I checked and tried all methods but unfortunately Deep Link is not working. I am shortening YouTube URL and opening it in iPhone, but the YouTube link gets opened within Browser not in the app directly.
Hello DigipTic,
We’ve already replied you on this exact matter before: https://codecanyon.net/item/phpshort-url-shortener-software/26536593/comments?term=DigipTic
Regards,
Lunatio.
@lunatio I double checked and tried shortening a YT URl “https://www.youtube.com/watch?v=Q-GPWgthZA8” through “https://phpshort.lunatio.com/” and it returned: “https://phpshort.lunatio.com/xovdr” which on click does not open YouTube app in any of my iPhone, although I have installed YouTube in iPhone. for reference, here’s a test video: “https://cloud.digiptic.com/drive/s/oI2NpZWhiejOdLJETs24XxMNDhzLHQ”
Hello DigipTic,
That’s because you’ve shortened a website URL, not a deep-link.
I’m quoting again:
It allows you to add a custom protocol to your URI scheme, for example if you shorten: youtube://watch?v=3HsMgc0hLHM – it will prompt the user to open the video in the YouTube app, if installed.
Look at the protocol in our response, that’s what you should use.
Regards,
Lunatio.
Is there any no direct way of shortening youtube link and it prompts to YouTube app ?
Why so hard not easier by pasting YT link and shortening and there we goo!
Hello DigipTic,
What happens if the user does not have YouTube app installed? It means he can’t open the link. You must do a concious decision to shorten the deep link protocol.
Furthermore, generally, YouTube links WILL open in the YouTube app, without the need of a deep link, provided you’re using a decent browser (such as Chrome / Safari).
Regards,
Lunatio.
Hi Why There Is No Option For Google Adsense Ads Like For Free Version There Should Be ads System And For Paid Users No Ads And When You Gonna Add That Feature
Hello sibghatullahkhandaha,
The business model for our products is to be offered as a subscription based, not to be ran with ads. Furthermore, most of the ads companies wouldn’t even allow running ads on URL shorteners.
Regards,
Lunatio.
Today I’ve got two shocking emails, one from Google and another from my host. Google notified me there is Social engineering content detected (phishing) and they gave me this URL flagged as an example: http://short.exampledomain[.]com/bserb?id=j283431 – I’ve replaced my real domain name with exampledomain for privacy reason, but everything else in url is exact. This is the google notification message: “Google has detected harmful content on some of your site’s pages. We recommend that you remove it as soon as possible. Until then, browsers such as Google Chrome will display a warning when users visit or download certain files from your site.” and with Detected Issues message: “These pages attempt to trick users into doing something dangerous, such as installing unwanted software or revealing personal information”. And my host notified they suspended my VPS for “abuse use”. The “short” subdomain was solely used for the phpShort – URL Shortener Platform. So basically your php script caused all this. I had to completely remove it to resolve issue. Unfortunately I have no logs to share for you to investigate further. I have no reason to lie as I really needed a short url website but I can’t use anymore as I am afraid issue will persist.
Hello plofun,
That is NOT our software that has caused what you’re reporting, and your website is perfectly secure.
The message Google has sent you, is due to someone misusing your URL shortening service, by shortening a malicious web page, which has gotten reported to Google.
This is the nature of URL shorteners and how they work, and it is YOUR responsability to manage your website and ensure you delete any malcious URL that your users may shorten.
All that our software does is to redirect to whatever URL your users has shortened.
In fact, here are a few examples of one of the largest URL shorteners in the world, being affected by this, on a daily basis. I’m sending them as images, but you can see the URL in the address bar if you need to check it:
Rebrand.ly: https://i.imgur.com/r2F6aeC.png
Bit.ly: https://i.imgur.com/6j4biIJ.png
TinyURL: https://i.imgur.com/8XZc8Oa.png
We have a few systems in place to attempt to dether this, but it’s impossible to detect them all, as they can easily circumvent this by first shortening a clean page, and the swapping the contents of that page with something malicious.
We suggest the following:
1. Enable one of the Captcha mechanisms (if you haven’t done so already), from Admin > Settings > Captcha.
2. Enable Google Safe Browsing integration from Admin > Settings > Advanced > Google Safe Browsing tab.
3. We have a Bad Words filter in Admin > Settings > Advanced > General tab, if you notice an URL pattern, you can simply BAN the words in that URL, or the URL address altogether.
4. Follow Google’s recommendation and remove the URL in cause.
Furthermore, we suggest you keep an active look on what your website’s users are shortening and take actions fast.
Regards,
Lunatio.
Hi thanks for response. The short url was closed, only used by me. So not sure how other users can use it and causing all this issue
Hello plofun,
By default, any guest user can short an URL on your URL shortener, unless you specifically disable guest shortening from Admin > Settings > Advanced > Shortener tab.
Additionally, you can also disable the User Registration from Admin > Settings > Authentication, if you use it for your own.
It’s very hard to understand what exactly happened, without seeing the actual issue in the first place.
Regards,
Lunatio.
I found a bug, when I show “All time” to see the overall performance, it offesets in one day and skippign the day of creation of the link, therefore reporting is incorrect. I updated the script today and the issue is still there.
Hello sambuev,
I’m not able to reproduce what you’re reporting. Please clarify in which timezone are you viewing the dates, and how are you comparing the website date with the database date.
Regards,
Lunatio.
Fixed