• I need to use .htaccess to 301 redirect dynamic URLs from:
    https://www.domain.com/viewJob.php?jobid=####
    and
    https://domain.com/viewJob.php?jobid=####
    to
    https://domain.com/job-openings/current-openings/?jobid=####

    #### is the unique job ID number.

    I’m at a loss as to how to do this. Any help? Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter CobaltCat

    (@cobaltcat)

    I tried:
    RewriteRule ^viewJob.php?jobid=([0-9]*)$ /job-openings/current-openings/?jobid=$1 [R=301,L]

    but it doesn’t seem to work, I get the 404 page.

Viewing 1 replies (of 1 total)
  • The topic ‘.htaccess redirect dynamic URLs’ is closed to new replies.