You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my example project, the values for the src and href attributes have unfortunately been assigned inconsistently. This is due to the fact that it is an older Joomla project, which has apparently undergone changes in the meantime due to plugins and components.
yes, the addition of this functionality is useful and I have thought about something similar during development.
But I want to release a new version of the whole application in a few days and implementing this will not be trivial, so I will implement it after the new year.
In my example project, the values for the src and href attributes have unfortunately been assigned inconsistently. This is due to the fact that it is an older Joomla project, which has apparently undergone changes in the meantime due to plugins and components.
Here are a few examples:
It affects not only images, but also regular HTML links and results in the directory structure in the target directory becoming redundant.
Could we introduce a parameter that merges all these URLs and enforces relative paths?
--force-relative-urls
Reference should be made to the domain in the
--url
parameter and only apply to the following URLs:Of course, you could also allow a regex as a parameter, but these cases should be rare:
--force-relative-urls-regex='^(https?:\/\/)?(www\.)?example\.com\/.*|^\/.*'
What do you think?
The text was updated successfully, but these errors were encountered: