humanmade / humanmade/network-media-library

Attachment file URLs should always point to the central media site

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
296
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Inserting an image into a post from the Add Media button results in a URL that points to the current site (at least when subdirectory sites are used).

The image URL ideally should always point to the central media site.

Stretch goal: The URL behaviour could be configurable in case this behaviour needs to controlled by the network. Need to look into the SEO benefits of each option. Need to test with:

* [ ] Subdirectories
* [ ] Subdomains
* [ ] Domain mapping

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing image insertion from the Add Media button in the listed subdirectory, subdomain, and domain-mapping configurations. Trace where the attachment URL is generated and verify that it points to the central media site in each case; any configurable behavior and SEO trade-offs are identified as a stretch goal.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.