WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Seamless transition replacing standard website with WordPress site? (10 posts)

  1. youthman
    Member
    Posted 2 years ago #

    I've successfully created my first two wordpress websites. Everything was smoothe except when it came time to golive with the WordPress site.

    The biggest challenge I have run into in both cases is that I had a working website that I wanted to replace with WordPress. I needed to keep the existing site up until the WordPress site was completed and tested.

    For both sites, I created a directory called /wordpress/ (ie. http://www.mysite.com/wordpress).

    The problem I ran into was when it came time to go live with the wordpress site. I deleted the "old site" files from the root directory and used Filezilla to move the wordpress files from within the /wordpress/ directory into the root directory. When I did that, most of the images no longer loaded because the HTML coding showed http://www.mysite.com/wordpress/image.jpg instead of http://www.mysite.com/image.com. This isn't too big of a deal when it's a small website. But if I have hundreds of images in the website, it isn't very seamless.

    I will likely be doing this again in the future. My webhost does not allow for remote access to the database so I am unable to use XAMPP to setup the site locally and then upload the site once it's completed.

    The only way I can think of that might be seamless is to place the wordpress files in a /wordpress/ directory of my website. Once the site is finished, point the domain into that /wordpress directory instead of pointing it into the root directory.

    Just wanted to get some advice from some veterans on how you do it.

    Thanks,

    Michael

  2. esmi
    Forum Moderator
    Posted 2 years ago #

  3. youthman
    Member
    Posted 2 years ago #

    Thank you kindly for the link. So it looks like you leave the site in the /wordpress/ directory, copy the .htaccess file and make a few changes within the control panel. Just to clarify, once that is done, will the site URL's be http://www.mysite.com/page.php or http://www.mysite.com/wordpress/page.php?

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    No - read the instructions again. You have to copy the index.php and .htaccess file to the domain root.

  5. youthman
    Member
    Posted 2 years ago #

    Yes, I read that. Sorry, I didn't include all 8 steps in my summary above. My main question still is once all 8 steps are performed, will the pages be http://www.mysite.com/page.php or http://www.mysite.com/wordpress/page.php?

    Thank you for your time.

  6. esmi
    Forum Moderator
    Posted 2 years ago #

  7. youthman
    Member
    Posted 2 years ago #

    Aweseome thanks. Looks like exactly the answer I was looking for. Appreciate greatly the info.

  8. youthman
    Member
    Posted 2 years ago #

    Something isn't right when I make the changes. After making all of the changes, I lost all of my styles on the website. The site was trying to locate the CSS files in the root directory instead of inside the wordpress directory.

    After putting things back the way they were, I can no longer login to my control panel. I can go to http://floridafreeshafters.com/wordpress/wp-login.php and login, but when I hit submit, it says page not found since it is trying to open http://floridafreeshafters.com/wp-login.php.

    Because of that, I can't even get logged back into the control panel. Any idea what went wrong and how to fix it?

  9. youthman
    Member
    Posted 2 years ago #

    Also, in the instructions, it says to "MOVE (DON'T COPY) the web.config file to your root directory." I do not see a web.config file, only a wp.config.php file. Is that the same thing?

  10. youthman
    Member
    Posted 2 years ago #

    All is well again, I mistakingly changed both the "WordPress Address" and the "Site Address" in the General Settings. I had to go into PHP Admin and manually change the site address and home to get it working again.

    Followed the above steps again and all is working well. :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.