I want to make sure that all my links from one article to another end in a '/'.

Currently, there is a link on article "One" that contains a link to "Two" and it's generated like this:


I want it to be generated like this:


You can do this using a custom plugin that will just do a find and replace on all the links in the body of the HTML and append a forward slash.

Alternatively, you can add a rule to your .htaccess file to have the links 301 redirected. See here.

  • Would you mind putting a bit more of the "beef" in this answer? – mickmackusa Jul 10 '18 at 0:35

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.