質問編集履歴

6

改善

2018/12/06 09:10

投稿

qpooooh
qpooooh

スコア11

test CHANGED
File without changes
test CHANGED
@@ -10,13 +10,21 @@
10
10
 
11
11
  ①「WPインストールサイトURL」と「サイトURL」が異なる
12
12
 
13
- →「http://example.com/wp/」を「http://example.com/」に変更している
13
+ →「http://example.com/dir/wp/」を「http://example.com/」に変更している
14
14
 
15
15
  ②カスタム投稿タイプの投稿ページ、アーカイブページのURLをリライトしている
16
16
 
17
17
  →「posttype」というスラッグに対して、ページのURLを「parent/posttype」にしたい
18
18
 
19
+ →アーカイブページのURLは「http://example.com/parent/posttype/」
20
+
19
21
  ==================
22
+
23
+
24
+
25
+ wpの情報をvar_dumpしたところ、URLのリライトは正しくおこなわれていましたが、
26
+
27
+ 実際そのURLを表示すると404エラーとなってしまします。
20
28
 
21
29
 
22
30
 

5

誤字

2018/12/06 09:10

投稿

qpooooh
qpooooh

スコア11

test CHANGED
File without changes
test CHANGED
@@ -20,7 +20,7 @@
20
20
 
21
21
 
22
22
 
23
- また、下記のどちらか変更したところ、ページは表示されました。
23
+ また、下記のどちらか変更したところ、ページは表示されました。
24
24
 
25
25
  ==================
26
26
 

4

誤字

2018/12/06 06:37

投稿

qpooooh
qpooooh

スコア11

test CHANGED
File without changes
test CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
  ①「サイトURL」を「WPインストールサイトURL」と同様にする
28
28
 
29
- ②カスタム投稿タイプの投稿ページ、アーカイブページのURLリライトしている
29
+ ②カスタム投稿タイプの投稿ページ、アーカイブページのURLリライトをfalseに
30
30
 
31
31
  ==================
32
32
 

3

改善

2018/12/05 08:34

投稿

qpooooh
qpooooh

スコア11

test CHANGED
File without changes
test CHANGED
@@ -10,13 +10,13 @@
10
10
 
11
11
  ①「WPインストールサイトURL」と「サイトURL」が異なる
12
12
 
13
+ →「http://example.com/wp/」を「http://example.com/」に変更している
14
+
13
15
  ②カスタム投稿タイプの投稿ページ、アーカイブページのURLをリライトしている
14
16
 
17
+ →「posttype」というスラッグに対して、ページのURLを「parent/posttype」にしたい
18
+
15
19
  ==================
16
-
17
- ②に関して補足:「posttype」というスラッグに対して、ページのURLを「parent/posttype」にしたい
18
-
19
-
20
20
 
21
21
 
22
22
 

2

改善

2018/12/05 08:33

投稿

qpooooh
qpooooh

スコア11

test CHANGED
File without changes
test CHANGED
@@ -13,6 +13,10 @@
13
13
  ②カスタム投稿タイプの投稿ページ、アーカイブページのURLをリライトしている
14
14
 
15
15
  ==================
16
+
17
+ ②に関して補足:「posttype」というスラッグに対して、ページのURLを「parent/posttype」にしたい
18
+
19
+
16
20
 
17
21
 
18
22
 

1

誤字

2018/12/05 08:26

投稿

qpooooh
qpooooh

スコア11

test CHANGED
@@ -1 +1 @@
1
- 【WP】カスタム投稿タイプの表示
1
+ 【WP】カスタム投稿タイプにて404エラー
test CHANGED
File without changes