WordPress.org

Forums

[resolved] How to assign my WordPress page as my domain index (5 posts)

  1. dreamthink3
    Member
    Posted 10 months ago #

    Hello, I am brand new to WordPress. I currently have a domain called "www.mydomain.com" and my WordPress is located at "www.mydomain.com/wordpress." I have followed several tutorials explaining how to make WordPress show up as "www.mydomain.com" without the "/wordpress" part. I copied the index.php file to my root directory and edited it. I also moved the wp-config.php file to my root directory. WordPress is in its own directory "/wordpress." All I get as a result of this is an error message and cannot log-in to my WordPress administrative interface, so I have to uninstall and then re-install WordPress.

    Can someone help or redirect me to the correct tutorial that I should be following?

    Thank you for your help!

  2. bieke81
    Member
    Posted 10 months ago #

    There are two parts in a WordPress installation: the files and the database. To move your site from yourdomain.com/wordpress to wordpress you need to do two steps:

    1. move ALL the file and folders that are in the wordpress folder to yourdomain.com

    2. make the necessery changes in the database so all links are changed from yourdomain.com/wordpress to yourdomain.com. I have an article on my site that will help you with that part. If you read here: http://ladywp.com/get-your-site-content-and-files-after-domain-expiration-2/ starting at step 2 you should be able to figure it out.

    Leslie

  3. Mark Senff
    Member
    Posted 10 months ago #

    You don't need to move all your files from the /wordpress folder to the root.

    Move wp-config.php back to the /wordpress folder, that should get your site at http://www.mydomain.com/wordpress working again.

    Then, follow the instructions from this page: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install

  4. dreamthink3
    Member
    Posted 10 months ago #

    @Senff -

    I followed those steps you suggested but my site "www.domain.com" points to my original index.html page that I created before I installed WordPress. Do I have to get rid of this index.html for it to load index.php?

  5. Mark Senff
    Member
    Posted 10 months ago #

    It depends on the configuration of your web server, which file takes precedence (index.html or index.php). But if you want to make sure that index.php is loaded, just rename index.html to old-index.html or something.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.