質問編集履歴

6

追記

2021/11/16 15:17

投稿

niconic73027793
niconic73027793

スコア215

test CHANGED
File without changes
test CHANGED
@@ -64,9 +64,7 @@
64
64
 
65
65
  /**
66
66
 
67
- * Front to the WordPress application. This file doesn't do anything, but loads
67
+ * Loads the WordPress environment and template.
68
-
69
- * wp-blog-header.php which does and tells WordPress to load the theme.
70
68
 
71
69
  *
72
70
 
@@ -76,23 +74,33 @@
76
74
 
77
75
 
78
76
 
79
- /**
80
-
81
- * Tells WordPress to load the WordPress theme and output it.
82
-
83
- *
84
-
85
- * @var bool
86
-
87
- */
88
-
89
- define( 'WP_USE_THEMES', true );
77
+ if ( ! isset( $wp_did_header ) ) {
90
78
 
91
79
 
92
80
 
93
- /** Loads the WordPress Environment and Template */
81
+ $wp_did_header = true;
94
82
 
83
+
84
+
85
+ // Load the WordPress library.
86
+
95
- require( dirname( __FILE__ ) . '/wp-blog-header.php' );
87
+ require_once( dirname( __FILE__ ) . '/wp-load.php' );
88
+
89
+
90
+
91
+ // Set up the WordPress query.
92
+
93
+ wp();
94
+
95
+
96
+
97
+ // Load the theme template.
98
+
99
+ require_once( ABSPATH . WPINC . '/template-loader.php' );
100
+
101
+
102
+
103
+ }
96
104
 
97
105
 
98
106
 

5

追記

2021/11/16 15:16

投稿

niconic73027793
niconic73027793

スコア215

test CHANGED
File without changes
test CHANGED
@@ -54,7 +54,7 @@
54
54
 
55
55
 
56
56
 
57
- lp1 の index.php のソースです
57
+ lp1 のディレクトリ内の wp-blog-header.php のソースです
58
58
 
59
59
 
60
60
 

4

追記

2021/11/16 15:10

投稿

niconic73027793
niconic73027793

スコア215

test CHANGED
File without changes
test CHANGED
@@ -51,3 +51,49 @@
51
51
 
52
52
 
53
53
  復元できるようにしたいです。
54
+
55
+
56
+
57
+ lp1 の index.php のソースです
58
+
59
+
60
+
61
+ ```ここに言語を入力
62
+
63
+ <?php
64
+
65
+ /**
66
+
67
+ * Front to the WordPress application. This file doesn't do anything, but loads
68
+
69
+ * wp-blog-header.php which does and tells WordPress to load the theme.
70
+
71
+ *
72
+
73
+ * @package WordPress
74
+
75
+ */
76
+
77
+
78
+
79
+ /**
80
+
81
+ * Tells WordPress to load the WordPress theme and output it.
82
+
83
+ *
84
+
85
+ * @var bool
86
+
87
+ */
88
+
89
+ define( 'WP_USE_THEMES', true );
90
+
91
+
92
+
93
+ /** Loads the WordPress Environment and Template */
94
+
95
+ require( dirname( __FILE__ ) . '/wp-blog-header.php' );
96
+
97
+
98
+
99
+ ```

3

追記

2021/11/16 14:49

投稿

niconic73027793
niconic73027793

スコア215

test CHANGED
File without changes
test CHANGED
@@ -42,9 +42,7 @@
42
42
 
43
43
 
44
44
 
45
- [
46
-
47
- ](https://web.archive.org/web/20201026134313/http://shufu-netbiz.com/lp1/mail-magazine-lp/)
45
+ [リンク内容](https://web.archive.org/web/20201026134313/http://shufu-netbiz.com/lp1/mail-magazine-lp/)
48
46
 
49
47
 
50
48
 

2

追記

2021/11/16 14:20

投稿

niconic73027793
niconic73027793

スコア215

test CHANGED
File without changes
test CHANGED
@@ -35,3 +35,21 @@
35
35
 
36
36
 
37
37
  上記の記載の部分ですが、どうなおせばよいのでしょうか?
38
+
39
+
40
+
41
+ waybackmachine をみると
42
+
43
+
44
+
45
+ [
46
+
47
+ ](https://web.archive.org/web/20201026134313/http://shufu-netbiz.com/lp1/mail-magazine-lp/)
48
+
49
+
50
+
51
+ 上記のようになっています。
52
+
53
+
54
+
55
+ 復元できるようにしたいです。

1

追記

2021/11/16 14:19

投稿

niconic73027793
niconic73027793

スコア215

test CHANGED
File without changes
test CHANGED
@@ -10,13 +10,21 @@
10
10
 
11
11
 
12
12
 
13
- 下記のページです。
14
13
 
15
14
 
16
15
 
16
+
17
+
18
+
19
+ ```
20
+
21
+ 下記のページが問題のURLです。
22
+
17
23
  [リンク内容](https://best-trust.biz/test/lp1/)
18
24
 
19
- ```
25
+
26
+
27
+
20
28
 
21
29
  13行目というと
22
30