Subdirectory hosted WP not exporting properly - debugging inside
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
調査の方向性
ファイル、テスト、エントリポイントは指定されていません。/wp/ にある WordPress と、example.com/wp2/ や example.com/wp-static/ などの後処理後の値を使ってエクスポートを再現し、設定されたサブディレクトリがリソースパスと結合される箇所を追跡してください。リソースが入力されたディレクトリを、対応するテキストを重複させるのではなく一度だけ使用すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I've been testing this plugin on Centos7 cpanel server with php 8.0 and wordpress 5.7.2. I have wordpress installed at example.com/wp/ and I've been trying various post processing to make it work in a different sub directory.
If I type "" into postprocessing it expects the static site to exist at example.com as expected. This seems to work just fine.
If I type "example.com/static/" into postprocessing it expects the site to exist at example.com/static/ as expected. This also seems to work just fine.
If I type "example.com/wp/" into postprocessing then it expects the static site to exist at example.com/wp/ as expected, but this kind of defeats the purpose because I'd have to move the non-static wordpress to some other directory and then probably have to update the config so it knows it's new directory.
If I type "example.com/wp2/" into the postprocessing box then all the resources look for example.com/wp22/ for some reason it duplicates the 2.
If I type "example.com/wp-static/" into the postprocessing box then all the resources look for example.com/wp-static-static/ for some reason it puts "-static" twice.
If I type "example.com/wpstatic/" into the postprocessing box then all the resources look for example.com/wpstaticstatic/ likewise it duplicates "static".
There's something strange going on with duplicating text entered into the post processing box when part of the subdirectory matches the original subdirectory I guess? Excellent plugin by the way! I've been looking for a good wordpress to static site converter forever, and most of them are abandoned or don't work. This plugin seems to work perfectly minus this small quirk I found about subdirectories. Keep up the great work!
- 主要言語
- PHP
- スター
- 1.5k
- フォーク
- 293
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
elementor/wp2static のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 55/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
elementor/wp2static の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
PrestaShopCorp/ps_eventbus#505 ·
-
`path` option is dropped from request URLs when it has no trailing slash対応中かも @RaphaelFakhri が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
pusher/pusher-http-php#411 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
OpenConext/OpenConext-engineblock#2168 ·
メンテナーはふだん 5 日以内に返信
-
mobile-app
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
Open-Locker/Open-Locker#352 ·
メンテナーはふだん 1 日以内に返信