I have two sites, one old, one new. The old one is not updated with new content but the new one uses reviews and other content that is naturally enough regarded by Google as duplicate content, so I want to either 301 the old site or rel=canonical to the new site…
… but the old site is an old CMS and the meta fields are keywords, description, and that’a about it and I don’t think I have a way of writing between the <head> tags.
I’m not sure I want to kill off the old site with a 301, so I’d like to set canonical links in htaccess, but typically htaccess is used for .pdf to html domain links and not cross domain html to html, so I can’t find a How To.
The tag you put in your head as far as I know does the same thing that a 301 redirect does in your htaccess. Matt talks about it in the video in my link above. So from the sounds of it you should 301 redirect in your htaccess
I know that code, it’s the same as in a link I posted above, I just wonder if it’s any different I would need to do for an html file rather than a pdf.