I'm attempting to implement WordPress into a significant large site having a complex page structure and battling to obtain normal pages to operate (not produced with the admin)
After I connect to them, nothing happens, mainly because...
The preferred url - www.website.com/dir1/dir2/dir3/page.php
The particular url- www.website.com/wordpress-content/styles/themename/dir1/dir2/dir3/page.php
The issue with connecting towards the latter is it breaks the WordPress functions
I'd rather not need to give every page a template, adding it with the admin, it's an excessive amount of work. I just have 2 pages to contain dynamic content.
I want the files to become within the theme folder or even the wordpress functions won't work.
I should also keep your folder structure (clearly), but creating new pages using template folders will forfeit this structure.
Shall We Be Held being silly? I'm really confused.
In WordPress, you will find two fundamental types of content: static content and dynamic content. Dynamic content describes posts inside your feed static refers back to the pages. Both of them are handled within the admin section. Because WordPress is really a posting platform, its primary problem is this content. Due to this, static and dynamic don't make reference to what you can do to update them in the admin section, but instead the regularity that they'll be up-to-date. I've some which have static pages that haven't been up-to-date because the day I produced them. Blog feeds, however, can change frequently. The previous are static, as the latter are dynamic.
If you would like the very first url structure, what you want about it might be to complete 1 of 2 things:
- produce the pages with the back finish using hierarchical structures to attain the url structure (i.e. dir1, dir2, and dir3 could be pages, not sites. They'd be also hierarchical, meaning page.php is really a child of dir3, the industry child of dir2, etc.), or
- create individuals sites physically inside your web root folder. As lengthy because they don't conflict together with your WordPress folder structure (wordpress-content, wordpress-admin, and wordpress-includes), they'll be offered rather than a WordPress page.
If you are likely to be developing a new php page for every single static page in your site anyway, I'd really suggest simply using WordPress with this. I can not imagine you'd be utilizing a completely new (and different) template for each page, therefore it would save your time to make use of WordPress as it is intended to be used: like a posting platform.