Support » Fixing WordPress » Need to change url from to

  • junkhed1


    Hello all still looking for some assistance on this and wondering if I’m on the right track. So after reading several things I find that I am still confused. I want to change my url address which currently shows me my site ( to just I’m just trying to find the most efficient way to do this. Since I’m new to all this I really concerned about screwing things up with the database/etc I’m just trying to make sure I’m taking the proper steps. I’ve read several things and it looks like the possible solution is 1. changing the Blog URL from to just is my first move…. then moving the index.php file to my root would be the next step… and then from what I’m reading I need a .htaccess file as well which I currently don’t have in my folder so I’ve been reading where I would need to create one… My first ? is – is this the way to go out doing what I like done? and if so how do I create the .htaccess file (creating a txt file and saving it as .htaccess?)
    Sorry for sounding so clueless but I truly am at this
    I really appreciate all the assistance you all have been providing and can provide… Thanks.

Viewing 10 replies - 1 through 10 (of 10 total)

    have you read this?

    after moving index.php you need to edit it as well

    as far as .htaccess, if you didn’t have one, you may not need one. WP automatically generates it when you set up pretty permalinks. If you didn’t do that, no worries



    Hi RVoodoo thank you for the response… I had checked this out before just been confused on the steps I would have to do or not have to do.

    when you say edit the index.php files do you mean this below: The only thing is in my index file I don’t have this line of code in it so should I place it manually in there? and if so where would I place it currently my index.php file looks something like this

    <?php get_header(); ?>
    followed by my content and some tags. should I manually place
    require(‘./wordpress/wp-blog-header.php’); after the get header script.

    # Open your root directory’s index.php file in a text editor
    # Change the following and save the file. Change the line that says:
    to the following, using your directory name for the WordPress core files: require(‘./wordpress/wp-blog-header.php’);
    # Login to the new location.
    It might now be

    Thanks again for the assistance.

    what index.php is that? that is one from your theme, that’s not the correct index.php

    when you installed wordpress, in the folder you installed it into you should have a bunch of files like wp-config.php, wp-cron.php, wp-blog-header.php and in that folder you should have an index.php that includes this

    * Front to the WordPress application. This file doesn’t do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    * @package WordPress

    * Tells WordPress to load the WordPress theme and output it.
    * @var bool
    define(‘WP_USE_THEMES’, true);

    /** Loads the WordPress Environment and Template */

    it seems you’ve gotten confused and are using the wrong index.php file




    When I downloaded wordpress to my host server and all the files were placed I began following some tuts from Nettus to create WordPress Design from scratch… I created a new folder in my theme folder and placed or created new files in there which hold all my info for the pages. I started in HTML first and then broke everything up to their respective php files such as an index, header( which has a lot of the main info. here is what it looks like

    the index.php file

    [Moderated: Too much code. Please consider placing the code in a text file on your site with a link here -or- use a pastebin service such as Thanks!
    (not germane to the discussion either)]

    I did find the index.php file you mentioned when I open the worpress folder.. the one that I thought they were talking about is the one referenced above which is located in my /themes/newtheme folder.
    So that should be the index file that should be edited?

    the one you listed above was in the right place, when it was in a theme folder.

    You don’t do anything with it to move wordpress

    The one I showed you above is the one you place in your root directory and edit

    Shane G.




    Hey RVoodoo everything worked well thanks for the assistance, I really appreciate it. If its not too much trouble I wanted to find out: would you know how to change the link paths which display in the url when you click on certain tabs/links on the site? For instance when I click on say the personal link it will take me to the page with the url listed –

    how could I change this to reflect say just the name of the pages rather than the id’s and cat#’s… Can this be done with cat as well?

    Thank you again.

    thats done in your admin area


    when you set that up, that is when the .htaccess file we were discussing earlier will automatically be generated

    I’m honestly not sure what all variables you can set up with the permalinks. You may have to play around or do a bit more research….I’ve never really gone too in depth with permalinks



    Thanks RVoodoo I appreciate it I’ll do some research on it.
    Be well.

    I followed these instructions and its not working for me. Is there any instructions under windows?
    I changed WordPress address (URL), to just, and moved the index.php into C:\Inetpub\wwwroot
    but still when I go to my browser, and I just type still doesnt work (page under construction)
    any ideas? what am I doing wrong?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Need to change url from to’ is closed to new replies.