• Having a problem and could really use some help! Below is a step-by-step of what I’ve done. I am new to all of this, by the way. I followed the exact process outlined in this video: https://www.youtube.com/watch?v=yams2cg691w

    1. Got wamp running, developed my site locally using edits to several files, including style.css, header.php, footer.php, and some more theme-specific php and css files.

    2. Ran the plugin WP Migrate DB to generate a MySQL database with all the new paths for my host.

    3. Zipped up the whole directory containing WordPress.

    4. Uploaded and extracted all the zipped files to the correct directory on my host.

    5. Used MyPHPadmin to import the SQL database.

    6. Edited wp-config.php to reflect the correct database, username, and password.

    So, as far as I know, what I should be seeing is my site as it appears in my local host, with the modified theme and embedded images and videos displaying correctly. What I have instead is text and links, black and blue over white. No theme, no formatting, no images of any kind. The other major issue is that when I navigate to /wp-admin, it gives me an error, including a 500.

    I would be hugely grateful for any advice!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi snarfbucket,

    Can you please check the .htaccess file.

    As it seems its missing of .htaccess file or the code in the .htaccess file.

    If you have .htaccess file, replace the code with below one or create a new one.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Let me know if still the issue is there. 🙂

    Regards,
    SPViradiya.

    Thread Starter snarfbucket

    (@snarfbucket)

    Thanks for the reply! I couldn’t find .htaccess on my live server, so I tried to upload it. The server told me the file already exists, and it shows up in search results, but it just isn’t there when I look at the directory.

    Thread Starter snarfbucket

    (@snarfbucket)

    Okay I found .htaccess, and it is written correctly. It’s still messed up. This is for a subdomain, by the way.

    Here is the code:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /subdomain/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /subdomain/index.php [L]
    </IfModule>

    # END WordPress

    Please replace your .htaccess with the below one :

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule . index.php [L]
    # END WordPress

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

The topic ‘Migration issues from localhost to live server’ is closed to new replies.