.htaccess code to redirect all links?

Discussion in 'General Scripting Chat' started by bluerickshaw, Jun 1, 2009.

  1. bluerickshaw

    bluerickshaw Junior Member

    Joined:
    Sep 23, 2008
    Messages:
    139
    Likes Received:
    40
    Im assuming this would be done in .htaccess but i need some code/script to embed into my site html that will redirect any link on that page whether it be from scraped or hard content to specific url.

    For example i have a site that has a mixture of scraped content and content I have added myself, currently it has links going to all sorts of sites but i want to hijack all the links and direct it to either another site or specific page of the site so no matter what is clicked it always goes to a page i specify.