WordPress.org

Ready to get started?Download WordPress

Forums

I need to change the wordpress path. (2 posts)

  1. Censorshipiswrong
    Member
    Posted 2 years ago #

    hi guys,

    i posted this in the wrong forum. Ooops.

    This is on an wordpress self hosting install that has traveled to a few servers.

    Currently, my blog is on a server. The path on this blog is set to this:

    http://www.politicalbyline.com

    I want to set it to:

    http://politicalbyline.com

    But I cannot get into the back end, because it redirects to the http://www.politicalbyline.com address.

    where can I edit that....without having to go into the back
    end?

    I didn't really see an answer in the docs. Anyone?

  2. Don't double post, it doesn't help. If it's in the wrong section a mod can move your thread to the correct place.

    Give this a read to change your site URL.

    http://codex.wordpress.org/Changing_The_Site_URL

    Personally, I find it easiest to update via a theme's functions.php file.

    update_option('siteurl','http://example.com/blog');
    update_option('home','http://example.com/blog');

    Replace example.com/blog with your politicalbyline.com.

    http://codex.wordpress.org/Changing_The_Site_URL#Edit_functions.php

    Once you've successfully updated the option that way you can remove those new lines from your functions.php file.

    Also make a backup copy before you edit any of your files just in case.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags