Body: <p>I am using CiviCRM on wordpress 4.8.1</p>
  
  <p>I am trying to set up our email templates.
  When I link to something the html is correct and links to the correct page, but when I send the email the links become 
  <a href="https://mysite.org/wp-content/plugins/civicrm/civicrm/extern/url.php?u=60&amp;qid=" rel="nofollow noreferrer">https://mysite.org/wp-content/plugins/civicrm/civicrm/extern/url.php?u=60&amp;qid=</a></p>
  
  <p>What is going on here?  How do I fix it?
  Thank you. </p>
  
  <p>****UPDATE****
  I just discovered that even when trying to browse the server for an image in the template, I get redirected to a 404 page.   I hope that sheds some light on what the problem might be.  </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-14T01:54:10.997Z
Comments.Text: I want to add that I realize Civi generates a redirect link, but when we click these links we are getting a 404 error page.
Comments.UserDisplayName: fdarn
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-14T06:02:34.887Z
Comments.Text: What is the value of `qid` you set in templates? Is it a token? Can you paste the link you included in your template?
Comments.UserDisplayName: jitendra - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-14T08:29:03.613Z
Comments.Text: any chance you are jumping between http and https?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-14T13:31:59.070Z
Comments.Text: I don't know.  When I create the link in the template I select https, because we are using ssl.
Comments.UserDisplayName: fdarn
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-14T13:32:17.740Z
Comments.Text: No it is not a token. It is a regular html link.
Comments.UserDisplayName: fdarn
Tags: <civimail><message-templates>
Title: CiviMail Template links are not working
ThreadText: # CiviMail Template links are not working
  
  (Asked by: username_0 on 2017-09-14)
  
  I am using CiviCRM on wordpress 4.8.1
  
  I am trying to set up our email templates.
  When I link to something the html is correct and links to the correct page, but when I send the email the links become
  <https://mysite.org/wp-content/plugins/civicrm/civicrm/extern/url.php?u=60&qid=>
  
  What is going on here? How do I fix it?
  Thank you.
  
  \*\*\*\*UPDATE\*\*\*\*
  I just discovered that even when trying to browse the server for an image in the template, I get redirected to a 404 page. I hope that sheds some light on what the problem might be.
  
  **Tags:** civimail, message-templates
  
  > **Comments:**
  > **username_0**: I want to add that I realize Civi generates a redirect link, but when we click these links we are getting a 404 error page.  
  > **username_1**: What is the value of `qid` you set in templates? Is it a token? Can you paste the link you included in your template?  
  > **username_2**: any chance you are jumping between http and https?  
  > **username_0**: I don't know.  When I create the link in the template I select https, because we are using ssl.  
  > **username_0**: No it is not a token. It is a regular html link.  
  
  ---
  
  ## 0 answers
  
  