idoubtit,
@idoubtit@mstdn.social avatar

deleted_by_author

  • Loading...
    alpha1beta,
    @alpha1beta@libretweet.com avatar

    @idoubtit if the path is exactly the same you can use an htaccess redirect just like you might if you went from HTTP to HTTPS. If the URL path is different, you likely have to do a little scripting where you could import the new URL as post-meta on the old post, and if the field (say new_url) is there, redirect it). How many posts are you talking, a few, dozens, hundreds? More? Are you moving all posts or just some?

    idoubtit,
    @idoubtit@mstdn.social avatar

    deleted_by_author

  • Loading...
  • alpha1beta,
    @alpha1beta@libretweet.com avatar

    @idoubtit

    If the path is the same, like DOMAIN.COM/article-slug-or-title-like-this

    It's basically this https://stackoverflow.com/a/1945599

    in your .htaccess file which is found at the root of your WordPress install filesystem (You may need to turn on hidden files to see it).

    Your web host may be able to help too. Sometimes you can even do it at the domain level through your registrar.

    PricklyHeart,

    @idoubtit
    There's a plugin, I think called Redirection, that I've used for a similar purpose.

    idoubtit,
    @idoubtit@mstdn.social avatar

    deleted_by_author

  • Loading...
  • PricklyHeart,

    @idoubtit
    Me either. But you can test that.

    techaddressed,

    @idoubtit You could setup 301 redirects for each URL so the traffic from the original instead goes to the copy on the other domain.

    idoubtit,
    @idoubtit@mstdn.social avatar

    deleted_by_author

  • Loading...
  • techaddressed,

    @idoubtit generally you'll set these up on your web server. If you're keeping your original wordpress site online and just moving certain content, you can create the redirects using the Redirection plugin. If you're not keeping your original wordpress site online, you'll need to configure them on the hosting server for the original domain. If your server uses Apache, you should be able to do so through your .htaccess file.

    1/x

    techaddressed,

    @idoubtit if your hosting uses Nginx, you'll likely need to reach out to them to configure the redirects unless they give you a mechanism to create them yourself inside your hosting control panel.

    2/x

    techaddressed,

    @idoubtit Unless NameCheap is your hosting provider, you won't be able to set this up there. This sort of thing isn't done at the DNS level.

    Also note - in case this is relevant - for redirects like this to work, you'll need to keep the original domain registered.

    3/x

  • All
  • Subscribed
  • Moderated
  • Favorites
  • wordpress
  • DreamBathrooms
  • mdbf
  • ethstaker
  • magazineikmin
  • cubers
  • rosin
  • thenastyranch
  • Youngstown
  • osvaldo12
  • slotface
  • khanakhh
  • kavyap
  • InstantRegret
  • Durango
  • JUstTest
  • everett
  • tacticalgear
  • modclub
  • anitta
  • cisconetworking
  • tester
  • ngwrru68w68
  • GTA5RPClips
  • normalnudes
  • megavids
  • Leos
  • provamag3
  • lostlight
  • All magazines