Title: Website Problems With WordPress
Last modified: August 24, 2016

---

# Website Problems With WordPress

 *  [LawrenceUWD](https://wordpress.org/support/users/lawrenceuwd/)
 * (@lawrenceuwd)
 * [11 years ago](https://wordpress.org/support/topic/website-problems-with-wordpress/)
 * Good Evening
 * I am in desperate need of help with a WordPress website. I have been battling
   for two weeks now and my client is getting fairly upset.
 * I took my client’s HTML site and migrated the site to WordPress, however it’s
   now problem upon problem when the site is uploaded. Locally everything works 
   100%.
 * Here are my problems when the website is uploaded:
 * When uploaded to Windows hosting:
 * 1) The site displays the main page perfeclty, but the other pages are giving 
   a 404 not found error.
 * 2) When logging into the admin panel it only displays text to the left and gives
   me a modsecurity issue when clicking on anything.
 * The site is located at [http://www.apocalypsegames.co.za/](http://www.apocalypsegames.co.za/)
 * When uploaded to Linux hosting:
 * 1) Everything displays to the left of the website. It’s using some CSS and ignoring
   other CSS. The site is located at [http://www.unrealwebdev.co.za/](http://www.unrealwebdev.co.za/)
 * The site should be displaying the content in the center of the website as can
   be seen on the site located at [http://www.apocalypsegames.co.za](http://www.apocalypsegames.co.za)
 * The windows hosted site is not a big worry as my client is using Linux hosting.
   I need to get the site working for Linux hosting ASAP.
 * I have no idea how to fix this 🙁
    My client’s original website is located at
   [http://www.verticallogic.co.za](http://www.verticallogic.co.za) for reference
   as to how the site should look.
 * Any help with this would be much appreciated.
 * Thanks!!!

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

 *  [Martin Robbins](https://wordpress.org/support/users/santeven/)
 * (@santeven)
 * [11 years ago](https://wordpress.org/support/topic/website-problems-with-wordpress/#post-6089324)
 * Definitely stick with the linux. [This article](http://codex.wordpress.org/Changing_The_Site_URL#Changing_the_Site_URL)
   should be helpful. the site_url and wp_home are easy to misconfigure when you
   move a WordPress to second host.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years ago](https://wordpress.org/support/topic/website-problems-with-wordpress/#post-6089326)
 * > [When uploaded to Windows hosting] The site displays the main page perfeclty,
   > but the other pages are giving a 404 not found error.
 * Windows doesn’t support mod_rewrite, so it’s a bit more complicated to get Permalinks
   working. See this: [http://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite](http://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite)
 * > [When uploaded to Windows hosting] When logging into the admin panel it only
   > displays text to the left and gives me a modsecurity issue when clicking on
   > anything.
 * mod_security is controlled at the server level and it sounds like it’s been set
   far too aggressive. If you choose Windows hosting, I recommend reporting this
   to your hosting provider ASAP.
 * > [When uploaded to Linux hosting] Everything displays to the left of the website.
   > It’s using some CSS and ignoring other CSS.
 * The theme is looking for CSS at both [http://www.unrealwebdev.co.za/wp-content/themes/verticallogic/style.css](http://www.unrealwebdev.co.za/wp-content/themes/verticallogic/style.css)
   and [http://www.unrealwebdev.co.za/css/style.css](http://www.unrealwebdev.co.za/css/style.css)
 * As you can see, neither exist.
 * First, make sure those files exist where the theme thinks they are, next make
   sure the two URLs at Settings -> General in the blog’s Dashboard are correct.
 *  Thread Starter [LawrenceUWD](https://wordpress.org/support/users/lawrenceuwd/)
 * (@lawrenceuwd)
 * [11 years ago](https://wordpress.org/support/topic/website-problems-with-wordpress/#post-6089355)
 * > The theme is looking for CSS at both [http://www.unrealwebdev.co.za/wp-content/themes/verticallogic/style.css](http://www.unrealwebdev.co.za/wp-content/themes/verticallogic/style.css)
   > and [http://www.unrealwebdev.co.za/css/style.css](http://www.unrealwebdev.co.za/css/style.css)
   > As you can see, neither exist.
   > First, make sure those files exist where the theme thinks they are, next make
   > sure the two URLs at Settings -> General in the blog’s Dashboard are correct.
 * Hi James
 * Both of those files are present in the correct locations on the server.
    Both
   of the URL’s in the WordPress panel is set to [http://www.unrealwebdev.co.za](http://www.unrealwebdev.co.za).
 * This is very strange indeed.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years ago](https://wordpress.org/support/topic/website-problems-with-wordpress/#post-6089358)
 * Are the file’s permissions set to 644 inside directories set to 755?
 * [https://codex.wordpress.org/Changing_File_Permissions](https://codex.wordpress.org/Changing_File_Permissions)
 *  Thread Starter [LawrenceUWD](https://wordpress.org/support/users/lawrenceuwd/)
 * (@lawrenceuwd)
 * [11 years ago](https://wordpress.org/support/topic/website-problems-with-wordpress/#post-6089440)
 * > Are the file’s permissions set to 644 inside directories set to 755?
 * Hi James
 * The files in the public_html root folder are set to 644 permissions with the 
   directories set to 755. The files inside those directories have their permissions
   set to 644
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years ago](https://wordpress.org/support/topic/website-problems-with-wordpress/#post-6089442)
 * Ok, I wonder if something else is conflicting.
 * Try deactivating all plugins. If that resolves the issue, reactivate each one
   individually until you find the cause.
 * If that does not resolve the issue, try switching to the Twenty Fifteen theme
   to rule-out a theme-specific issue.
 *  Thread Starter [LawrenceUWD](https://wordpress.org/support/users/lawrenceuwd/)
 * (@lawrenceuwd)
 * [11 years ago](https://wordpress.org/support/topic/website-problems-with-wordpress/#post-6089462)
 * > Ok, I wonder if something else is conflicting.
   > Try deactivating all plugins. If that resolves the issue, reactivate each one
   > individually until you find the cause.
   > If that does not resolve the issue, try switching to the Twenty Fifteen theme
   > to rule-out a theme-specific issue.
 * Hi James
 * It looks like it is a theme issue. Funny thing is the site was working perfectly
   on one of my windows hosted domains until I gave my client’s hosting company 
   access to see why it does not work with the linux hosting on their side. Now 
   nothing works properly. The site displays fine in chrome locally and not in other
   browsers anymore.
 * I can for the life of me not remember how I got it to work perfectly so retracing
   my steps is somewhat out of the question.
 * If you take a look at the site located at [http://www.verticallogic.co.za](http://www.verticallogic.co.za),
   what in your opinion is the best way to migrate that to WordPress while maintaining
   the exact styles from that site without the pages being PHP theme files? My client
   wants to edit this site in the visual editor inside WordPress which is impossible
   to do if the site is migrated into php files.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years ago](https://wordpress.org/support/topic/website-problems-with-wordpress/#post-6089469)
 * I’d suggest doing your best to build a theme based on the existing design from
   the group-up, using a starter theme like [http://underscores.me/](http://underscores.me/)
 * Here’s a great tutorial on that: [http://themeshaper.com/2012/10/22/the-themeshaper-wordpress-theme-tutorial-2nd-edition/](http://themeshaper.com/2012/10/22/the-themeshaper-wordpress-theme-tutorial-2nd-edition/)
 * Alternatively, there’s [https://roots.io/sage/](https://roots.io/sage/) though
   I don’t know of any tutorials for that one except the documents on its site.
 *  [Martin Robbins](https://wordpress.org/support/users/santeven/)
 * (@santeven)
 * [11 years ago](https://wordpress.org/support/topic/website-problems-with-wordpress/#post-6089470)
 * Lawrence, thank you, this has been a wonderful challenge. I think I have it sorted
   out, alas, only for the worst.
 * > It looks like it is a theme issue.
 * I believe you are correct, please would you post on pastebin.com your files index.
   php and functions.php from your theme folder /wp-content/themes/verticallogic/…
   And then post the pastbin urls here?
 * [@macmanx](https://wordpress.org/support/users/macmanx/) Yes, _s would be the
   a fine choice from the _ground_ up. You up for a quick challenge? Have a good
   look at the source on all three sites and see if you can figure where I’m going
   with this on how Lawrence might have gone wrong to begin with?
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years ago](https://wordpress.org/support/topic/website-problems-with-wordpress/#post-6089471)
 * > You up for a quick challenge? Have a good look at the source on all three sites
   > and see if you can figure where I’m going with this on how Lawrence might have
   > gone wrong to begin with?
 * Honestly, I’m a volunteer, and it’s 11:30 PM. In short, I don’t have the time
   or energy to play a game of figuring out something you’ve apparently already 
   figured out. 😉
 * Plus, these are support forums. 🙂
 * If you have figured out the problem, please just tell us.
 *  [Martin Robbins](https://wordpress.org/support/users/santeven/)
 * (@santeven)
 * [11 years ago](https://wordpress.org/support/topic/website-problems-with-wordpress/#post-6089472)
 * I suspect there is no functions.php … and that index.php is merely a copy of 
   index.html … and all the other files*.php are copies of files*.html … I’m guessing
   not one single WordPress tag in the entire theme … nor any WordPress plugins 
   activated … a really fine html / js site that just can’t live and breathe inside
   WordPress (as it has been put there) ?
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years ago](https://wordpress.org/support/topic/website-problems-with-wordpress/#post-6089473)
 * Ah, that could very well be it, though I can’t figure why the linked CSS files
   in source are 404ing if the files are indeed there as the OP claims.
 *  Thread Starter [LawrenceUWD](https://wordpress.org/support/users/lawrenceuwd/)
 * (@lawrenceuwd)
 * [11 years ago](https://wordpress.org/support/topic/website-problems-with-wordpress/#post-6089477)
 * Hi santeven
 * There is a functions.php file. There must be something with the CSS/theme that
   is not working properly. It’s telling me that the CSS is missing, however the
   files are in their correct locations.
 * santeven, fine observation! There is PHP files for the pages which were my theme
   files. However the client was not happy with that as those files are PHP and 
   if he wanted to edit website content he would need to edit the code. He wants
   to edit the content from the WordPress visual editor, so I disabled those files.
   They are not being used. Only the index.php, header.php and footer.php files 
   are used. My header.php, footer.php and index.php files are set up (correctly
   I assume). I am not a WordPress guru at all.
 * The pages are done in the WordPress visual/text editor. I have used HTML code
   for the page content along with a RAW HTML plugin set up to not have WordPress
   format HTML content by itself. I also have Visual Builder installed for my client
   to edit the pages visually as he would like.
 * Here are pastebins of some of the files. Let me know if there are other files
   you would want to have a look at 🙂
 * functions.php [http://pastebin.com/xUS8c8W3](http://pastebin.com/xUS8c8W3)
    index.
   php [http://pastebin.com/L1sc8mgX](http://pastebin.com/L1sc8mgX) header.php [http://pastebin.com/994tZ2A7](http://pastebin.com/994tZ2A7)
   footer.php [http://pastebin.com/cGJwCiaD](http://pastebin.com/cGJwCiaD)
 *  [Martin Robbins](https://wordpress.org/support/users/santeven/)
 * (@santeven)
 * [11 years ago](https://wordpress.org/support/topic/website-problems-with-wordpress/#post-6089510)
 * I’m not familiar with RAW html plugin nor Visual Builder; they may be confounding
   my analysis. And possibly also your understanding of WordPress and its visual
   editor.
 * I wrote the following example before noting the above. Would suggest try it with
   those two features disabled or uninstalled:
 *     ```
       <?php // /wp-content/themes/verticallogic/page-example.php outputs the "Page" created in dashboard having slug /example/
   
       get_header();
   
       	echo '<h1>';
       		the_title();  // outputs the dashboard "title"
       	echo '</h1>';
   
       	echo '<div class="entry-content">';
       		the_content(); // outputs the visual editor "contents"
       	echo '</div>';
   
       echo '</div>'; // class="main" was opened in header.php
   
       get_footer();
   
       ?>
       ```
   
 * Beyond that, I’d need next to see directory listing of /wp-content/themes/verticallogic/

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

The topic ‘Website Problems With WordPress’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 14 replies
 * 3 participants
 * Last reply from: [Martin Robbins](https://wordpress.org/support/users/santeven/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/website-problems-with-wordpress/#post-6089510)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
