-
AuthorPosts
-
November 3, 2018 at 10:13 am #1029464
Hi Support,
I noticed today on a clients site that the Enfold Twitter Share button is resolving the share URL using the p=5811 format, e.g.
https://rotanaty.com/?p=5811 – how do I get it to display, https://rotanaty.com/2018/10/31/stay-fresh-ask-questions-seek-answers/ in the shared tweet?Thanks in advance,
PaulNovember 6, 2018 at 4:54 pm #1030446Hey Paul,
Can you explain a bit more, how and where do you need that? The p=5811 redirected to the other link on my end.
Best regards,
VictoriaNovember 7, 2018 at 1:29 pm #1030848Hi Victoria,
Thanks for your reply. My rationale is that links shared to social channels with only the p=xxx will adversely affect SEO. When I review the original demo site for Enfold and an example blog post, I note that all the social share buttons resolve the full URL apart from Twitter which uses the p=xxx. So, I guess I’m wondering why that is…
For example, on my Blogger site I have a Twitter Share button applied and when clicked this resolves the whole URL, which of courses contain important keywords for SEO (purpose, education), ie. https://simbeck-hampson.blogspot.com/2011/03/the-purpose-of-education.html
Look forward to your thoughts on this, and perhaps a solution too.
PaulNovember 10, 2018 at 8:07 pm #1032077Hi Paul,
Your links are showing this p=xxx because this is probably set in the permalinks settings. You might want to check that first.
Best regards,
VictoriaNovember 10, 2018 at 8:23 pm #1032083Hi Victoria,
Thanks for the reply. That was the first thing I checked. My permalink structure is set to Day & Name, ie.: https://supro.co/2018/11/10/sample-post/, so should be displaying the post url in full, as it does for other social share buttons. I’m also guessing you don’t have plain permalinks selected on the Enfold 2017 demo site, where the same p=xxx can be found when using the Twitter share button on one of your own blog post examples.
It seems to be a problem with the share button code. Is there anything else you can suggest.
Many thanks,
November 14, 2018 at 12:11 am #1033256Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( do be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.Best regards,
BasilisNovember 14, 2018 at 2:17 pm #1033505Hey Basilis / Victoria, thanks for the reply. Before giving access to my clients site, I thought this short screenshare may help you see the problem live on your Enfold 2017 demo site – seems to be same issue that needs resolving: https://www.useloom.com/share/0d05e9cbc4d44d0bb3154fa79325bcf0
Regards,
PaulNovember 15, 2018 at 10:59 pm #1034170Hi everyone,
I have the same issue with the Twitter share button but also another issue with the facebook share button. My apologies as I am not quite sure if this is should be posted here as I could not find the answer: When I use the facebook share button instead of showing the link it shows the the pagename and then – WordPress (the word WordPress). How could this be fixed. My permalinks settings are under …/sample-post/.Thank you!
November 16, 2018 at 11:54 am #1034393Hi,
That is the default pattern of the twitter share button. The url parameter contains the shortlink instead of the post permalink. You can change that with the “avia_social_share_link_arguments” filter.
Example:
add_filter('avia_social_share_link_arguments', 'avia_add_social_share_link_arguments', 10, 1); function avia_add_social_share_link_arguments($args) { $permalink = get_the_permalink(get_the_ID()); $args['twitter']['pattern'] = 'https://twitter.com/share?text=[title]&url=' . $permalink; return $args; }
Best regards,
IsmaelNovember 16, 2018 at 12:28 pm #1034412Much appreciated Ismael, your fix works a treat.
November 17, 2018 at 7:58 am #1034670Hi,
Great, glad we could help :-)
Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardDecember 1, 2018 at 9:10 am #1039549Hi guys,
for some days it seemed to be ok but I now have again the same issue as I mentioned a couple of weeks ago:When I use the facebook share button instead of showing the link it shows the the pagename and then – WordPress (the word WordPress). How could this be fixed. My permalinks settings are under …/sample-post/.
Can somebody assist me here or should I maybe start a new thread?
Thank you,
VasilisDecember 2, 2018 at 9:36 am #1039843December 3, 2018 at 10:56 pm #1040495Thank you @Rikard,
I have used this plugin on a different site and indeed it does not show the Word “WordPress”. I was wondering if it is possible with any code without installing any plugin.Thank you!
December 4, 2018 at 9:22 am #1040631Hi,
It’s likely the site title or tagline, try checking under /wp-admin/options-general.php
Best regards,
RikardDecember 5, 2018 at 1:16 pm #1041197I was looking and couldn’ t find it.
I am sure that other share buttons would ok, but I would try to use Enfold’s share buttons.December 5, 2018 at 9:35 pm #1041395Hi samvasgr,
Let us know how that worked for you.
Best regards,
VictoriaDecember 5, 2018 at 10:54 pm #1041428HI @Victoria,
I have still worked it out…. I do not know now where to find it…December 7, 2018 at 10:42 am #1041969 -
AuthorPosts
- The topic ‘Twitter Share Button not resolving full URL’ is closed to new replies.