• Resolved ke vinritt

    (@ke-vinritt)


    I moved my pages from a testing site to a live site using the WordPress importer plugin. Now when I try to view the pages I get ‘page cannot be found’. In the dashboard, I see all the pages and the links are correct. Is there something that I could have missed when importing? The index page works fine – here’s the link

Viewing 8 replies - 1 through 8 (of 8 total)
  • All of the links in your nav bar appear to be pointing to your test site.

    Thread Starter ke vinritt

    (@ke-vinritt)

    It’s the top nav – when I mouse over and click I get https://webone.mcaec.org/mcaecnew/the-academy/sharing-our-learning/ for example. The testsite link would be northshorewebdesign.net/testsite/the-academy/sharing-our-learning

    I’m having the same problem. I think its database or .htaccess file permissions (which I KNOW I don’t have access to, but WordPress needs it). I’ll be watching the discussion here.

    Try resetting your custom permalinks back to the default setting. If this works, then review Using_Permalinks before setting a custom permalink structure back up again.

    Thread Starter ke vinritt

    (@ke-vinritt)

    switching back to default worked. trying to figure out how to get back to custom permalink – sawatzky I’ll keep you posted

    Wow. That worked. Nice one.

    Thread Starter ke vinritt

    (@ke-vinritt)

    Have you figured out how to get the custom permalinks to work?

    No, but this is where I’m going next (found at the page mentioned above):

    Where’s my .htaccess file?

    WordPress’s index.php and .htaccess files should be together in the directory indicated by the Blog address (URI) setting on your General Options page. Since the name of the file begins with a dot, the file may not be visible through an FTP client unless you change the preferences of the FTP tool to show all files, including the hidden files. Some hosts (e.g. Godaddy) may not show or allow you to edit .htaccess if you install WordPress through the Godaddy Hosting Connection installation.
    [edit] Creating and editing (.htaccess)

    If you do not already have a .htaccess file, create one. If you have shell or ssh access to the server, a simple touch .htaccess command will create the file. If you are using FTP to transfer files, create a file on your local computer, call it 1.htaccess, upload it to the root of your WordPress folder, and then rename it to .htaccess.

    You can edit the .htaccess file by FTP, shell, or (possibly) your host’s control panel.

    The following permalink rewrite code should be included in your .htaccess file:

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

    If your .htaccess file contains errors that bring down your site (“Internal Server Error (500)”), you will need to use FTP or your host’s control panel to delete the rogue .htaccess file.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘migrated pages from testing site to live site – problems viewing’ is closed to new replies.