• Moved site to new server, new domain name. changed active themes function.php to reflect new domain. can get into wp-admin and login.

    when view site, nothing comes up.

Viewing 15 replies - 1 through 15 (of 22 total)
  • changed active themes function.php to reflect new domain

    Not too sure what you would have needed to change there…

    If you can change to the WordPress Default theme and then can see site, might try reuploading set of files for your theme.

    Also if necessary use this plugin http://wordpress.org/extend/plugins/search-and-replace/ to make sure new domain is used everywhere.

    Oh and update your permalinks via Administration > Settings > Permalinks

    Thread Starter glendapizz

    (@glendapizz)

    Thanks. Running wp 2.5 on windows server.

    Added update_option(‘siteurl’,’http://www.allaboutsmiles.us’);
    update_option(‘home’,’http://www.allaboutsmiles.us’);
    to wp-content\themes\medical-blog-10\functions.php according to wordpress support.

    permalinks is updated. all links refer to new domain. getting http error 500. my hosting company, verio, suggests that the index.php file is wrong. the index.php file in the root is:
    <?php
    /* Short and sweet */
    define(‘WP_USE_THEMES’, true);
    require(‘./wp-blog-header.php’);
    ?>
    This wordpress site was created by someone else on another server with a different domain name. How does the index.php file get created. perhaps this is the problem.

    If WordPress is in the web-root folder (where wp-admin, wp-content, wp-includes reside) then that looks like the proper index.php.

    You shouldn’t need to update those settings if your Settings->General WordPress and Blog address URLs are correct.

    Thread Starter glendapizz

    (@glendapizz)

    WordPress is in the web-root folder (where wp-admin, wp-content, wp-includes reside.

    Settings->General WordPress and Blog address URLs are correct.

    am at a loss. any other suggestions

    So your web-root folder should have a file called index.php and that file should be this:

    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES', true);
    
    /** Loads the WordPress Environment and Template */
    require('./wp-blog-header.php');
    ?>

    Only other thing I can come up with is that your index documents aren’t specified, which might require these;

    Solution 1
    If allowed by your host, putting this in an .htaccess file will solve the problem:
    DirectoryIndex index.html index.htm index.php

    Solution 2
    Some hosts allow you to make a change, via their hosting control panel, to the DirectoryIndex. It’s typically described as Indexes or Index documents, but may also require you to type something like
    DirectoryIndex index.html index.htm index.php
    or specify index.php as an index type file.

    Solution 3
    Instruct Apache to treat index.php as an index file. If you own the server, or have access to the http.conf file, simply modify the DirectoryIndex line in httpd.conf to:
    DirectoryIndex index.html index.htm index.php

    Solution 4
    Contact your host

    Thread Starter glendapizz

    (@glendapizz)

    This is my index.php file:
    <?php
    /* Short and sweet */
    define(‘WP_USE_THEMES’, true);
    require(‘./wp-blog-header.php’);
    ?>

    index.php has already been set to top of index list.

    My host, Verio, said it was something wrong with the wordpress php’s. They actually do not know what is the problem and won’t help as it’s a third party.

    At the time, not knowing whether to install wordpress or just copy when moving from one host to another, I ftp’d the zip file to new host web root, unzipped on the host, moved everything up to root as wanted to use http://www.allaboutsmiles.us, created the mysql DB and did create the tables. the database name had to change as it is required by Verio. Changed this in wp-config.php. changed the dbhost to define(‘DB_HOST’, ‘mysql-g11a.mysqldbserver.com’); left the secret-key alone.

    I can login to http://www.allaboutsmiles.us/wp-admin and modify things and the wp database gets updated so assume the setting are correct.

    Verio has a copy of wordpress and an auto install feature. I did try it, but it said database already existed and I cancelled out.

    All links are correct too.

    Here’s something never mentioned to you. When in wp-admin, Dashboard, Manage, Pages – can edit pages, but when time to view, View This Page – nothing comes up just like when trying to view the website.

    Any thoughts?

    Yes, deactivate all plugins, change to the WordPress Default theme and see if that resolves the problem.

    Thread Starter glendapizz

    (@glendapizz)

    When you change to the default theme, do you lose everything that’s been done in the previously selected theme.

    No.

    But recommend you read and execute WordPress Backups.

    Thread Starter glendapizz

    (@glendapizz)

    Ran the backups.

    Deactivated all plug ins. Changed to default theme.

    Nothing comes up. created new page, still get blank.

    Currently on wp 2.5, should i try the upgrade to 2.7?

    Upgrading is not a bad idea just because you will get a new set of files uploaded to your host. And since you have a files and database backup, might be a good time to upgrade. Of course you may have some theme issues to fix…

    If you have an .htaccess file and rename it temporarily does that fix the problem?

    Thread Starter glendapizz

    (@glendapizz)

    do not have .htaccess

    Might check to see if you have any log files that are might show errors.

    Also check with your host for any ideas.

    Thread Starter glendapizz

    (@glendapizz)

    what kind of write permissions does wp need?

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Moved site to new server, now doesn’t display’ is closed to new replies.