1

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:

https://example.com/two

I want it to be generated like this:

https://example.com/two/
1

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 agree to our terms of service, privacy policy and cookie policy

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