× Here you can get community support related to ReDJ.

301 Redirect to different domain (subdomain)

  • vthomas
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago #6834 by vthomas
I need to create a rule, where I can redirect 50+ articles in one rule.

All the articles have this URL pattern:
domain.com/reading-room/essays/custom-article-name

and the new location is a subdomain (but on a different server) with this pattern:
blog.domain.com/custom-article-name

So, the only thing that stays the same is the custom article name ... everything before it is different. Is this possible?

Please Log in or Create an account to join the conversation.

More
6 years 2 months ago #6844 by admin
Yes:
From URL: ^/reading-room/essays/
To URL: http://blog.domain.com/{pathltrim /reading-room/essays/}
Request only: true (checked)

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

Time to create page: 0.147 seconds