WordPress.org

Ready to get started?Download WordPress

Forums

help on setting up wordpress on local server (4 posts)

  1. edzah
    Member
    Posted 3 years ago #

    Hi Guys

    I want to set up my (hosted) wordpress site on a local server so I can do some theme editing.

    Everything went fine but all the links are pointing to my online site so anytime I click on a link I get sent to the online site. This means I can't login because the local login page:

    localhost/wordpress/login.php

    sends me to the online one:

    mydomain.com/wordpress/login.php

    so it keeps logging me into the online site instead of the local one.

    any ideas?

    thanks for the help

    ed

  2. David Gwyer
    Member
    Posted 3 years ago #

    An alternative if you just want to do some theme editing is to use the theme test drive Plugin. This allows admin to view your online development theme, all other users still see your 'live' and current theme.

    http://wordpress.org/extend/plugins/theme-test-drive/

    If you really want to work locally then you can setup WordPress locally quite easy (I use Wamp Server 2.0). Try doing a clean install of WordPress locally, then copy your theme, and install your Plugins as per your live site. See if you still have probs with links.

  3. edzah
    Member
    Posted 3 years ago #

    Yeah, I did this myself with WAMP and didn't have the link problem (AFAIR)

    but this is on a mac with XAMPP and I think I need to set up some mod_rewrite bs or do a search and replace on all the url strings...

  4. clgolden
    Member
    Posted 3 years ago #

    I just found this educational video to answer the same question for myself.

Topic Closed

This topic has been closed to new replies.

About this Topic