WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Amended template doesn't work anymore once site is live (12 posts)

  1. valalerie
    Member
    Posted 3 months ago #

    Hi all,

    I've created a WP site using MAMP, I then uploaded the finished site to go live but once it was live the theme I amended wasn't working anymore and all I could see was the default thwentythirteen theme, all my content is gone too...

    I've double checked the files and when I look at them on my localhost all works and looks prefectly fine...I've tried to upload again, and to upload just the theme I was working on but nothing seems to work..

    Any ideas what the problem could be?

    THANKS A LOT!!!!

    Val

  2. The Grey Parrots
    Member
    Posted 3 months ago #

    May I have your live site url please?

  3. valalerie
    Member
    Posted 3 months ago #

    http://www.gracehorse.com
    I've now manually changed the theme to see if that is the issue but all I can now see is the sample page of that theme.

  4. Saravanan
    Member
    Posted 3 months ago #

    Have you moved our database from local host to your server?

  5. valalerie
    Member
    Posted 3 months ago #

    I've uploaded all the files that came with the WP installation, plus the new theme... And then I changed the wp-config file to point to my server

  6. Saravanan
    Member
    Posted 3 months ago #

    You would have to follow this from your MAMP to your host, only then will you be able to see the same replica of your site.

  7. valalerie
    Member
    Posted 3 months ago #

    thanks so much for your help! I've now got a different issue...I changed the URL to gracehorse.com/wordpress but now I get a 404 error when I try to reload the page..
    And I can't go back to my admin panel to change it.

    I know that I have to create a new directory called /wordpress, was I supposed to do that within the wordpress admin panel or within the c-panel of my host?

    I also can't see the .htaccess file...and I did make sure that all files are visible.

    Any idea where to go from here?

    THANKS!

  8. Saravanan
    Member
    Posted 3 months ago #

    You have to create the /wordpress directory using cpanel of your host or by FTP/SSH into your server. If you are not using any fancy permalinks the .htaccess file might not be present. You can create one by following the instructions here. You can read more about permalinks here.

  9. valalerie
    Member
    Posted 3 months ago #

    I created a new directory (by creating a new FTP directory hope that was right). I then downloaded all the wp core files from my old directory and uploaded them into the new directory..but now I still get the 404 error when I try to get to my admin panel....

    I there anyway I can reverse what I have done and start again?...

  10. Saravanan
    Member
    Posted 3 months ago #

    The simplest way to start again is to back up everything and delete all the files and directories using FTP and start with a fresh install and database.

  11. valalerie
    Member
    Posted 3 months ago #

    and do I then need to follow the "When Your Domain Name or URLs Change" and "On Your Existing Server"?

    Do I have to do that search and replace or can I skip it and go straight to the "On Your Existing Server" chapter?

  12. valalerie
    Member
    Posted 3 months ago #

    I've figured it out! This is what I did (in case someone else is having troubles with the WP instructions which just really confused me):

    - create a new MySQL Database using the c panel of my host
    - create a new MySQL user and assign the user to the new DB (all privileges) (in the c panel)
    - amend the wp_config file and enter the new DB details (host stays localhost)
    - go to MyPhpAdmin (in MAMP) and export the mamp database that was used (using .sql)
    - go to my c panel and to MyPhpAdmin, click on the new database that was created and import the .sql file
    - Upload all the wp files that are in your mamp htdocs folder to your live site using ftp or the filemanager
    - make sure that home and siteurl in wp_options are pointing to the site url and not to localhost:8888 or to http://www.example.com:8888
    - empty cache

    Thanks for all your support!

Reply

You must log in to post.

About this Topic