Pages in root, posts in folder
-
Hi,
I have been poking through the codex, forums and plugins for days; please forgive me if this is answered somewhere as I can’t find it.
I have WordPress installed in its own /wordpress directory with a number of static pages as well as posts. I use templates including index.php, home.php and page.php.
I would like all the static pages, including Home, to *appear* to be in the root. I would like the posts, including the blog index, to continue to appear to be in a subfolder. So I want Home to function as the *site* home, and index to function as the *blog* home (showing the most recent posts).
So for example the URLs the visitor would see would be:
Home: – https://www.domain.com (pointing to what is now https://www.domain.com/wordpress/home using home template)
About Us: – https://www.domain.com/about or https://www.domain.com/about.php
(pointing to what is now https://www.domain.com/wordpress/about using page template)Contact Us: – https://www.domain.com/contact or https://www.domain.com/contact.php
(pointing to what is now https://www.domain.com/wordpress/contact using page template)… and then…
Blog: – https://www.domain.com/wordpress or https://www.domain.com/wordpress/index.php – which is its actual url now.Just to be clear, I do want the static pages to continue to call the header, sidebar and footer, just to appear to the visitor to be in root.
Not to be too demanding ?? but it would help a lot if the process of showing people the wordpress home.php as the *site* root was SEO friendly.
Thanks ??
- The topic ‘Pages in root, posts in folder’ is closed to new replies.