Title: screwed up wordpress by making changes
Last modified: August 18, 2016

---

# screwed up wordpress by making changes

 *  [shvelmur](https://wordpress.org/support/users/shvelmur/)
 * (@shvelmur)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/screwed-up-wordpress-by-making-changes/)
 * Hi,
 * I installed wordpress about 3/4 months back, and started playing with it. I seem
   to have messed up the code in index.php/elsewhere (not able to identify exactly
   where). I tried installing the flcikr gallery plugin which required some changes
   in the code files of wordpress main directory. now I am unable to change to some
   other theme and if I do I simpyl get a blank page. View source gives only this
 * <html><body></body></html>
 * if I launch using the <wordpress-install-dir>/index.php
 * but I had also redirected the site’s index.php (outside wpress dir) as follows.
   This works fine and displays the site as exepected, however the links all return
   just blank pages.
 * <? include(“[http://shvelmur.com/wpress/index.php&#8221](http://shvelmur.com/wpress/index.php&#8221);)?
   >
 * Can someone tell me what could be the problem?!
    Should I reinstall wordpress?
   Btw, I use wpress 1.5.1.3. Also let me know of how I can create an offline copy
   of my wpress install, so that I can avoid such mishaps in the future (hopefully)

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/screwed-up-wordpress-by-making-changes/#post-239124)
 * Can you restore from a backup? If you don’t have your own backup copy (you should),
   can you ask your hosting provider to restore from a backup (they should be keeping
   nightly backups)?
 * [http://codex.wordpress.org/WordPress_Backups](http://codex.wordpress.org/WordPress_Backups)
 *  [Class](https://wordpress.org/support/users/class/)
 * (@class)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/screwed-up-wordpress-by-making-changes/#post-239325)
 * Making backups before editing core files is usually a good idea 🙂
    Can’t you
   just copy the original files back?
 *  Thread Starter [shvelmur](https://wordpress.org/support/users/shvelmur/)
 * (@shvelmur)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/screwed-up-wordpress-by-making-changes/#post-239370)
 * precisely … I only I had backed up.. and I got in touch with my service provider…
   just that I don’t exactly know, which one of my activities screwed it up… so 
   I can’t really point to a date which would have correct version
 * What I would like to know is, if I can reinstall WP on top of the existing code?
   I understand that it would remove all my customisations, but I know which ones
   I need.
 * I also installed WP on my local machine, but since I’m on LAN, eveytime I log
   into my local site, the admin page takes me to the one online. Is there some 
   solution to that issue?
 * Thanks guys for the inputs that you have already given
 *  [Class](https://wordpress.org/support/users/class/)
 * (@class)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/screwed-up-wordpress-by-making-changes/#post-239372)
 * There is a backup plugin for WP.
    Have you tried disabling all your plugins? 
   I think it _should_ be possible to just copy the files from a fresh download,
   overwriting your files.
 * Edit your ‘hosts’ file on your local machine. It’s in (win/winnt)/system32/drivers/
   etc on windows and in /etc on *nix.
    You’ll need to use a different hostname 
   for your local machine than the “real” server on the internet so the db won’t
   be identical but it’s fine for development and testing.
 *  [Marc](https://wordpress.org/support/users/marc/)
 * (@marc)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/screwed-up-wordpress-by-making-changes/#post-239375)
 * Here is the best method to install and run your WP blog on a home box.
 * [http://www.tamba2.org.uk/wordpress/xampp/](http://www.tamba2.org.uk/wordpress/xampp/)

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

The topic ‘screwed up wordpress by making changes’ is closed to new replies.

## Tags

 * [Offline](https://wordpress.org/support/topic-tag/offline/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 5 replies
 * 4 participants
 * Last reply from: [Marc](https://wordpress.org/support/users/marc/)
 * Last activity: [20 years, 9 months ago](https://wordpress.org/support/topic/screwed-up-wordpress-by-making-changes/#post-239375)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
