• Resolved K. David

    (@k-david)


    Greetings, I moved two blogs from an old site to a new site and server. To move them, I installed Word Press into two sub-directories on the new site, then did .xml exports from the old blogs which I imported to the new (I did not export directly from the data base and I did not use PHP MyAdmin). These blogs now reside at: https://kalarhythms.org/usa/blog/ and https://kalarhythms.org/megarhythms/blog/

    Now, in the right hand column under the “Post Archive” header, links to posts from previous months do not work. Instead they produce a page with the message “Not Found.”

    The links on the right side under “Post Archive” worked on the old blogs when they were on the old site. Neither of two new blogs has an .htaccess file.

    What can I do to restore function to the new blogs so that links to the Post Archive will work? Thank you.

Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter K. David

    (@k-david)

    Also, I tried adjusting the .htaccess file you wrote to compensate for the fact that the blog is in a sub-directory (of /usa/blog/), because I read somewhere this is what one should do. That did not work either. The adjusted code based on what you wrote is:

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

    Thread Starter K. David

    (@k-david)

    Although I have not caching plugins, I deactivated all plugins and and set the permissions of the .htaccess to 777 and tried:
    the .htaccess file you wrote
    the .htaccess file your wrote that I modified to allow for sub-directories
    an empty .htaccess, then, I re-saved the Permalinks
    Results for all are the same. Post Archive not working.

    Thread Starter K. David

    (@k-david)

    Guess what! This issue is solved! The problem was with the template. When I switched to the Twenty-Ten template the Post Archive links worked. The template that I was using is one that I wrote myself in an earlier version of Word Press (about 2.4 OR 2.5). The Post Archive links worked in my template, even for the current 3.01 version, when it was on the old server. However, the Post Archive links stopped working in my template when I moved to a new server, until, I switched away from my template to use another. Now the Post Archive links work!

    The .htaccess file that have now was created by sending up and an empty .htaccess file, then re-saving the Permalinks. When the good suggestions offered by you and ipstenu did not work, I figured the must be an idiosyncrasy on my end, and it was my template.

    Many big thanks for your attention. Your help led me to figure this out.

    Gratefully yours – David

    ?? glad to see it worked

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Post Archive links render "Not Found" after moving blogs’ is closed to new replies.