Viewing 6 replies - 1 through 6 (of 6 total)
  • Yes – if you can log in to your admin area, in ‘Settings -> General’ change ‘WordPress address (URL)’ and ‘Site address (URL)’ to your new address.

    If this is still failing, or you are unable to log in and do this, then there is a way of going it directly in the database –

    On the ‘wp_options’ table, change ‘siteurl’ and ‘home’ options to your desired URL – if you are doing it this way, don’t forget to add a trailing slash (i.e. ‘http://firstdomain.com/’).

    Thanks.

    Thread Starter vineetsharma1986

    (@vineetsharma1986)

    Done as required but still not working… 🙁

    Try updating the permalink structure..

    Also, if you have FTP’ed the images previously( on firstdomain ) the url can’t be changed automatically.

    Thread Starter vineetsharma1986

    (@vineetsharma1986)

    Updated the permalink structure…still now working.

    Secondly, I use Windows Live Writer for posting content and images.

    still now working.

    I take it as “not”

    Secondly, I use Windows Live Writer for posting content and images.

    If you have not used media manager to upload the pictures, I don’t think the urls can change automatically.

    If you have not used media manager to upload the pictures, I don’t think the urls can change automatically.

    If the Media manger on WP was not used, then how can media be uploaded at all? Unless you are not expecting the entries to be in the database?

    When you use the Media manager, WP creates a row in the ‘wp_posts’ table with the post_type of ‘attachment’, and also some rows in the ‘wp_postmeta’ table that are linked by the post_id field.

    ‘_wp_attached_file’, which is the link to the file from the wp_content folder (i.e. now it would say ‘2010/12/example_image.jpg’) and ‘_wp_attachment_metadata’, which holds the likes of the height, width, datestamp and again the file location are the rows created in the ‘wp_postmeta’ table.

    Try having a look at some of these to see if the URL is relative, as above, or absolute – in the case of absolute, looks like you’ll be changing them manually (which is easy with a Query).

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Image Redirection Problem’ is closed to new replies.