Technical question about Urls and Titles..

Discussion in 'Black Hat SEO' started by firebeastm, Oct 7, 2012.

  1. firebeastm

    firebeastm Junior Member

    Joined:
    Dec 2, 2007
    Messages:
    138
    Likes Received:
    17
    Hi, I would have googled this, but I cant think of any keyword for this..

    How to make that if visitor goes to non existant page: domain.com/non-existent-page

    The script somehow catches that string "non-existent-page" and makes the title/header of the page "Non Existent Page", while having loaded the same page as domain.com (theme is from domain.com, but url shown in browser is still domain.com/non-existent-page).

    This should be somehow possible with .htaccess, php and javascript :)

    Please give me directions how to do it, or some keywords how to google it.
     
  2. closedCaption

    closedCaption Regular Member

    Joined:
    Oct 3, 2011
    Messages:
    295
    Likes Received:
    111
    mod_rewrite mate.
     
    • Thanks Thanks x 1
  3. firebeastm

    firebeastm Junior Member

    Joined:
    Dec 2, 2007
    Messages:
    138
    Likes Received:
    17
    Thanks, I will look into this right now.