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

Paying $$ For Mod_Rewrite Rules Name Your Price

Discussion in 'Hire a Freelancer' started by The Doctor, Sep 28, 2011.

  1. The Doctor

    The Doctor Jr. VIP Jr. VIP

    Joined:
    Dec 18, 2010
    Messages:
    955
    Likes Received:
    295
    Occupation:
    Computer Scientist, Engineer, Programmer.
    Location:
    ☆☆☆☆☆☆
    Home Page:
    I just want a simple mod_rewrite rule so that people can access my site via mysite.com/j3DnH9 rather than having to type mysite.com/?p=j3DnH9

    I also need to make sure my other scripts still work with it.
     
  2. Evan Foster

    Evan Foster Junior Member

    Joined:
    Mar 1, 2011
    Messages:
    168
    Likes Received:
    59
    Occupation:
    Remote Student
    Thought you are paying $$ to mods to rewrite some tos /rules of bhw.

    from title.
     
    • Thanks Thanks x 2
    Last edited: Sep 28, 2011
  3. The Doctor

    The Doctor Jr. VIP Jr. VIP

    Joined:
    Dec 18, 2010
    Messages:
    955
    Likes Received:
    295
    Occupation:
    Computer Scientist, Engineer, Programmer.
    Location:
    ☆☆☆☆☆☆
    Home Page:
    no. its apache mod_rewrite
     
  4. Gibbzee

    Gibbzee Jr. VIP Jr. VIP

    Joined:
    Jun 17, 2009
    Messages:
    400
    Likes Received:
    142
    Code:
    RewriteEngine on 
    RewriteRule ^p/([^/\.]+)/?$ index.php?p=$1 [L]
    Maybe?

    Source:
    Code:
    http://www.workingwith.me.uk/articles/scripting/mod_rewrite
     
    • Thanks Thanks x 1
  5. The Doctor

    The Doctor Jr. VIP Jr. VIP

    Joined:
    Dec 18, 2010
    Messages:
    955
    Likes Received:
    295
    Occupation:
    Computer Scientist, Engineer, Programmer.
    Location:
    ☆☆☆☆☆☆
    Home Page:
    thanks but that didn't do anything
     
  6. wannabie

    wannabie Elite Member

    Joined:
    Mar 11, 2009
    Messages:
    3,807
    Likes Received:
    2,959
    Occupation:
    Seo and Marketing Suprisingly
    Location:
    Your bedroom window
    pm me details and ill give you the code for free, its only the htaccess you need to do
     
  7. The Doctor

    The Doctor Jr. VIP Jr. VIP

    Joined:
    Dec 18, 2010
    Messages:
    955
    Likes Received:
    295
    Occupation:
    Computer Scientist, Engineer, Programmer.
    Location:
    ☆☆☆☆☆☆
    Home Page:
    i figured it out. thanks anyway though guys