How to create a WordPress PAGE in another folder?

Question

I have a URL Shortening script running on the homepage while there is a WordPress installation on another folder named blog. So that would look like this https://homepage.com/blog

The problem is that I need to be able to create “PAGES” for terms, about, FAQ, private policy, etc. Whenever a page is created in WordPress for let’s say “terms” then a page like this is created: https://homepage.com/blog/terms

What the URL really should be is https://homepage.com/page/terms. The reasoning is because the homepage’s script has it’s own links pointing to it’s own pages and blog.

So far since I have successfully managed to create the WordPress blog in https://homepage.com/blog then this overwrites the links in the homepage’s own blog so that they point to the actual WordPress blog.

So I am thinking that if that is possible then it should be possible to have the links in the homepage point to “Pages”, which I want to be “Pages” that were actually created in WordPress.

In other words, how can I create, move, recreate, or duplicate https://homepage.com/blog/terms which I actually want to be located at https://homepage.com/page/terms so that the homepage links can point to that instead?

I only have limited knowledge on php scripts and none as far as database tables are concerned. If I could create a php file for this then that would be so greatly appreciated.

I have a child-theme for the WordPress installation that php files can be placed in. The homepage’s script is all in php and MySQL.

0
, , , Marc Striebeck 2 years 2019-11-21T10:11:41-05:00 0 Answers 80 views 0

Leave an answer

Browse
Browse