directory - how to create a folder in wordpress

This is the dilema:I want to install wordpress in the root (regular installation for a wordpress site). Although, I wan

This is the dilema: I want to install wordpress in the root (regular installation for a wordpress site). Although, I want to have different cities to be available for the user to view the content depending on their choice.

Example: 1. I have 2 cities (New York and Miami) 2. User chooses Miami 3. URL path should be: / 4. All information about Miami should be displayed (nothing about New York)

When creating pages or post ( I would like to have the choice as an admin to put it on the folder(city) I choose to.

Hope I am clear on my dilema. Thank you.

This is the dilema: I want to install wordpress in the root (regular installation for a wordpress site). Although, I want to have different cities to be available for the user to view the content depending on their choice.

Example: 1. I have 2 cities (New York and Miami) 2. User chooses Miami 3. URL path should be: http://www.domain/miami/ 4. All information about Miami should be displayed (nothing about New York)

When creating pages or post ( I would like to have the choice as an admin to put it on the folder(city) I choose to.

Hope I am clear on my dilema. Thank you.

Share Improve this question asked May 22, 2012 at 15:44 GustavoGustavo 111 gold badge1 silver badge2 bronze badges 1
  • How to create folder on WordPress website – Onimasa wasiu Commented Jul 10, 2020 at 6:28
Add a comment  | 

1 Answer 1

Reset to default 5

It might be best not to think of it as "folders" since it all runs off of index.php. The rest of the URL structure does not represent the file structure (eg Folders) but the permalink rewriting structure. (And thus make sure you have Permalinks enabled.)

To create example/miami, you would create a Page within WordPress and set its URL to miami. You can then create "child pages" by creating a page, and selecting Miami as its "parent" page.

http://codex.wordpress/Pages#Organizing_Your_Pages

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742276479a4413684.html

相关推荐

  • directory - how to create a folder in wordpress

    This is the dilema:I want to install wordpress in the root (regular installation for a wordpress site). Although, I wan

    22小时前
    30

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信