Announcement

Collapse
No announcement yet.

Any way to change the base URL for links?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Any way to change the base URL for links?

    I have an interesting request... my blog runs through a reverse proxy so the URL which is displayed inside wordpress is not the actual canonical URL for the blog.

    In the below image, the link is blog.prestodoctor.lightningbasehosted.com/* , and I want to be able to change that to prestodoctor.com/content/*

    Click image for larger version

Name:	screenshot_2023-06-26_at_15:25:01.png
Views:	121
Size:	144.2 KB
ID:	7256

    Is this possible? Let me know if you have any ideas or suggestions.

    Thanks

  • #2
    Hello,

    Thanks for reaching out.

    There are various ways to share your preferred links with Blog2Social.
    Did you try to change the link in the respective field before sharing?

    You also can click on “Social Media Posts->Share New Link Post”. Here you can enter any link that you want to share. After clicking on “Continue” you can choose “Customize & Schedule” to access the post preview editor for customizing your post for each of your connected networks.

    Please let me know if you have further questions.

    Best regards

    Benedikt

    Comment


    • #3
      Yes, that would technically work, but I'm more interested in having it auto-post the links. I can't do that unless there's a way to automatically change the links. I'll see if I can modify the plugin to make it work.

      Edit: I got it working by overriding the wordpress get_permalink()​ function , no modifications to your plugin needed. Thanks!
      Last edited by mfkp; 06-27-2023, 08:10 PM.

      Comment


      • #4
        Hello,

        Thanks for your reply and great to hear that it worked out for you.

        Please let me know if you have any other questions regarding Blog2Social.

        Best regards

        Benedikt

        Comment

        Working...
        X