Convert System Path to HTTP URL

path → url  ·  dev utility

GitHubSPA Preview Tool

Environment

Location:

/transformative.click/src/View/Main.page.php

Base Path:

/transformative.click

Server Type:

nginx/1.24.0

Server Name:

transformative.click

Server IP:

216.218.216.167

Resulting URL

{{ selectedUrl }}

Pick a radio button from the results below — or edit directly.

Details

Edit ./src/View/Main.page.php or its future public/content replacement to customize this View.

Modify ./src/Model/P2u2.php to Model the URL for your environment.

Experiment with Vue.js to dynamically transform the resulting URL.

Path Processing Methods (separated pipeline) [details]

Using the new separated pipeline: PathTransformer (normalization), UrlBuilder (construction), UrlEvaluator (evaluation).

Path components are extracted via regex and stored in $pipelineData['components'].

  • buildByComp uses host and trimmed path from UrlBuilder output.
  • concatThis filters host-like components from the path components.
  • concatSwitch uses all components from UrlEvaluator output.

Convert System Path

Conversion Results

Select a result to use in the Domain Configuration below:

Direct hostname construction

http://transformative.click

Filtered paths (most reliable)

http://transformative.click

Switch-case logic (experimental)

http://transformative.click