1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

.htaccess problem

Discussion in 'Programming' started by hockeyhero, Dec 30, 2008.

  1. #1
    I don't know if i put this in the right forum but forgive me if i made the mistake

    Anyways, i have http://www.domainanalysis.net and i want the url that the user inputs to be the tag for the result page... right now the result page after the input is simply http://www.domainanalysis.net/result.php but instead i want it to be for example http://www.domainanalysis.net/digitalpoint.com or http:///www.domainanalysis.net/digitalpoint.com.php

    Any one of those extension would do..

    I searched everywhere but it seems that it doesn't work in my situation

    Hope to hear from you soon,
    hockeyhero
     
    hockeyhero, Dec 30, 2008 IP
    chmdznr likes this.
  2. krzyk

    krzyk Peon

    Messages:
    61
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    So let me get this straigth, you have a form on a page that has action set to result.php?
    Or maybe you want this: when someone goes to http://www.domainanalysis.net/digitalpoint.com it should display page as if e.g. results.php?query=digitalpoint.com was called?
     
    krzyk, Dec 30, 2008 IP
  3. hockeyhero

    hockeyhero Well-Known Member

    Messages:
    853
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    120
    #3
    yea, the search form inputs it into results.php... and yes, that would work as well,.. whatever they input into the search box and goes into results.php would show in the url as http://www.domainanalysis.net/digitalpoint.com so that instead of the user going on to the homepage and searching digitalpoint.com they would just go to that url...:)

    if anything is confusing from what i said be sure to tell me...xD

    p.s i don't have a database if that makes any difference..;)

    thanks,
    hockeyhero
     
    hockeyhero, Dec 30, 2008 IP
  4. Grit.

    Grit. Well-Known Member

    Messages:
    1,424
    Likes Received:
    22
    Best Answers:
    1
    Trophy Points:
    110
    #4
    Use PHP to rewrite the URL for the user?

    or are you looking for people to be able to just access your site by going domainanalysis.net/yoursitehere so they don't have to take the rigmarol of navigating the whole site?
     
    Grit., Mar 8, 2009 IP