Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

Permalink Trailing Slash Fixer

Skildring

When your permalink structure does not end by a trailing slash (/), all your links look like http://example.com/2009/05. Permalink Trailing Slash Fixer add the missing trailing slash.

Example

If you have a site with the following permalink structure /%category%/%postname%.html and your permalinks
look like these:

  1. Single Post: http://example.com/my-category/sample-post.html.
  2. Category: http://example.com/my-category.
  3. Archive: http://example.com/2009/05.
  4. Page: http://example.com/about.

After activation of the plugin:

  1. Single Post: not modified.
  2. Category: http://example.com/my-category/.
  3. Archive: http://example.com/2009/05/.
  4. Page: http://example.com/about/.

Installasjon

Upload the Permalink Trailing Slash Fixer plugin to your blog, Activate it.
Enjoy 🙂

Omtalar

7. november 2017
Not sure why wordpress prefers the 'no slash' approach. But I like a good slash at the end of a URL. This plugin is great. Fixed the problem on my sites in a few seconds. Brilliant! Thanks!
Les alle 3 omtalar

Bidragsytarar og utviklarar

“Permalink Trailing Slash Fixer” is open source software. The following people have contributed to this plugin.

Contributors