I’m trying to use HTML Import 2 to import 400 static html pages into WP Posts as drafts. The posts imported OK BUT there is something terribly wrong with the permalinks and I can’t figure it out.
I can edit the posts just fine in the WP admin, but again, if I go to ‘View’ the post… even if I use the shortcode URI, I get a 404… it just redirects to the postname permalink and then throws a 404.
Also, I checked the .htaccess and it’s the std one you see in the Codex post on Permalinks.
Here’s what I know.
1. All the posts and pages I’ve written (not imported) work fine.
2. All the posts I imported with HTML Import will only work with the default structure (?p=3321)… when I try to use ‘pretty permalinks’ these imported posts throw a 404.
3. BUT if I edit the permalink of an imported post–for example changing one char—it then WORKS. However if I change it back to what it originally used (which is usually what I want), it again fails.
So… it seems as though the permalinks are somehow being ‘reserved’.. ie. they’re being used by some draft or trash version of a post I can’t ‘see’?
I don’t understand where the permalinks are stored in the db otherwise I’d go searching for my theory.
- The topic ‘[Plugin: HTML Import 2] Postname Permalinks Not Working’ is closed to new replies.