質問編集履歴

1

ディレクトリ構成について追記しました。

2019/02/22 04:04

投稿

gamips
gamips

スコア60

test CHANGED
File without changes
test CHANGED
@@ -51,3 +51,65 @@
51
51
  # END WordPress
52
52
 
53
53
  ```
54
+
55
+
56
+
57
+ [追記]ディレクトリ構成は以下になります。関連のありそうな箇所のみ出しています。
58
+
59
+
60
+
61
+ ```directory
62
+
63
+ (root)
64
+
65
+ ├── .htaccess
66
+
67
+ ├── index.php
68
+
69
+ └── wordpress
70
+
71
+    └── wp-content
72
+
73
+       └── theme
74
+
75
+          └── theme-a
76
+
77
+             ├── function.php
78
+
79
+             ├── index.php
80
+
81
+             ├── header.php
82
+
83
+             ├── footer.php
84
+
85
+             ├── loop.php
86
+
87
+             ├── front-page.php
88
+
89
+             ├── category.php
90
+
91
+             ├── single.php
92
+
93
+             └── style.css
94
+
95
+ ```
96
+
97
+
98
+
99
+ URLの構成は以下になります。
100
+
101
+ * 末尾の?ampの有無でhtmlを出し分けしています。
102
+
103
+ ```URL
104
+
105
+ https:hogehoge.com
106
+
107
+ ├── index.php
108
+
109
+ └── (カテゴリー名)
110
+
111
+    ├── index.php
112
+
113
+    └── (投稿記事名).php
114
+
115
+ ```