.htaccess - redirecting URLs that have listing IDs attached -


i'm attempting redirect following page traveltechjobs.com/display-job/42770/entry-level-travel-counselor--tep-extraordinary-customer-service.html

to http://hottraveljobs.com/display-job/42746/dedicated-account-specialist--american-express-global-business-travel-(florham-park,-nj).html

and furthermore, have same happen item on site /display-job/ after .com redirect mirror on hottraveljobs.

i attempted few methods, query redirect rules , redirect match no luck or 'listing id not defined' result.

is possible, or have manually create 1 every page wish redirect?

i not know if that's want do:

.htaccess root folder:

rewriteengine on  rewriterule ^display-job/(\d+/) http://hottraveljobs.com/display-job/$1 [r=302,l] 

change [r=302] [r=301] when test work well.


Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -