• Resolved toleolu

    (@toleolu)


    Hope I can describe this right. We will be switching to our new Word Press website tomorrow. We host he site within the child domain of a much larger university domain.

    Our new website is on a different server than the old one, the university will do a redirect to the new server. My concern is our users uploded a lot of media using the absolute path rather than a relative path. Will those links break when we switch over?

    Hope that makes sense?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter toleolu

    (@toleolu)

    As an update, we did a quick test by doing a redirect in apache to www2.sitename and the site works, but we can’t login.

    Changed back so we could log in, changed the SITE url to match the new www2 url but that didn’t fix it. Should we have changed the WordPress URL instead??

    I’m home now so I can’t test it live. If we screw up that wordpress url when we need to go into the database and change it back, right?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    If we screw up that wordpress url when we need to go into the database and change it back, right?

    That’s one way. Another is to use update_option() in your theme’s functions.php file.

    https://codex.www.ads-software.com/Changing_The_Site_URL#Edit_functions.php

    Are our absolute links going to break

    If you’re also moving content as well then the absolute URLs in that content will break. So you need to (safely) search and replace the old references from https://www.sitename to https://www2.sitename within the database.

    See this article for more info.

    https://codex.www.ads-software.com/Moving_WordPress

    Thread Starter toleolu

    (@toleolu)

    Turns out we got lucky on this one. The reason we couldn’t get logged in was because we changed the site url to the redirect rather than the Word Press url to the redirect. Everything is working fine, and thank God we are finally off that Plone system. What a nightmare that was.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Are our absolute links going to break’ is closed to new replies.