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

NEED redirect script

Discussion in 'Hire a Freelancer' started by ghengis_khan, Jun 10, 2015.

  1. ghengis_khan

    ghengis_khan Regular Member

    Joined:
    Aug 17, 2010
    Messages:
    343
    Likes Received:
    531
    Location:
    mongolian plains
    Hi guys,

    I need someone to make a simple redirect script for me.


    I have maindomain.com

    Visitors will be coming to maindomain.com/#keyword

    If #keyword matches a line in keywords.txt then the website should redirect the user to a seperate page.




    So for instance :

    keywords.txt contains "new york"

    Visitor goes to maindomain.com/#car-loans-new-york

    match found for "new york" -> user gets redirected where i want.


    If you are interested please say :
    How much you want for this
    How long it will take you
    Where you are from.


    Due to time-zone requirements I am only accepting offers from Europe or North America. Thanks for understanding.
     
  2. fatboy

    fatboy Elite Member

    Joined:
    Aug 13, 2008
    Messages:
    1,618
    Likes Received:
    3,229
    Occupation:
    Retired
    Location:
    Old Peoples Home
    How will the script know where to redirect to?

    On the surface and with what you have written above its a fairly basic script in PHP if thats any good, but if the script is reading from the text file for every visitor it may slow things down.

    Grab me on Skype if you want to discuss a bit further
     
  3. ghengis_khan

    ghengis_khan Regular Member

    Joined:
    Aug 17, 2010
    Messages:
    343
    Likes Received:
    531
    Location:
    mongolian plains
    Contacted Fatbot, please don't pm or enquire about this anymore!

    fulfilled!
     
  4. YourMoneyButton

    YourMoneyButton Senior Member

    Joined:
    Dec 1, 2013
    Messages:
    971
    Likes Received:
    210
    Location:
    Automating The Web
    Isn't the # symbol reserved for anchor tags and jQuery? I don't think you can parse the keywords via PHP but I may be wrong.
     
  5. Gogol

    Gogol Jr. VIP Jr. VIP

    Joined:
    Sep 10, 2010
    Messages:
    3,408
    Likes Received:
    3,057
    Gender:
    Male
    Let me know if still needed. Can do it in 2 days.
     
  6. fatboy

    fatboy Elite Member

    Joined:
    Aug 13, 2008
    Messages:
    1,618
    Likes Received:
    3,229
    Occupation:
    Retired
    Location:
    Old Peoples Home
    Nope, you are spot on - the # is never passed to the server, its only dealt with in the browser. We got round that by changing the character in the URL :)

    Fatbot? Been called a few things but Fatbot seems to be getting popular, especially on BHW!

    Hopefully the latest version does what you want if not I will be back online tomorrow evening for more tweaking!
     
  7. Gogol

    Gogol Jr. VIP Jr. VIP

    Joined:
    Sep 10, 2010
    Messages:
    3,408
    Likes Received:
    3,057
    Gender:
    Male
    After document load, you can get it through javascript and send it to the server(and redirect according to that through document.location) .
     
  8. seogate

    seogate BANNED BANNED

    Joined:
    Jul 30, 2014
    Messages:
    241
    Likes Received:
    11
    add me on skype kashyapllc
     
  9. EarthIsSmall

    EarthIsSmall Newbie

    Joined:
    Apr 26, 2015
    Messages:
    16
    Likes Received:
    3
    I will do it for free.

    Do you want it in PHP or JS? PHP however requires parameter rather than hash, so it could be site /?niche=new+york
    JS works with hashtags #