Avada Forums Community Forum hostname / URL hardcoded into database

Tagged: , ,

Viewing 1 post (of 1 total)
  • Author
    Posts
  • alanshort
    Participant
    Post count: 8

    Hello!

    I’m building a new site on a local machine and plan to move to my web host when completed.

    I’m seeing however after importing a prebuilt site that the hostname of the local machine is present within the database. Edits that I’m doing, e.g. uploading a new background image are also in the database as the full URL including the hostname.

    I’ve dumped the database from phpmyadmin to get an example:


    var(--awb-color7)\" background_image=\"http://wordpress.local/wp-content/uploads/2016/01/testimonial_bkgd.jpg\"
    ….

    If I move the site to the web host, will the site break? How do the hardcoded data for the hostname.local get updated? Do we have to do a find and replace in the database?

    • This topic was modified 1 month ago by alanshort.
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.