743 comments found.
Hi, we use Cloudflare for DNS. When we switch on the “proxied” option in Cloudflare (which has a lot of benefits to do so), the IP will be proxied. But when a new user add a new domain, the interface will tell him to enter Cloudflare’s proxy IP, instead of the real correct IP behind. So, it will be great if that display value can be edited manually by admin. Just a suggestion, thanks.
Hello hype-design,
When you enable the “proxied” option on your Cloudflare account, you will be regularly given another IP, meaning once your “proxied” IP resets, all your old custom domains that were pointing to the previous IP, will stop working, as Cloudflare will not resolve the old IP to your server.
phpShort has full support for proxied DNSes, presuming your proxy IP is static. The IP shown by phpShort, is the one that your host name (domain name) resolves to, if it’s a proxy one, it will show that just fine. But ensure your IP doesn’t change, so that your custom domains continue to work.
Regards,
Lunatio.
Hello hype-design,
For additional details, read the Reliability section at: https://support.cloudflare.com/hc/en-us/articles/205177068-How-does-Cloudflare-work- (read the green part, they do not offer exclusive IPs, meaning this could never work for Custom Domains, as the “A” record is always pointing to a fixed IP, unless you plan on changing the “A” record on your custom domains every time Cloudflare changes your IP).
Regards,
Lunatio.
Thanks. Got it. Appreciate a lot for your responses and support.
Hi, regarding adding Stripe webhook for payment, what should we choose for the “Events to send” option in Stripe when adding a webhook endpoint? Thanks.
Hello hype-design,
You can choose all of them (there should be a small link to auto-select all of them).
Regards,
Lunatio.
why not added other payment gateway like as 2checkout
Hello lunatio,
I added a custom domain name, a.com
User defined domain name does not set user-defined home page. All links (including login and registration) of a.com are a.com/login instead of the current website domain name
Is this a bug?
Hello sunnyworld22,
Hm, not really a bug, but also not the desired result I suppose (Laravel will generate its route based on the current host, rather than APP_URL). Perhaps we should redirect to the primary domain when no custom index is set for a custom domain.
I’ll look into this for the next release.
Regards,
Lunatio.
And users use custom domain name to shorten the link, short link expired return home button also has problems
Hello sunnyworld22,
Thanks for the feedback, will investigate this as well in the next release.
Regards,
Lunatio.
Admin dashboard links filters
When I choose best performing or least performing
Clicking on the next page will not sort
Hello sunnyworld22,
Thanks for the heads up, will also be fixed
.
Regards,
Lunatio.
Hello sunnyworld22,
Could you please detail the issue with expired custom domain links button? This button is not “Home”, but rather “Go back”, and will return the URL of the previously accessed page.
Regards,
Lunatio.
I think it’s a matter of logic. If I was a page that was opened directly through a link. This button will have no effect.
Hello sunnyworld22,
I’ll think about it. Perhaps we should switch that button with a “Home” button, when there’s no back history available.
Regards,
Lunatio.
Hello sunnyworld22,
Just a quick update. I’ve changed the behavior. When no back page is available, the “Go back” button will be hidden.
This change will be available in the next release. It’s going to take some time for these changes to get out, as they will come once the new payment system is complete.
Regards,
Lunatio.
Hi, What should I fill in for “Hostname” and “Port” in the “Database configuration” step? What does it mean? I see you haven’t mention it in the help doc.
Hello hype-design,
Those fields are optional, and should not be completed, unless your database is hosted elsewhere than your current server (remote connection).
Regards,
Lunatio.
Thanks !!!!!
Hello hype-design,
With welcome.
Regards,
Lunatio.
Hello, does your system have a deeplink option? Do you have an API to use?
Hello Ferguss,
Yes, phpShort does have support for deep link protocols. You can write your protocol and path in the URL field, for example if you shorten: youtube://watch?v=3HsMgc0hLHM – it will prompt the user to open the video in the YouTube app, if installed.
Yes, phpShort has a very advanced API, see: https://phpshort.lunatio.com/developers – it has full CRUD support for Links, Domains, Spaces & Pixels. It also allows you to retrieve Link Statistics and your Account summary.
Regards,
Lunatio.
Thanks for the answer … Would you do this deeplink service as an extra service and an extra cost? I need to implement this deeplink protocol for all platforms …
Hello Ferguss,
The deeplink protocol support is already present. We’re not available for custom work.
Regards,
Lunatio.
hey there, i have selected a different domain as my preferred standard domain for the links. however when a new user onboards, and creates a link, it is still the domain where the script is installed on.
Hello afmob,
The setting applies for new users, not old users. You can change the default settings from the Preferences, under the Advanced option.
Regards,
Lunatio.
Settings > Shortener, I have selected a domain as the default. However, new users are not getting this domain as their default.
Hello afmob,
As previously said, the setting applies for new users. Please read our previous message again.
Regards,
Lunatio.
Yes I’ve said twice that this is happening to new users
Hello afmob,
Sounds like you’ve done an incomplete update. Re-do the update again and ensure you’ve uploaded and replaced all your existing files with the new ones.
Regards,
Lunatio.
Hello afmob,
Just a quick update in regards to this. How are you creating the user account? Are you creating it trough the Register page, or manually trough the Admin Panel? Because if you’re doing it via the Admin Panel, this setting will not apply.
Regards,
Lunatio.
Hi, Is there a way to skip any pixels, and redirect to the target URL instantly without any pop-up, buttons or intermediate pages?
Hi, questions to be exactly : (1) Is there no way to un-select pixel options after creating a short URL? (2) Is it possible to pick a NONE option for the pixel field? so that a pixel can be selected only if needed. (3) Is there an option to remove the accept cookies page and redirect instantly even if a pixel option is selected? Thanks a lot.
Hello hype-design,
Of course. That’s how it works by default. The redirect is instant, unless you specifically select a pixel, or set a link password.
1. You can select or un-select pixels from the list, by holding the CTRL button on your keyboard pressed, see: https://streamable.com/1jvgs1
2. That’s how it is by default. When creating a link, no pixel is added, unless you specifically select one or more. See the following video for a redirect demo without pixels and with pixels: https://streamable.com/q961hu
3. No. Users are being tracked trough those pixels, as such – the user needs to be informed, and give his consent to the tracking. phpShort is a privacy friendly tool, GDPR, PECR and CCPA compliant, and we plan to keep it that way.
Regards,
Lunatio.
Thanks for replying. It would be great to have a NONE option for the pixel, as I am afraid my teams and customers will not know the way to unselect an option. Thanks.
Hello hype-design,
A “None” option wouldn’t make sense, because then you’d be able to select both “None” and a pixel at the same time, which would should phpShort prioritize? Simply unselecting them should be sufficient. Keep in mind that you don’t need to unselect anything by default. By default, no option is selected.
Regards,
Lunatio.
Hi. Thanks. It looks like there is a small bug. When choosing default “Public” in Links> Preferences, the result is “Private”, and vice versa. Thanks.
Hello hype-design,
Thanks for the heads-up. I will make sure this gets fixed in the next release (this is related to the same issue fixed in v3.3.0: https://lunatio.com/phpshort/changelog).
Regards,
Lunatio.
Hi. Let’s say the application is hosted on domainA.com. Is there a way to make the shortening form on the home page without logged in adopt another domain?
Hello hype-design,
Yes, our latest version allows for that, but it will apply to all users, not only guests. See: Admin > Settings > Shortener > Domain (Default).
Regards,
Lunatio.
“When choosing default “Public” in Links> Preferences, the result is “Private”, and vice versa. Thanks.” <<< Hi, Is this issue fixed? is the application updated or still 3.4.0? Thanks.
Hello hype-design,
We’re still on 3.4.0 and slowly getting closer to 3.5.0. There’s a massive update in the works, but it will take some more time – this issue will be fixed in 3.5.0. If it’s an urgent matter for you, we could issue an update to have this fixed, but will probably delay our upcoming major update a bit more. Let us know.
Regards,
Lunatio.
Hi, just check the update. Is the fix or new version coming soon? And by the way, there is another issue. My users created short urls with their account, and the links are on their acc’s list. But if I edit the a link for them with my admin acc, that link will disappear from their list and will appear on my admin acc instead. I think the proper behavior should let the link stay with that user’s acc.
Hello hype-design,
That issue was solved a while back, are you sure you’re on the latest phpShort version? (Try re-uploading all the original files, as instructed by the documentation).
Regards,
Lunatio.
Hi Lunatio, Is the update available yet? The wrong tag problem under “stat” options confuse a lot. Would you issue a fix for that first?
Hello hype-design,
Could you please provide me a reference to this issue? Did we discussed this before? If not, please include a screen-shot for reference.
Regards,
Lunatio.
hi, happy to see the fixes! thanks lunatio
License key cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
Hello alexarank,
You need to have an SSL certificate installed on your server in order to do secure requests trough CURL. Reach out to your hosting administrator regarding such matters.
If you don’t want your license activation process to be secure, drop us a PM, and we’ll guide you trough on how to disable the SSL check, although, it is highly discouraged.
Regards,
Lunatio.
Is it possible to let server handel cron jobs instead of PHP?
Hello mrgarry05,
Sorry but I don’t know what do you mean by that, could you please elaborate? The cron jobs need to be set via your cron manager and they need to execute the links that can be found in Admin > Settings > Cron jobs.
Regards,
Lunatio.
Hi.
I have a pre sale question.
If I buy the Regular License for $49, and after I decide to buy Extended License, will I have to pay the full $199 or have the upgrade option?
Many thanks!
Hello becket33,
Yes, you’ll have to pay the full $199 price. However once you paid the $199 price, you can open a refund request for your Regular license, and we’ll refund it for you.
Regards,
Lunatio.
Its my second domain that got banned by google using this script, saying the website is deceptive. Please, refund.
Hello bmytutor,
Sorry but this is not a valid refund reason.
We’re not responsible for what your users are shortening on your website.
You should moderate your site and ban the links that are malicious trough the Keyword Ban feature implemented in phpShort.
This is not something that phpShort can control, as the contents of a shortened link can be changed at any time.
For example, Bit.ly – the largest URL shortener on the internet has also been affected by this: https://blog.sucuri.net/2014/10/bit-ly-blacklisted-by-google-safe-browsing.html
The solution is rather simple. Follow the Google’s recommendations to have your warning removed. I’d also recommend keeping a close eye on what your users are shortening, and perhaps discuss with Google what your website is about, let them know you can take active measures to prevent this from happening, and ask them to show the warning message on particular links rather than on the entire domain. That way, you can take actions on specific links, while the rest of the links remain unaffected.
Regards,
Lunatio.
Can you add more domains for the user to choose to shorten?
Hello brapan,
Yes, you can do that, from the Admin Panel > Domains > New. Global Domains are available to everyone that’s under a plan that has Global Domains enabled.
Regards,
Lunatio.
Hello, how do I redirect the website to use https? in the env file it is https but it does not work. The website can be accessed as https://my website.com Should I just create htaccess? Are there any requirements not to crush the website? Thanks
Hello bmytutor,
You should set up your redirect rewrite rules in the .htaccess file provided with the software. The .htaccess file can be found in the /public directory.
Regards,
Lunatio.
Thanks. Done.
Each plan has a set amount of links that you can create. For example the FREE one on your demo has 50 links…does this mean it resets every month? or that’s the maximum that account do?
Does it reset each month when the person is paying each month?
Hello SquaredVision,
Those are the total amount of links a plan can create. It does not reset monthly. There are other benefits for a monthly subscription. Such as enabling the ability to see detailed stats, having global custom domains, time expiration, password protection, and the list could continue.
Regards,
Lunatio.
I was looking at bitly, and I think they have for example you can create 100 links per month…
with the current way it’s setup its 100 links and that’s it. it doesn’t reset like bitly. what do you think of this? just curious.
Hello SqauredVision,
No plans to add such functionality.
Regards,
Lunatio.
Hello
public/js/app.js
Is this file compiled?
Hello sunnyworld22,
All assets are compiled using webpack. See webpack.mix.js for additional information.
Regards,
Lunatio.
Questions: 1… I’ve Used nginX with php-FPM Can it worked with nginX?
2. Can i apply for adsense? And it’s ready for approval adsense? (I’ve already approved Adsense account with my blogging website and others…)
Hello rjsurjio,
1. Officially we do not support Nginx, but yes – it does work. You’ll have to add your nginx rewrite rule, see for additional details: https://laravel.com/docs/6.x/deployment#nginx
2. We’re not familiar with Adsense. Read Adsense terms of service for more details.
Regards,
Lunatio.
This option does not work Admin > Settings > Shortener > Default domain. After you set a different domain as default, when you create a new short link the default domain is still the main domain where phpShort is installed.
Hello Neverplenty,
The option does not change your current preferences. For that, you need to use your account preferences. The default option applies to new accounts only, obviously.
Regards,
Lunatio.
“The default option applies to new accounts only, obviously.” How is this obvious if you don’t explain it to us. How should I know what is obvious for you when you design an option?
Again.. no manual for idiots like me, “obviously”.
You’re not selling a service, this is a product and every product should come with clear instructions not vaguely.
Do you think for example that your customers know by default that they can’t share short URLs on some major social media platforms because they automatically block generic domains but won’t block additional domains? Is this obvious too?
Hello Neverplently,
I thought it was obvious because you wouldn’t expect it to reset someone else’s default preference. Keep in mind that there are already websites that are running in full production mode, and have customers. Resetting someone’s preferences isn’t the best idea, hence why I thought it would be obvious.
The Custom Domain has a (Default) string near it, implying that that’s the default option, not an enforced one. Users have their preferences, and we have no plans to reset their preferences.
You can share links on all major social networks. If your link got blocked (this generally happens with Facebook), reach out to the support of that particular social network, to have your URL cleared out, as such blocks happen automatically.
Regards,
Lunatio.
Hey Lunatio,
I have added a new custom domain for example “customdomain.com” (SSL certified and “redirect to https and non-www” via htaccess. After I create a link like “customdomain.com/8eu2y” I get 404 error.
What can I do to fix this?
Much appreciated!
Hello Neverplenty,
Are you on a managed server (cPanel, Plesk, etc)? If yes – you’ll need to add your custom domain as a domain add on in your panel.
Regards,
Lunatio.
Sure, that is the first thing i did and I get 404.
This is the .htaccess of my additional domain (this is not the main domain where phpShort is installed):
<IfModule mod_rewrite.c> RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.)$ [NC]
RewriteRule ^(.)$ https://%1/$1 [R=301,L]
RewriteCond %{ENV:HTTPS} !on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</IfModule>
Do you thing there’s a problem here?
Hello Neverplenty,
There’s no need for rewrite rules for your custom domain. Make sure your newly added domain in your cPanel points to the exact same folder where phpShort is installed at.
Regards,
Lunatio.
Okay, but what exactly do you mean with “points to the exact same folder where phpShort”? Can you give me an example? I’m not seeing this instructions in your docs.
Thank you.
I have made everything right in cPanel but the generated short links keep redirecting to 404. Please give me and example on “points to the exact same folder where phpShort”.
Much appreciated
Hello Neverplenty,
The root directory of your custom domain must be set to the exact same path your primary root directory path is set to.
This isn’t documented, because the default apache behavior does not require such changes to be made. This only applies to servers that are managing their virtual hosts trough 3rd parties software, such as cPanel.
Regards,
Lunatio.
I don’t get it and I still have to add 9 more custom domains and this is why I need to understand where the problem is. Isn’t by default pointing to the same root directory? I understand but I don’t because I don’t think this is why I get 404.
I think you’re telling me that 1+1=2 and you’re confusing me so much right now.
I just bought another 200$ license and I am not able to fully use the script. I’m not asking you to fix these problems for me, I’m not abusing your kindness. This is why I don’t rate your product at all, because I have to ask stupid questions in comments and get no clear answears and waste my day.
My guy, instead of responding here just create a real Documents page. Why would I ask every stupid thing here if you would’ve have a good Documents page.
This is not support I’m asking, It’s a thing that should be explained in Documents for idiots like me. Envato is for idiots my friend, we are not all coding day and night.
Whatever.
Documentation*
Hello Neverplenty,
You don’t have to add 9 custom domains, if you’re running a clean Apache installation.
By default Apache handles all incoming requests from domains that are not managed, and points them to your primary domain, automatically.
When you are running cPanel, cPanel takes over this process, and handles the virtual hosts by itself. If a website is not under your cPanel, it won’t redirect the traffic to the primary domain.
This is not documented, because this is not the default behavior of Apache. This is a behavior imposed by a 3rd party software, in this case: cPanel. There’s probably tens of such software that behave similarly to this, it would be impossible for us to cover these edge cases in a Documentation, especially given that this is not how the Apache web server behaves by default.
Perhaps PM us your cPanel settings for the primary and custom domains so we can have a look at what you’re doing.
Regards,
Lunatio.
Email sent from Radu. Thank you!
Hello Neverplenty,
I’ve fixed the issue for you, it was what we’ve described in our previous comments.
Regards,
Lunatio.
Hi there,
The short links I create are HTTP even tho my website is fully HTTPS. How can I make all the short links HTTPS?
Thank you!
Hello Neverplenty,
Check the .env file and make sure your APP_URL contains https rather than http, presuming you’re talking about the base URL and not some custom URL.
Regards,
Lunatio.
Done. Much appreciated!