# WordPress Codebase Upload Checklist

**Status:** AWAITING CyberPanel PATH INFORMATION

---

## INFORMATION NEEDED BEFORE PROCEEDING

Please provide your CyberPanel details by filling in `CODEBASE_UPLOAD_PREPARATION.md`

Once provided, I will give you:

- [ ] **Exact rsync/SCP command** (copy-paste ready)
- [ ] **Custom wp-config.php** (with your credentials)
- [ ] **Permission commands** (755/644)
- [ ] **Verification steps**
- [ ] **Testing instructions**

---

## FILES TO BE UPLOADED (214 MB total)

### Core WordPress Directories (UPLOAD THESE)

```
✅ wp-admin/                    (10 MB)
   ├─ Contains: WordPress admin panel files
   ├─ Status: DO NOT modify
   └─ Upload: Complete directory

✅ wp-includes/                 (54 MB)
   ├─ Contains: WordPress core functionality
   ├─ Status: DO NOT modify
   └─ Upload: Complete directory

✅ wp-content/                  (147 MB)
   ├─ Contains: Themes, plugins, uploads
   ├─ Custom Theme: cafirm/
   ├─ Plugins: 11 (ACF Pro, Gravity Forms, Yoast, etc.)
   ├─ Uploads: Media library
   ├─ Status: DO NOT modify
   └─ Upload: Complete directory
```

### Core WordPress Files (UPLOAD THESE)

```
✅ wp-config.php                (CUSTOM - I will provide)
   ├─ DB_NAME: gloc_flocal
   ├─ DB_USER: gloc_glocal
   ├─ DB_PASSWORD: Developer@123
   ├─ DB_HOST: localhost
   └─ Upload: Custom version

✅ index.php                     (WordPress entry point)
✅ wp-activate.php              (Multi-site support)
✅ wp-blog-header.php           (Blog header)
✅ wp-comments-post.php         (Comment handler)
✅ wp-cron.php                  (Scheduled tasks)
✅ wp-load.php                  (Bootstrap loader)
✅ wp-login.php                 (Login page)
✅ wp-mail.php                  (Mail handler)
✅ wp-settings.php              (Settings)
✅ wp-signup.php                (Multi-site signup)
✅ wp-trackback.php             (Trackback handler)
✅ xmlrpc.php                   (XML-RPC API)
✅ wp-salt.php                  (Security salts - KEEP)
✅ .htaccess                    (URL rewriting)
✅ license.txt                  (WordPress license)
✅ readme.html                  (README file)
```

### Total Size
```
wp-admin/           10 MB
wp-includes/        54 MB
wp-content/        147 MB
Core files           2 MB
─────────────────────────
TOTAL:            ~213 MB
```

---

## FILES TO SKIP (DO NOT UPLOAD)

```
❌ DATABASE/ folder
   Reason: Database already imported

❌ public_html/ folder
   Reason: Different installation (production backup)

❌ glocalconsultants.com_BACKUP/ folder
   Reason: Full backup (unnecessary, uses 566 MB)

❌ All *.zip files
   ├─ glocalconsultants.com_BACKUP.zip (202 MB)
   ├─ public_html_2025-02-22_15_13_28.zip (100 MB)
   └─ wordpress-6.5.3.zip (25 MB)
   Reason: Archived backups (not needed)

❌ .claude/ folder
   Reason: Claude Code configuration (local only)

❌ .DS_Store
   Reason: macOS metadata (not needed)

❌ .htaccess.bk
   Reason: Old backup file (not needed)

❌ *.md documentation files
   ├─ project_analysis_progress.md
   ├─ system_memory.md
   ├─ local_setup_log.md
   ├─ next_session_revert_prompt.md
   ├─ current_local_state.md
   ├─ CYBERPANEL_DATABASE_SETUP.md
   ├─ CYBERPANEL_DATABASE_IMPORT.md
   ├─ IMPORT_COMMANDS.md
   ├─ CODEBASE_UPLOAD_PREPARATION.md
   ├─ server_deployment_plan.md
   └─ UPLOAD_CHECKLIST.md
   Reason: Local documentation (not needed on production)

❌ Index3.html, index1.html, readme.html (duplicates)
   Reason: Temporary test files (not needed)

❌ malcare-waf.php
   Reason: Security file (if not needed, skip)

Total Skip Size: ~900+ MB (saved by not uploading!)
```

---

## WHAT WILL HAPPEN

### Phase 1: Upload
```
1. Files uploaded from local to server document root
2. Proper directory structure maintained
3. No nested folders
4. All files in place
```

### Phase 2: Configure
```
1. wp-config.php configured with database credentials
2. File permissions set (755 for dirs, 644 for files)
3. File ownership set correctly
```

### Phase 3: Test
```
1. Access domain in browser
2. Observe WordPress homepage
3. Check for database connection errors
4. Check for file permission errors
5. Note any URL/SSL issues (will fix in next step)
```

---

## UPLOAD SIZE COMPARISON

```
✅ RECOMMENDED (Upload only WordPress):
   Size: ~214 MB
   Time: ~5-10 min
   Risk: Low

❌ NOT RECOMMENDED (Upload everything):
   Size: ~1.1 GB
   Time: ~20-40 min
   Risk: High (unnecessary files, slower upload)

Savings by being selective: ~900 MB, ~30 minutes!
```

---

## NEXT STEP

**Provide information in:** `CODEBASE_UPLOAD_PREPARATION.md`

Once received, I will create:
1. ✅ Custom wp-config.php
2. ✅ Exact upload command (rsync/SCP)
3. ✅ Permission setup script
4. ✅ Verification commands
5. ✅ Testing instructions

---

## QUICK REFERENCE - YOUR SERVER DETAILS

```
Server IP:        168.231.120.147
SSH Port:         22
SSH Username:     gloca6781
SSH Password:     Developer@123

Database:
  Name:           gloc_flocal
  User:           gloc_glocal
  Password:       Developer@123
  Host:           localhost

Document Root:    [AWAITING YOUR INPUT]
File Owner:       [AWAITING YOUR INPUT]
Upload Method:    [AWAITING YOUR INPUT]
```

---

**STATUS: ⏳ WAITING FOR CYBERPANEL PATH INFORMATION**

Please reply with the information requested in `CODEBASE_UPLOAD_PREPARATION.md`

