Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

174
Views
Redirect with .htaccess ON NEW domain to link Wordpress pages

I have transferred my blog to newdomain.nl on the same apache server where olddomain.nl is hosted. In the DNS settings of the hostingprovider I can set a redirect to http://newdomain.nl. This works only for this url. Any page or other reference do not work resulting in a "not found" 404 error. I want to discontinue the hosting of the olddomain and I only see solutions using .htaccess on olddomain.nl .

Will "RewriteRule ^(.*)$ http://www.newdomain.nl/$1 [R=404,L]" on newdomain.nl do the trick? And will there be no risk of a loop? For the latter problem: could adding ?~404 to the new url help in testing to prevent a loop? How to code that?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!