Support » Plugin: Absolute Relative URLs » Additional domain support

  • Resolved Ty Cahill

    (@tythewebguy)


    Is it possible to remove additional domains?

    Use case is having a QA and production server. When a user copies raw HTML from a page in QA and pastes it in production, it would be nice if the plugin caught the domain of the staging server and made it relative on the production server.

    Can this be done? I looked in the readme, but didn’t find any other documentation that mentions doing this. Ideally, I’d like to list all the domains we’re using (dev, staging, qa, etc.) and have the plugin remove any of those domains from the URL when saving pages/posts.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author intuitart

    (@intuitart)

    Hi Ty,

    Thanks for raising this. I can see the use case, and in fact this has slowed me down when copying html between development and production.

    There are a couple of other things I want to check before doing a formal release, so if I could send you a patch as soon as I can address this, you would get your fix sooner and it would help me confirm that it works.

    Send me an email address if you would like it sooner.

    Andrew P.

    Plugin Author intuitart

    (@intuitart)

    Can now add additional urls as related sites, so more than one wordpress and site url will be saved as relative urls in the database. See v1.5.4. Thanks again, Ty.

    Is it working on Multisites with subfolders / Multisites with subdomains

    Plugin Author intuitart

    (@intuitart)

    I’ve tested with subfolders and subdomains, but I have not tested with multisite. Would be interested in hearing of your results if you do try it out.

    It is not working for multisite in some cases when the multisite path is like http://example.com/subsite/. It does not work correctly with images added through the Media and Gutenberg plugin. subsite portion of path is skipped.

    E.g. path should be /subsite/wp-content/uploads/sites/2/2018/06/healy-jack.jpg, instead of /wp-content/uploads/sites/2/2018/06/healy-jack.jpg.

    • This reply was modified 1 year, 4 months ago by dealancer.
    • This reply was modified 1 year, 4 months ago by dealancer.
    Plugin Author intuitart

    (@intuitart)

    Thanks for the feedback @dealancer. I’ll put this on the list of things to work on for next release. In the meantime, we can be more definitive … it does not support multi-site today.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Additional domain support’ is closed to new replies.