Php is something I know pretty much nothing about so I'm hoping someone can point me in the right direction. This may be something simple but my searches on google didn't turn up what I'm looking for. My guess I just don't know what to search for.
What I'm looking to do is redirect from abc.cm/variable to cba.cm/blahblah"insert variable here"blahblah. So abc.cm/dogs would redirect to cba.cm/blahblahdogsblahblah.
This would keep me from needing to create 1000s of redirects manually.