Opened 16 years ago
Closed 13 years ago
#9949 closed defect (bug) (worksforme)
Follow 301s when importing
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.8 |
Component: | Import | Keywords: | |
Focuses: | Cc: |
Description
Change History (3)
Note: See
TracTickets for help on using
tickets.
wp_get_http() uses
$options['redirection'] = 5;
to follow 301 redirects. I tested this by uploading and inserting an image into a post, then I added a 301 redirect for that image to the .htaccess of the site:Finally I exported and imported into a different site. The import site had an image named "image", but the content was that of different.png.