www.webdeveloper.com
Results 1 to 1 of 1

Thread: mod rewrite - 2 similar lines will not work

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Posts
    4

    Angry mod rewrite - 2 similar lines will not work

    How can I make these two lines work, at the moment only one of them works at a time… any ideas..

    RewriteRule ^jobs-in-dubai/(.*)/ /readjobsingle.php?parent=$1 [L]
    RewriteRule ^jobs-in-dubai/^/?([\s-_A-Za-z0-9])+/(.*)/ /readjob2.php?id=$2&o=$1 [L]

    Difference between the lines respectively..

    http://www.example.com/jobs-in-dubai/finance/
    http://www.example.com/jobs-in-dubai/finance/87/
    Last edited by desuma09; 12-11-2008 at 06:10 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles