.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

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -