alpipego/resolve-attachment-path

Resolve relative attachment/uploads paths in WordPress

1.1.0 2023-06-30 08:22 UTC

This package is auto-updated.

Last update: 2024-11-30 02:16:33 UTC


README

A micro plugin to resolve attachment paths and urls

Who is this for?

Anyone who does not like relative path dots in their asset urls/paths and who does not have a "standard" WordPress installation.

If you have a relative path, the WordPress uploader won't work.

http://example.com/wordpress/../uploads/image.jpg

becomes

http://example.com/uploads/image.jpg