Redirecting pageid urls
-
I’ve recently overhauled a very old website which for some reason had preferred to use raw pageid URLs (site.com/?p=2032).
We changed to pretty URLs using slugs and did a full content audit, consolidating duplicated content and making the structure logical. Now we’d like to redirect anyone using those old pageid URLs to the content’s new location. Just putting the old pageid in to 301 doesn’t seem to work. I’ve read that’s expected and that putting the new page slug in as the page to be redirected should work but not having success here either. I still get 404 errors in the log on pages I’ve set redirects for.
i should mention that most of these pages are unpublished (but not deleted yet). The content was moved into the more appropriate custom post type which is now where I’m trying to redirect to.what is the best way to address the redirecting of old pageid URLs for pages that are no longer active?
- The topic ‘Redirecting pageid urls’ is closed to new replies.