1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    120
    Likes Received:
    14
    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:
    289
    Likes Received:
    111
    mod_rewrite mate.
     
    • Thanks Thanks x 1
  3. firebeastm

    firebeastm Junior Member

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