WordPress.org

Ready to get started?Download WordPress

Forums

Can I set up redirects on a localhost? (3 posts)

  1. nozzmoking
    Member
    Posted 2 years ago #

    I'm learning my way through WordPress by using a localhost install. I'm building a site that will replace one already hosted.

    I've installed a 'redirection' plug-in and was wondering if I can set up the redirects before I upload the site. In other words, will all instances of 'http://localhost etc.' be converted to the proper domain name once the site has been configured to work online, or will I have to wait until the site is online before setting up the redirects?

    Cheers

    Paul

  2. ahuggins
    Member
    Posted 2 years ago #

    Probably not. You will probably have to set these when the site is setup online. But if the redirection plugin stores the addresses in the database, you might be able to go in phpmyadmin and change the addresses, but unless you have a ton of redirects (which may or may not be a good idea to do anyway), it might just be easier to set them up when you move the site to your live server.

    Sorry if that's not too much help.

  3. nozzmoking
    Member
    Posted 2 years ago #

    That's very helpful. I had a feeling there might be an issue so with your advice I'll wait until the site's hosted and then do the redirects.

    Thanks again!

    Paul

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags