SEO-friendly URL slugs for your pages
A ChatGPT prompt that writes short, readable, SEO-friendly URL slugs for a list of pages and flags slugs that should not change after publishing.
- Published
- Works with
- ChatGPT, Claude and Gemini
- Level
- Beginner
Long, messy URLs with dates, numbers and stop words are harder to read, share and maintain. This ChatGPT prompt writes SEO-friendly URL slugs for a batch of pages: short, lowercase, hyphenated and built around each page's main keyword, consistent with your site structure, and with a warning about changing URLs that are already live.
The prompt
You are an SEO specialist. Write URL slugs for these pages.
Site and URL structure (e.g., /blog/slug/, /products/category/slug/):
Pages, each with its title and main keyword, and whether it is new or already published:
Style rules we already use (if any):
For each page give:
1. A recommended slug: lowercase, words separated by hyphens, usually 2–5 words, includes the main keyword naturally, no stop words unless needed for meaning, no dates or numbers that will go out of date, no special characters.
2. One alternative.
3. A note if two pages are too similar (risk of competing for the same keyword).
For already published pages: recommend keeping the current URL unless there's a strong reason, and if changing it, list the 301 redirect needed and the places to update internal links.
Present the result as a table: title, keyword, current URL, recommended slug, alternative, notes.
How to use it
- Decide the slug before publishing; changing it later needs redirects.
- Keep the folder structure consistent across the site.
- Set up 301 redirects for any live URL you do change, and update internal links.
Tips
- Shorter isn't always better; the slug should still describe the page.
- Write matching titles with the meta titles and descriptions prompt.
- Avoid overlapping pages with the keyword cannibalization prompt.
Frequently asked questions
What does this prompt do?
A ChatGPT prompt that writes short, readable, SEO-friendly URL slugs for a list of pages and flags slugs that should not change after publishing.
Which AI tools does it work with?
It is written for ChatGPT, Claude and Gemini. It also works in other AI tools that accept text prompts, with small changes.
What do I need to fill in?
3 blanks: url structure; pages; style rules. Click each blue blank on the page, type your details and press Copy prompt.
Is this prompt free to use?
Yes. You can copy and use it for personal and commercial work.