Results 1 to 8 of 8

Thread: Please, help me with my mod-rewrite

  1. #1
    Registered pierrebenoit's Avatar
    Join Date
    Jul 2004
    Posts
    56

    Please, help me with my mod-rewrite

    Please,

    I really need help with my mod-rewrite. I download a dynamic template (You can find a copy here http://personalized-gifts.cyber-cata...mplate/jds.zip) but was unable to build a mod-rewrite (2-3 weeks now). Everything I tried didn't work.

    This is an example of code:
    __________________________________________________ _______________
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^www\.cyber-catalog\.com
    RewriteRule ^/items/([A-Za-z]+)/$ /gifts.php?items=$1
    RewriteRule ^/pid/([0-9]+)/$ /product.php?pid=$1
    RewriteRule ^/items/([0-9]+)/start/([0-9]+)/limit/([0-9]+)/$ /gifts.php?items=$1&start=$2&limit=$3
    RewriteRule ^/start/([0-9]+)/limit/([0-9]+)/$ /productlist.php?start=$1&limit=$2
    __________________________________________________ _______________

    Please, can you help me? I really need help
    Thanks
    Affiliate Websites: 1 |2|3|

  2. #2
    Gimme Fries with that!
    Join Date
    Aug 2004
    Posts
    1,469
    what is your url and what are you trying to make it. I will post you a solution pronto

  3. #3
    Registered pierrebenoit's Avatar
    Join Date
    Jul 2004
    Posts
    56

    My mod-rewrite project

    The URL is http://personalized-gifts.cyber-catalog.com

    I would like to have URL friendly page:

    Before: http://personalized-gifts.cyber-cata...items=Bar+Gear
    After: http://personalized-gifts.cyber-cata...items/Bar+Gear
    or
    After: http://personalized-gifts.cyber-cata...items/Bar_Gear
    or
    After: http://personalized-gifts.cyber-cata...items/Bar+Gear
    __________________________________________________ ____________

    Before:http://personalized-gifts.cyber-cata...?pid=453498221
    After:http://personalized-gifts.cyber-cata.../pid/453498221
    or
    After:http://personalized-gifts.cyber-cata.../pid/453498221

    __________________________________________________ ______________

    Before:http://personalized-gifts.cyber-cata...tart=8&limit=8
    After:http://personalized-gifts.cyber-cata...tart/8/limit/8
    or
    After:http://personalized-gifts.cyber-cata...tart/8/limit/8
    or
    After:http://personalized-gifts.cyber-cata...tart/8/limit/8

    __________________________________________________ ______________

    Before:http://personalized-gifts.cyber-cata...tart=8&limit=8
    After:http://personalized-gifts.cyber-cata...tart/8/limit/8


    ____________________________

    But I am opened to other suggestions.
    I really want to remove all xxx.php?xxx in the url

    Thanks
    Affiliate Websites: 1 |2|3|

  4. #4
    Gimme Fries with that!
    Join Date
    Aug 2004
    Posts
    1,469
    ok im confused you want to use + between the names? Why not go with dashes or just nice simple urls.

    I know people will say the name in the url means the world, but ive never had a problem NOT putting it in the url and doing just fine. Why not just make the simplest easiest url possible?

  5. #5
    Registered pierrebenoit's Avatar
    Join Date
    Jul 2004
    Posts
    56

    I am open to all suggestion

    ok im confused you want to use + between the names? Why not go with dashes or just nice simple urls.
    It is not a definitive choice. I was thinking that it is simple to translate that way...

    I know people will say the name in the url means the world, but ive never had a problem NOT putting it in the url and doing just fine. Why not just make the simplest easiest url possible?
    Please, do what you want! The only think I really need is a friendly URL

    Thanks
    Affiliate Websites: 1 |2|3|

  6. #6
    Registered ordinary_guy's Avatar
    Join Date
    Feb 2005
    Posts
    28
    Does your problem been resolved ?

  7. #7
    Registered pierrebenoit's Avatar
    Join Date
    Jul 2004
    Posts
    56

    still need your help

    Does your problem been resolved ?
    Not yet! I still need your help.
    I have the template, the datafeed... but no mod-rewrite
    Thanks for all to help me
    Affiliate Websites: 1 |2|3|

  8. #8
    Registered pierrebenoit's Avatar
    Join Date
    Jul 2004
    Posts
    56

    thanks!

    I resolved my problems
    Affiliate Websites: 1 |2|3|

Similar Threads

  1. Mod Rewrite, to Remove Spaces
    By Emancipator in forum Website Programming & Databases
    Replies: 2
    Last Post: 11-06-2004, 05:02 PM
  2. Mod Rewrite Assistance
    By Emancipator in forum Website Programming & Databases
    Replies: 10
    Last Post: 08-16-2004, 04:15 PM
  3. Rewrite conditions being ignored
    By mobilebadboy in forum Website Programming & Databases
    Replies: 3
    Last Post: 06-28-2004, 12:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •