elementor / elementor/wp2static
Subdirectory hosted WP not exporting properly - debugging inside
- Dominant language
- PHP
- Stars
- 1.5k
- Forks
- 294
- PR merge metrics
- No merged PRs in 30d
Description
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!
Contributor guide
Assessment
This issue has not been assessed yet.