简体   繁体   中英

How to insert a static page in WordPress

I have WP instance installed on hosting. I also have one static HTML page in its own folder with some graphic files that I want to use as landing page for the site. I don't want to insert it as WP page or anything like that, want to keep it simple. I have also permalinks configured. So I can't access the page just by going to www.mysite.com/landingpage/index.html now. Is there a simple way to make the static page accessible inside WordPress instance?

For each page, create a template, with the static text you want, the query for the category you want to display, and a copy of index.php of your theme.

Some links you may like to see.

Good luck.. :-)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM