Hi,
I have BetterLinks installed in a new site that was created by migrating a copy of an existing site.
In the new site, I am not using BetterLinks. So I deactivated it and then all my javascript code stopped working.
For example, something as simple as the below is not working when BetterLinks is deactivated but it works OK when its activated.
This simply takes the entry of a text field and populates another field.
When BetterLinks is active, I get the ALERT of 1 and ALERT of 2 as the page loads.
When I deactivate it, I get no ALERT messages.
Doesn’t that seem weird? Any ideas?
I have since removed the ALERT messages so you won’t see them. But I deleted BetterLinks and the JS would not work. I reinstalled it and now it works. So why do I need BetterLinks for JS to work?
Thank you
jQuery(document).ready(function($) {
alert(1);
// Function to update text field when dropdown is changed
function updateTextField(selectField, textField) {
alert(2);
selectField.on('change', function() {
textField.val($(this).val());
});
}
// Update location text field when location dropdown changes
updateTextField(
$('.wpcf7-form [name="location-select"]'),
$('.wpcf7-form [name="location-typed"]')
);
// Update work text field when work dropdown changes
updateTextField(
$('.wpcf7-form [name="work-select"]'),
$('.wpcf7-form [name="work-typed"]')
);
});
Hi, when analysing performance of your plugin on my websites, I noticed that the vendor dependency you have on the Spyc code (https://github.com/mustangostang/spyc/) is causing huge performance issues with page load and (php) script executions.
Please have a look on the matter as it impacts user experience very negatively (bad core web vital scores as the page loads are slow)
Thanks.
]]>Why can’t I edit the link. Also, it appears that links of this type are not tracked in tracking.
]]>How do I make BetterLinks open a link in a new tab when clicked?
]]>Hi,
I used Pretty Links and decided to switch to BetterLinks. At first, I decided to import as BL offered it after activation. Then, I decided to recreate links manually, as I did not have too many. So I deleted BL, and removed tables. Then I installed BetterLinks again, and added new links manually. Then I went and removed Pretty Links, and I also removed the related tables as they were not used anymore. When I got back to BL dashboard I saw no links. It now states There are no records to display.
I am not sure if previous relation to Pretty links had anything to do with this, but I mentioned it above, just in case.
The thing is, links are still there, and they are working. I checked the table in MySQL, and all links were there, in the betterlinks table. If I try to add new link, using the same name as one of those from the table, it’ll say Already Exists. If I add new link, it works fine. I can see the new link after adding it, but as soon as I refresh the page, or go away and come back, no links show.
I tried removing and installing back the plugin, the problem persists. I tried deactivating all plugins, and activating BetterLinks only, the problem is still there.
Any hint?
Thank you
]]>Hello, I would like to know if the plugin has the ability to work through the rest api? So far all attempts have been unsuccessful, is there any documentation on this?
]]>This plugin makes my CSS in customizer break. The scrolling doesn’t work right. It’s slow and glitchy looking.
It works fine with TwentyTwentyFour, but breaks when im on “Hello Elementor Theme”. I deactivated every plugin besides this one and it still occurs. No custom code in theme because I used a child them and it still happens when I switch to the main theme. I also removed my CSS and replaced it with dummy CSS and still.
BetterLinks + Hello Elementor = Customizer CSS Broken
Error appeared upon upgrading. The upgrade initially failed with this message, but worked on the second attempt. I did not take note of the BetterLinks version prior to upgrading.
An error of type E_ERROR was caused in line 57 of the file /wp-content/plugins/betterlinks/includes/Traits/DBMigrate.php. Error message: Uncaught Error: Cannot use a scalar value as an array in /wp-content/plugins/betterlinks/includes/Traits/DBMigrate.php:57
Stack trace:
#0 /wp-content/plugins/betterlinks/includes/Installer.php(261): BetterLinks\Installer->update_fluent_settings()
#1 /wp-content/plugins/betterlinks/betterlinks.php(63): BetterLinks\Installer->db_migration()
#2 /wp-includes/class-wp-hook.php(324): BetterLinks->do_the_works_if_failed_during_activation('')
#3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#4 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /wp-admin/admin-ajax.php(45): do_action('admin_init')
#6 {main}
thrown
WordPress version 6.5.5
Current plugin: BetterLinks (version 2.1.1)
PHP version 8.1.29
hi
The BetterLink Plugin cannot tracking data from Click. What could be causing the problem?
https://drive.google.com/file/d/1brhw7FGlxw_XkT0rLHOAh8jCwTp-nbmx/view?usp=sharing
This picture from plugin Version 2.1.1
]]>Hey guys,
Can I use BetterLink free or Pro version from Migrate from URL Shortener by MyThemeShop ( https://www.ads-software.com/plugins/mts-url-shortener/ ) ? Asking this because URL Shortener by MyThemeShop plugin not offering any new updates.
]]>Pial,
When I am in wordpress dashboard and edit a page, before the page displays, I am now seeing the screen clear, a BetterLinks message display, and then disappear almost too fast to read it….and then the page to edit displays. I captured the message and put a screenshot of it here
https://drive.google.com/file/d/1mbvBMWkqqRhA4CQtBW3gqJ2LSti0wmG0/view?usp=sharing
I have noticed this for the first time today. I tested 2 sites and it happens in both.
Both use BetterLinks v2.0.0 and the current wordpress.
I really think this just started because I don’t remember noticing anything like over the last couple of days.
Shouldn’t that message be part of the dashboard itself (where all other plugins as for reviews, etc)?
]]>Hi,
In google analytics, there is a Referrer value showing me which client website hosted the link that brought the user to my site. I was planning to add that info in a UTM parameter but now it seems redundant if I know the referrer. Does using a BetterLink in my clients website still capture the referrer or is it lost during the translation to the full url?
Thank you
]]>Hi,
If I do not want my BetterLink indexed by google. I know its not a page that you might mark as NoIndex. But I think a BetterLink showed up in a report I received from Google Search console. I didn’t think much of it then and I can’t find it now. But I have some BetterLink’s that I would not want to be discovered and I have some that I would want discovered. Is there a way to handle that?
Thank you
]]>Hi,
I use BetterLink on WordPress sites.
I have a website on GoDaddy’s website builder so I can’t install plugins as it’s not WordPress.
Is there a way to create a BetterLink that can be used to access the site? I want to hide the utm parameters.
Thank you
]]>Hi,
I have created many BetterLink links and used them in various sites.
But for 1 site, the Google Search console is telling me 1 of the links is not indexed due to a noindex tag.
Why would that be? There is no way to set or unset a BetterLink for indexing, so I don’t know what this 1 link is a problem.
Ideally the page should be indexed using the value of the BetterLink but without the utm parameters, correct?
Thank you
]]>I clicked on Refresh Stats and now all my stats are gone. At the bottom of the analytics page it now says there are no records to display. I had a bunch of link and some of them with many weeks (months?) of history. I do still see the graph with data but nothing in the chart at the bottom.
Also when I look at each link in the manage links, they all says 0/0 for clicks. Where did all that data go?
What did that happen? And how can I get the data back?
Thank you
]]>Hi,
I have just started using BetterLinks and have the free version, so I cannot see analytics. If upgrade to the pro version which allows for unlimited sites, will I be able to see the analytics going back to when I first installed the free version?
Thank you
]]>After updating to BetterLinks 1.9.0, I get a status code 500 error for the betterlinks-gutenberg.core.min.js file when the WordPress editor loads. That error in turn stops the Featured Image panel from loading. When I roll back to BetterLinks 1.8.3, the problem goes away.
]]>Hello,
I’m looking at ThirstyAffiliate vs PrettyLinks vs BetterLinks, and BetterLinks started to get my heart
Then I started my round 2 of investigation before I choose one of those 3, testing in real conditions
First thing I do is adding custom fields to the affiliate links:
But in ACF, there is no post type for BetterLinks!
Did I miss something?
Thanks in advance
]]>FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class "BetterLinksPro\Helper" not found in /www/localhost_467/public/wp-content/plugins/betterlinks/includes/API/Settings.php:99
Stack trace:
#0 /www/localhost_467/public/wp-includes/rest-api/class-wp-rest-server.php(1193): BetterLinks\API\Settings->update_item(Object(WP_REST_Request))
#1 /www/localhost_467/public/wp-includes/rest-api/class-wp-rest-server.php(1041): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/betterlinks/v1...', Array, NULL)
#2 /www/localhost_467/public/wp-includes/rest-api/class-wp-rest-server.php(431): WP_REST_Server->dispatch(Object(WP_REST_Request))
#3 /www/localhost_467/public/wp-includes/rest-api.php(424): WP_REST_Server->serve_request('/betterlinks/v1...')
#4 /www/localhost_467/public/wp-includes/class-wp-hook.php(324): rest_api_loaded(Object(WP))
#5 /www/localhost_467/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#6 /www/localhost_467/public/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#7 /ww" while reading response header from upstream, client:, server:, request: "PUT /wp-json/betterlinks/v1/settings HTTP/2.0", upstream: "fastcgi://unix:/var/run/php8.1-fpm-localhost.sock:", host: ":60767", referrer: "/wp-admin/admin.php?page=betterlinks-settings"
Appears when saving BetterLinks (1.7.2) settings. nginx 1.25.2, PHP 8.1.23.
]]>When updating from BetterLinks 1.6.3 to BetterLinks 1.7.1, I am experiencing an issue in that the betterlinks-gutenberg.css file sets “.description {text-align: center;}” and that class affects the post title in the editor, as well as all ACF “descriptions.”
]]>Hi,
Do you provide an option to remove the BetterLinks meta boxes in the Gutenberg edit page? As of now these are the Affiliate Link Disclosure & Auto-Create Links boxes on the side of the editor.
These are Pro only options. I know including them in the free version of the plugin provides yet another opportunity to upsell users to upgrade to the Pro version. However, the client does not need these features and would like to see them removed to reduce clutter.
Thank you.
]]>Hi Support,
I have the “Disable Bot Clicks” checkbox enabled. However when I download the analytics report I see this for many of the browsers:
Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)
Mozilla/5.0 (Linux; Android 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; Bytespider; [email protected])
Do you know why these bots would still be showing up in my analytics even though I’ve enabled the disabled bot clicks?
Thanks
]]>Hi,
We have been using the BetterLinks plugin for some of our products, and for the past couple of days, we have been encountering this error.
Could you please investigate and let me know what the problem is?
Our WordPress dashboard is not functioning properly due to the BetterLinks plugin. You can review the screenshot below:
https://paste.pics/17ceea951a27fc0939aec264fe48ba38
I look forward to hearing from you.
]]>View post on imgur.com
]]>
Dear BetterLinks Team,
First and foremost, I would like to extend my heartfelt congratulations to all of you for creating such an excellent URL shortener & tracking plugin.
I have been utilizing your plugin on my WordPress site, which is installed in a subdirectory. Here are the specific URL settings for my site:
WordPress Address (URL): https://example.com/site
Site Address (URL): https://example.com
Recently, I decided to migrate to the BetterLinks plugin, and I must say the import process was smooth and trouble-free. However, I encountered an issue with the cloaked URLs, which seem to be pointing to the incorrect location and, consequently, are not functioning as expected.
Upon closer inspection, I noticed that the cloaked URLs are using the “WordPress Address (URL)” instead of the “Site Address (URL).” As a result, the correct cloaked URL, “https://example.com/go/apple,” becomes “https://example.com/site/go/apple,” rendering it non-functional.
I kindly request your assistance in resolving this matter promptly. If needed, I am more than willing to offer my assistance in identifying and rectifying the issue.
Thank you for your attention to this matter, and I look forward to your prompt response and resolution.
Best regards,
]]>Too many PHP warning PHP 8.1 on cPanel CloudLinux Litespeed
[27-Jul-2023 07:19:02 UTC] PHP Warning: Undefined array key "REQUEST_METHOD" in /home2//wp-content/plugins/betterlinks/includes/Link.php on line 10 [27-Jul-2023 07:49:03 UTC] PHP Warning: Undefined array key "REQUEST_METHOD" in /home2//wp-content/plugins/betterlinks/includes/Link.php on line 10
[27-Jul-2023 08:19:02 UTC] PHP Warning: Undefined array key "REQUEST_METHOD" in /home2//wp-content/plugins/betterlinks/includes/Link.php on line 10 [27-Jul-2023 08:49:03 UTC] PHP Warning: Undefined array key "REQUEST_METHOD" in /home2//wp-content/plugins/betterlinks/includes/Link.php on line 10
[27-Jul-2023 09:19:02 UTC] PHP Warning: Undefined array key "REQUEST_METHOD" in /home2/***/wp-content/plugins/betterlinks/includes/Link.php on line 10
]]>
Hi,
Just upgraded to 1.5.14 and group/category view is no longer working. The regular list view does still work on my setup the other does not. I simply just see the loading progress status.
I’m not sure what the views are called, because there’s no tool tip (or title attribute) when I hover over the icon to switch between them. But the one that looks like a grid set is broken.
The errors I’m seeing are:
{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}
VM285:1 Uncaught (in promise) SyntaxError: "[object Object]" is not valid JSON
at JSON.parse (<anonymous>)
Tried to activate/deactivate but that did not help. 1.5.13 is working without issues. Hope you have a fix.
Thanks!
]]>Hi there,
How are you doing?
I have to replace URL Shortener by MyThemeShop b/c WordFence found an error 3 months ago & I don’t think they or he fixed it & he doesn’t respond to support or even emails. sigh
So here’s what I need for the non pro version please if you have it.
1. I create my own custom slugs with words, not just characters.
2. You can import all of my URLs easily. I have a lot.
3. I think I saw the way you showcase the links in a builder of some sort & I prefer just a list of links (like posts) & then the ability to filter (like on WP) with a drop down based on categories. Do you have that?
4. There was an issue with the other one where if there was an apostrophe in the URL, it wouldn’t redirect. Do you have that problem?
5. I can upload it to different sites & I get updates.
6. And just the basics to keep track of how many clicks.
I use it more for redirects than anything.
Thanks
]]>We noticed a very significant performance degradation of our website following an update to the plugin. We discovered that BetterLinks was adding duplicate rows into gms_options
every time a request was made, leading to hundreds of thousands of rows loading with the site.
We removed the plugin and cleaned it up with the following queries:
DELETE FROM gms_options WHERE option_name LIKE 'wp_betterlinks_%';
DELETE FROM gms_options WHERE option_name LIKE 'betterlinks_%';
We’re unsure which update caused this regression, but it just doesn’t check for existing rows in our database before adding a new row (which doesn’t appear to be indexed).
If you discover the fix, you may want to clean up affected instances by removing duplicate rows during your version upgrade routine.
]]>