Title: Local host issues
Last modified: August 21, 2016

---

# Local host issues

 *  [Ali3n0id](https://wordpress.org/support/users/ali3n0id/)
 * (@ali3n0id)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/local-host-issues-2/)
 * Hi all,
 * I have a problem setting up and using a local copy of my website through xammp.
 * I have followed the following tutorial:
 * [https://managewp.com/how-to-create-a-local-copy-of-a-live-wordpress-site](https://managewp.com/how-to-create-a-local-copy-of-a-live-wordpress-site)
 * Everything seemed to go smooth, I imported the database, changed permissions 
   and changed the siteurl and home as specified. However I’m still having the following
   issues:
 * 1. I cannot login to /wp-admin/ as the local copy still links to the live website.
   I cannot edit the permalinks option.
 * 2. All links still go to the live website URL
 * 3. the website isn’t displayed 100% correct –
 * >  Warning: Illegal string offset ‘sidebar_change’ in E:\xampp\htdocs\xampp\IBRL\
   > wp-content\themes\ibrl2\includes\tt_meta.php on line 3
   > Warning: Illegal string offset ‘sl_pos’ in E:\xampp\htdocs\xampp\IBRL\wp-content\
   > themes\ibrl2\includes\tt_meta.php on line 4
   > Warning: Illegal string offset ‘primary_width’ in E:\xampp\htdocs\xampp\IBRL\
   > wp-content\themes\ibrl2\includes\tt_meta.php on line 5
   > Warning: Illegal string offset ‘secondary_width’ in E:\xampp\htdocs\xampp\IBRL\
   > wp-content\themes\ibrl2\includes\tt_meta.php on line 6
   > Warning: Illegal string offset ‘special_width’ in E:\xampp\htdocs\xampp\IBRL\
   > wp-content\themes\ibrl2\includes\tt_meta.php on line 7
 * In which the file displays:
 *     ```
       <?php
       $meta_test2 = $custom_sidebar->the_meta();
       $sb_change = $meta_test2['sidebar_change'];
       $sb_style = $meta_test2['sl_pos'];
       $primary_width = $meta_test2['primary_width'];
       $secondary_width = $meta_test2['secondary_width'];
       $special_width = $meta_test2['special_width'];
       global $primary_width, $secondary_width, $special_width;
       $meta_test3 = $custom_back->the_meta();
       $back_change = $meta_test3['back_change'];
       $background_color = $meta_test3['background_color'];
       $background_url = $meta_test3['background_url'];
       $background_repeat = $meta_test3['background_repeat'];
       $header_change = $meta_test3['header_change'];
       $header2_change = $meta_test3['header2_change'];
       $header_url = $meta_test3['header_url'];
       $header_url2 = $meta_test3['header_url2'];
       global $back_change, $background_color, $background_url, $background_repeat;
       if ($back_change) {?><style type='text/css'>body {background: #<?php echo $background_color ;?> url("<?php echo $background_url; ?>") <?php echo $background_repeat ;?>;}</style><?php }
       if ($header2_change) { ?><style type='text/css'>.art-header:before{background-image: url('<?php echo $header_url2; ?>'); } </style><?php }
       if ($header_change) { ?><style type='text/css'>.art-header:after{ background-image: url('<?php echo $header_url; ?>'); } </style> <?php }
       if ($sb_change == 'Yes' ) { ?><style type='text/css'>.art-content-layout .art-sidebar2:before, .art-content-layout .art-sidebar1:before {width: 0px;}</style><?php }
       ?>
       ```
   
 * _[Moderator Note: Please post code & markup between backticks or use the code
   button. Your posted code may now have been permanently damaged by the forum’s
   parser.]_
 * If you could provide a solution I would be eternally grateful. I was close to
   getting it working!

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/local-host-issues-2/#post-5005669)
 * > changed the siteurl and home as specified.
 * That is not sufficient. Please review [Moving_WordPress](http://codex.wordpress.org/Moving_WordPress).
 *  Thread Starter [Ali3n0id](https://wordpress.org/support/users/ali3n0id/)
 * (@ali3n0id)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/local-host-issues-2/#post-5005683)
 * I have also:
 * Imported database, changed permissions in the database.
 * Still cannot access /wp-admin/ so I can logon and edit the permalinks options.
   I think this may be an issue with .htaccess
 *  [2ninerniner2](https://wordpress.org/support/users/2ninerniner2/)
 * (@2ninerniner2)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/local-host-issues-2/#post-5005824)
 * Try moving the site up one level from where it is now, which is the wrong place.
   You have it within the xampp folder within htdocs. Your IBRL folder should be
   as such: E:\xampp\htdocs\IBRL
 *  Thread Starter [Ali3n0id](https://wordpress.org/support/users/ali3n0id/)
 * (@ali3n0id)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/local-host-issues-2/#post-5005840)
 * Okay I have moved the site folder up a level but I am still having problems with:
 * – The site links do not link to the siteurl that I changed in myphpadmin or home
   attributes
 * – The CSS/style isn’t loaded properly
 * – When I go to the local wp-admin it redirects the live page instead which I 
   guess is linked to problem #1
 *  [MeOnline](https://wordpress.org/support/users/webber2012/)
 * (@webber2012)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/local-host-issues-2/#post-5005937)
 * Having the same issue on a live site, I suspect this has to do with Templateer(
   addon for Artisteer, hence the tt_meta.php name (tt being Templateer)) i guess,
   but not 100% sure and the question is how to solve it.
 *  [nitrographics10](https://wordpress.org/support/users/nitrographics10/)
 * (@nitrographics10)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/local-host-issues-2/#post-5005939)
 * I am also having exact same problem on 2 sites, has anybody figured it out?

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

The topic ‘Local host issues’ is closed to new replies.

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 6 replies
 * 5 participants
 * Last reply from: [nitrographics10](https://wordpress.org/support/users/nitrographics10/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/local-host-issues-2/#post-5005939)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
