I have 2 sites. We will call them site1.com and site2.com
When a user visits site1.com I would like it to redirect them to site2.com. Easy to do
However, if a person was to visit site1.com/# I would like that to redirect them to site2.com and whatever # they put will be added to the body tags of site2.com as a class. so if they were to go to site1.com/6 <body class="6">
for example. Basically taking the path of the first site and adding that as a class on the body tag of site 2. Can someone point me in the right direction on how to achieve this