WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] HELP!!!! - Website messed up! (16 posts)

  1. ShayPetrone
    Member
    Posted 2 years ago #

    I thought I backed up my wordpress multi site by downloading the whole directory off my ftp. After installing a plug-in it messed up the site so I deleted the folder on my ftp and re uploaded all the files I d/l from a few days ago that I thought was how you could back up with... After re installing the files only the one page works, all the rest do not work!!!! How can I fix this? any ideas? Do I need to start over? Any help is appreciated!

  2. Your site is more than just the files, it's also the database.

    What folder did you delete?

  3. ShayPetrone
    Member
    Posted 2 years ago #

    So i created

    http://www.mysiteexample.com/site

    /site was the directory where everything was installed and uploaded, a few days ago I downloaded everything from the /site folder onto my hard drive.

    After installing a plug in today it messed up the site, so I figured I could revert back to what was in the /site folder that I downloaded a few days ago..

    After uploading all the files, the main multi site page loads up, but all the other multi site pages where I had stuff and other blogs do not work now... like its all messed up..

    any ideas? I thought if i downloaded all the files from /site I would be good to go, maybe not?!

  4. Your DATABASE is where the data is stored. The files and folders are just for themes, plugins and uploaded media.

    Next time JUST delete the one plugin.

    What do you mean by 'not working'?

  5. ShayPetrone
    Member
    Posted 2 years ago #

    I downloaded everything in the folder /site and thought that would work, I did delete the plug in, thats what caused the problem, it didnt work like I wanted it to so I removed it and it shifted my site to the hard left and I could not get it, so I deleted the files in the /site folder on my ftp client and then re uploaded the ones that worked perfect and now it does not work right.... If i did not touch the database why does the site not work?

  6. What other plugins are you using?

    Are you using any caching plugins?

    Is front end layout the ONLY problem you're having right now?

  7. ShayPetrone
    Member
    Posted 2 years ago #

    Ipstenu,

    Thank you for all your help thus far! I really appreciate it!

    I only have the following plug ins installed:

    DirtySuds - Embed YouTube
    Facebook Page Photo Gallery
    ShareThis

    I have no idea on caching plug ins

    im not sure what you mean on your 3rd question, im newer to wordpress, is there a way to private message you or something, I dont want to post my website links up here but can explain it better by posting links.

    right now the only thing that works is

    http://www.mysite.com/site

    and all the other folders that are /site/folder1
    /site/folder2
    /site/folder3

    also when i say /folder# that was a multi site directory, basically i re made all the navigation menus so that all the multi sites linked together and worked really well.

    and so on do not work, as long my media page that had about 40 blog postings all coded with facebook pictures and youtube links

    I wish there was a way to get this back so I dont have to re enter all the info again as it took me many days and lots of hours!

  8. I understand what you mean by folder# :)

    Front end means the part of your site visitors see. Backend is the example.com/site/folder1/wp-admin side.

    Okay, did you recreate the .htaccess file when you restored your files? That may not have been copied down, because it's a hidden file and not all ftp apps know about it.

    Yours should look SIMILAR to the example here: http://codex.wordpress.org/Create_A_Network#.htaccess_and_Mod_Rewrite

  9. ShayPetrone
    Member
    Posted 2 years ago #

    The .htaccess file was missing, Last night I prepared for the worst and created a new wordpress install in a /site2 (folder on my ftp) and a new database for that install and started to re make my website! would this have caused problems because now when I go to the original one (/site) and click a link it goes to the new one instead! AHHHH!

  10. Try to be calm :) This is nothing we haven't seen before :)

    What's in your .htaccess. I bet that is has a line pointing to site2. if so, just change that to site and you should be okay. If NOT, please paste your .htaccess here, using the code tags (there's a button on the bar just above this text entry box, use that)

  11. ShayPetrone
    Member
    Posted 2 years ago #

    Thank you for your personal attention to this thread! I really appreciate it!

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    # END WordPress# END WordPress
  12. ShayPetrone
    Member
    Posted 2 years ago #

    UPDATE!!!!!!!
    UPDATE!!!!!!
    UPDATE!!!!!!!
    UPDATE!!!!!!!
    UPDATE!!!!!!!
    UPDATE!!!!!!!

    I just got an email from my hosting company, I called them yesterday to see if they had a way to go back in time and restore my files from saturday or a few days before. They just emailed me back saying they have found everything they could find and uploaded it to a folder on my http://ftp... I copied the .htaccess file and dropped it in the old /site folder on the wordpress site we have been working on and BAM! It took a few refreshes but ITS UP AND WORKING!!!!!!

    Ipstenu Thank you for your help! you knew what the problem was and how to fix it!!!

    Next question, what is the proper way to back up my wordpress files without going through this or any other problem again!?!?!?! I want to back it up every time im about to make any significant changes or install any plug ins or widgets so I know everything will be ok and I can just go back and be fine.

  13. Yeah.

    1) Backup ALL files, including hidden files.
    2) Backup your DATABASE :)

    Read http://codex.wordpress.org/WordPress_Backups

  14. ShayPetrone
    Member
    Posted 2 years ago #

    does the .htaccess file ever get modified? as in does the code stay the same forever, or will something edit it down the road? Might be good for me to just copy the code into a text document and then save it and remmeber thats the .htaccess file and upload what is in it when i need to again!

  15. Njualem
    Member
    Posted 2 years ago #

    Hi ShayPetrone,
    When next you want to install a plugin or make significant changes, first backup your database(most important). This article would help explain some backup steps "Backing Up Your WordPress". Secondly coping the files in your hosting account through ftp is a good practice especially the .htaccess and wp_config.php files but if an already installed plugin goes wrong or causes problems, all you need to do is to delete or rename only that plugin that is causing the problem from the plugins folder through ftp and everything will be fine. You don't need to delete the entire site files.
    I hope this helps.

  16. does the .htaccess file ever get modified? as in does the code stay the same forever

    Generally no. A plugin like wp-super-cache or w3 total cache might, but most do not. Experienced webmasters will edit the .htaccess directly to put in redirects as they want, but having a good backup of that file is always a great idea :D

Topic Closed

This topic has been closed to new replies.

About this Topic