Don’t include %category% anywhere in your custom permalink string, then it won’t need the
“attachment” text. Also, don’t use numeric slugs for the page/post name. Same basic problem occurs there.
Don’t include %category% anywhere in your custom permalink string, then it won’t need the
“attachment” text. Also, don’t use numeric slugs for the page/post name. Same basic problem occurs there.