# Slug Migration Complete: arbeit-40 → arbeit-4-0

**Migration Date:** 2026-03-07  
**Old Slug:** `arbeit-40`  
**New Slug:** `arbeit-4-0`  
**Status:** ✅ Complete

## Summary

Successfully migrated slug from `arbeit-40` to `arbeit-4-0` to improve semantic clarity and match competitor convention (ZMI uses `arbeit-4-0`).

## Changes Made

### 1. Post Data Files
- ✅ Renamed: `v2/data/blog/posts/lexikon/arbeit-40.json` → `arbeit-4-0.json`
- ✅ Updated `slug` field: `"arbeit-40"` → `"arbeit-4-0"`
- ✅ Updated `url` field: `"/insights/lexikon/arbeit-40/"` → `"/insights/lexikon/arbeit-4-0/"`
- ✅ Updated featured image paths: `arbeit-40-*.webp` → `arbeit-4-0-*.webp`

### 2. Documentation Directory
- ✅ Renamed: `docs/content/blog/posts/lexikon/arbeit-40/` → `arbeit-4-0/`

### 3. Related Posts (11 files updated)
- ✅ `betriebliche-weiterbildung.json`
- ✅ `debitorenbuchhaltung.json`
- ✅ `bradford-faktor.json`
- ✅ `saisonarbeit.json`
- ✅ `interim-management.json`
- ✅ `performance-management.json`
- ✅ `prämienlohn.json`
- ✅ `potenzialanalyse.json`
- ✅ `lohnsteuerabzug.json`
- ✅ `karenzentschaedigung.json`
- ✅ All updated with new slug and URL in `related_posts` array

### 4. Configuration Files
- ✅ `v2/data/blog/seo-meta.json` - Updated key from `lexikon/arbeit-40` to `lexikon/arbeit-4-0`
- ✅ `v2/data/lead_capture_copy.php` - Updated key from `blog_arbeit_40` to `blog_arbeit_4_0` and URL
- ✅ `docs/content/blog/lexikon-inventory/merged.json` - Updated slug reference

### 5. Image Files
- ✅ Renamed: `arbeit-40-640w.webp` → `arbeit-4-0-640w.webp`
- ✅ Renamed: `arbeit-40-1024w.webp` → `arbeit-4-0-1024w.webp`
- ✅ Renamed: `arbeit-40-1280w.webp` → `arbeit-4-0-1280w.webp`

### 6. Redirect
- ✅ Added 301 redirect in `.htaccess`:
  ```
  RewriteRule ^insights/lexikon/arbeit-40/?$ /insights/lexikon/arbeit-4-0/ [R=301,L,QSA]
  ```
- ✅ Tested: Redirect returns `301 Moved Permanently`

### 7. Backup
- ✅ Created backup: `arbeit-40.json.backup-20260307-220415`

## Files That Auto-Update

These files are dynamically generated and will automatically reflect the new slug:
- `sitemap-blog.xml` - Generated from post JSON files
- LLM files (`llms.txt`, `llms-full.txt`) - Generated from post data

## Verification

### Redirect Test
```bash
curl -I "http://localhost:8003/insights/lexikon/arbeit-40/"
# Returns: HTTP/1.1 301 Moved Permanently
```

### Remaining References
- Backup file: `arbeit-40.json.backup-20260307-220415` (intentional, keep for rollback)
- Documentation files in `arbeit-4-0/` directory may contain old slug in content (acceptable, historical references)

## Next Steps

### Google Search Console
1. **Submit Updated Sitemap:**
   - Go to GSC → Sitemaps
   - Resubmit: `https://www.ordio.com/sitemap-blog.xml`

2. **Monitor Redirect Recognition:**
   - Use URL Inspection tool
   - Check old URL: Should show redirect to new URL
   - Timeline: 1-3 days for recognition, 1-2 weeks for full indexing

3. **Request Indexing:**
   - Use URL Inspection tool
   - Enter new URL: `/insights/lexikon/arbeit-4-0/`
   - Request indexing if not already indexed

### Monitoring
- Monitor GSC Coverage report for any errors
- Check redirect recognition status
- Verify new URL indexing status
- Monitor search performance (rankings, impressions)

## Rationale

**Why `arbeit-4-0` instead of `arbeit-40`:**
1. **Better semantic clarity:** Preserves "4.0" concept (fourth industrial revolution)
2. **Competitor alignment:** Matches ZMI convention (`arbeit-4-0`)
3. **Improved readability:** Users immediately understand it refers to "Arbeit 4.0"
4. **SEO benefit:** More descriptive slug may improve click-through rates

## Rollback (If Needed)

If rollback is required:
1. Restore backup: `mv arbeit-40.json.backup-20260307-220415 arbeit-40.json`
2. Revert directory rename: `mv arbeit-4-0 arbeit-40`
3. Revert image file names
4. Revert all related post references
5. Remove redirect from `.htaccess`
6. Revert config file changes

**Note:** Only rollback if critical issues arise. The new slug is semantically superior and follows best practices.
