Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

looks as if it's working now, i'm not doing anything... stange...

I want to write http://www.1024jobs.net/jobs/view/17.jhtml to http://www.1024jobs.com/jobs/view/17.jhtml

so i have tried either of below rules in .htaccess

RewriteRule ^jobs/view/([0-9]+)\.jhtml$   http://www.1024jobs.com/jobs/view/$1.jhtml [L,R=301]

RewriteRule ^jobs/view/([^.]+).jhtml$   http://www.1024jobs.com/jobs/view/$1.jhtml [L,R=301]

but it's always translating to below url http://www.1024jobs.net/jobs/view/17.jhtml to http://www.1024jobs.com/jobs/view/.jhtml

however, just found below is translated correctly.... http://www.1024jobs.net/jobs/view/16.jhtml can anyone help and explain? thx

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.