× Here you can get community support related to ReDJ.

Redirect links to my amazon S3 bucket

  • derekk
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
1 year 4 months ago #7011 by derekk
the current url is

My bucket and folder underneath it is

My Redirect rule
From URL : ^/images/easyblog_articles
To URL : s3-us-west-2.amazonaws.com/hhhblogs/images/easyblog_articles/{pathltrim /images/easyblog_articles}{queryfull}

My Test URL
on this page
this is the image

Amazon Direct URL

I saw this ticket and it looks very similar to what I am trying to do

Thank you

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

1 year 3 months ago - 1 year 3 months ago #7020 by admin
Replied by admin on topic Redirect links to my amazon S3 bucket
If you user the caret ^ in a rule it means "start with" and the rule won't work if the site is under a folder (like in your first example). But if you plan to move the site on root once ready, and you don't want to change all the rules, there is a better way. In the plugin settings (advanced) you can put a path (e.g. /hhhblogs) that is excluded from the process of checking rules. Once you are ready to move the site, you just blank this field and the rules continue to work.

I can't see any other problem in your rules, but let me know if I'm missing something.

Last edit: 1 year 3 months ago by admin.

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

Time to create page: 0.137 seconds