Answers.Body: <p>I added Options -Indexes to the Apache configuration file which changed the behavior of the link. The URL is controlled by a page in WordPress, which is creates a permalink.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-19T06:22:01.067Z
Answers.LastActivityDate: 2019-06-19T06:22:01.067Z
Answers.UserDisplayName: Vietyank
Body: <p>CiviCRM 5.14.0. </p>
  
  <p>This is a new installation with WordPress. I sent a test mail. I checked out the unsubscribe link, which resolves to <a href="http://test.vietfeir.com/civicrm?page=CiviCRM&amp;q=civicrm%2Fmailing%2Foptout&amp;reset=1&amp;jid=19&amp;qid=23&amp;h=352376ef3e159129" rel="nofollow noreferrer">this</a></p>
  
  <p>That turns out to not be a valid link. I have a feeling there must be a setting somewhere for that.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-06-19T03:55:20.120Z
Comments.Text: I checked the CMS database integration in system settings and this should be the valid link. Is there another place I need to set this?
Comments.UserDisplayName: Vietyank
Tags: <civimail>
Title: URLs in CiviMail give a 404 not found error
ThreadText: # URLs in CiviMail give a 404 not found error
  
  (Asked by: username_0 on 2019-06-19)
  
  CiviCRM 5.14.0.
  
  This is a new installation with WordPress. I sent a test mail. I checked out the unsubscribe link, which resolves to [this](http://test.vietfeir.com/civicrm?page=CiviCRM&q=civicrm%2Fmailing%2Foptout&reset=1&jid=19&qid=23&h=352376ef3e159129)
  
  That turns out to not be a valid link. I have a feeling there must be a setting somewhere for that.
  
  **Tags:** civimail
  
  > **Comments:**
  > **username_0**: I checked the CMS database integration in system settings and this should be the valid link. Is there another place I need to set this?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2019-06-19. Score: 2
  
  I added Options -Indexes to the Apache configuration file which changed the behavior of the link. The URL is controlled by a page in WordPress, which is creates a permalink.
  
  
  ---
  
  