WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Make wordpress use relative paths for links (5 posts)

  1. materialmedia
    Member
    Posted 5 years ago #

    Hi

    I've been testing wordpress for the past week. I have it up and running and today I tried moving my wordpress install to a different domain but then I noticed that all the links on the page refereed to the old domain. I found a solution that let's me switch domains here:

    http://codex.wordpress.org/Changing_The_Site_URL

    However I was hoping that wordpress supported relative urls. Basically the reason I want this ability is that I want to have two installs of wordpress using the same database. So one install would be the production website and the other install would be the development website and they would both share the same database. I would need relative urls to make this work.

    Does wordpress support relative urls?

  2. ClaytonJames
    Member
    Posted 5 years ago #

    Interesting discussion here . Shines a light on a lot of related questions.

  3. shidouhikari
    Member
    Posted 5 years ago #

    Why would u want to use ur production database on ur development blog?

    If u do so, anything u do on ur development blog will be applied to ur production blog...

    Why don't u just backup ur production database and restore it on ur development one? That's more secure

  4. materialmedia
    Member
    Posted 5 years ago #

    Thanks ClaytonJames. I found the answer I was looking for in that other discussion.

    shidouhikari our company has been doing this since forever. I'm just following the practice that was set forth a long time ago. Honestly we haven't had any problems with this approach.

  5. ClaytonJames
    Member
    Posted 5 years ago #

    You're welcome.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.