I've never done this before and need to make sure I don't mess it up.. add that to the fact that I hardly know what I am doing, and I am a bit stressed out over this.
I have a Drupal site that needs to redirect to a WP site. All of the posts in a particular category will need to redirect to the WordPress site... but they will not be redirecting to a particular category or directory.
Knowing what I know about robots.txt files (which are likely totally different), I am thinking this would look like this: old.domain.com/latest-posts/* redirects to new.domain.com/
Another example would be: old.domain.com/latest-posts/post-blog-title redirects to new.domain.com/post-blog-title
Whats the best way of doing this? Theres tons of options.. editing an htaccess file seems simple enough as long as I know what needs to be added. I've been referred to regex a bunch when researching this and regex makes me nervous for some reason.
Reference: https://moz.com/learn/seo/redirection https://www.semrush.com/blog/301-redirect-htaccess/