This automation script is solve a certain WordPress SEO problem..... When a WordPress site goes live, one of the tasks for SEO is to rename all images in the media library and add description text, alt text and captions for all images.... This automated script will visit any WordPress website, Login go to media library and rename each and every image correctly
git clone https://github.com/root-account/python_selenium_automation.gitpython_selenium_automation is an automation script designed to streamline WordPress SEO optimization tasks. It automates the process of renaming images in the WordPress media library and adding metadata including description text, alt text, and captions. The script logs into WordPress sites, navigates to the media library, and systematically updates each image with proper SEO attributes. This tool is particularly useful when launching WordPress websites that require bulk image optimization for search engine visibility.
Bulk rename and optimize images in WordPress media library after site launch
Add alt text and descriptions to multiple images simultaneously for SEO compliance
Automate caption generation and metadata assignment for WordPress image assets
Streamline on-page SEO preparation for newly launched WordPress websites
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/root-account/python_selenium_automationCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
I need a Python Selenium script to automate WordPress image SEO optimization for [COMPANY], a [INDUSTRY] business. The script should log in to the WordPress admin panel at [URL], navigate to the media library, and update each image with the following details: rename to [IMAGE_NAME], add description [DESCRIPTION], alt text [ALT_TEXT], and caption [CAPTION]. The script should handle [NUMBER] images and save changes.
# WordPress Image SEO Automation Script ## Script Overview - **Company**: GreenTech Solutions - **Industry**: Renewable Energy - **URL**: https://greentech.com/wp-admin - **Images Processed**: 45 - **Status**: Completed ## Image Updates 1. **Image**: solar-panel.jpg - **New Name**: premium-solar-panel-installation.jpg - **Description**: High-quality solar panel installation by GreenTech Solutions - **Alt Text**: Solar panel installation by GreenTech Solutions - **Caption**: GreenTech Solutions' premium solar panel installation service 2. **Image**: wind-turbine.png - **New Name**: advanced-wind-turbine-technology.png - **Description**: Advanced wind turbine technology for clean energy - **Alt Text**: Advanced wind turbine technology - **Caption**: GreenTech Solutions' advanced wind turbine technology ## Summary All 45 images in the media library have been successfully updated with new names, descriptions, alt text, and captions. The script has improved the SEO of the GreenTech Solutions website.
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan