WordPress.org

Ready to get started?Download WordPress

Forums

Help!! Pretty permalinks cause error message at top. (4 posts)

  1. rkaul
    Member
    Posted 6 years ago #

    Hi,

    I have scanned through the forums before posting here. I am in the process of switching servers. On my new server, I set up my new blog with a new installation of WP 2.2 using Metropolis from Godaddy. I used the WP-to-WP export-import to transfer my blog posts. Everything works fine, until I switch to "pretty permalinks" (year/date/post-slug)on my new WordPress. As soon as I do so, I get the following error message on the top of my blog:

    Invalid argument supplied for foreach() in /home/content/k/a/u/kaul123/html/chittha/wp-includes/classes.php on line 88

    and although the links do get converted into pretty permalinks, they land up at the 404 page.

    I can't give a link to the new error page because I am testing it from my computer (by editing my hosts file). However, my blog on the old server is working here, and a screenshot of the error page on new server is posted here. The blog is in Hindi.

    I tried all solutions given in threads on this search page, but nothing seems to work for me. Thanks in advance for any help that I can get.

  2. rkaul
    Member
    Posted 6 years ago #

    PS:
    When I switch back to default permalinks the error message goes away. I did try commenting out the following lines in wp-config.php

    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');

    Didn't work. Deleting first one messed up my utf-8 text, though, and did nothing for the error message.

  3. rkaul
    Member
    Posted 6 years ago #

    PPS:
    My .htaccess exactly matches the #2 given on this page.

  4. rkaul
    Member
    Posted 6 years ago #

    People!
    Anyone listening? I am still waiting for some response. Still struggling with the above problem. Would appreciate any response. I deleted and reinstalled WP many times, tried database copying instead of WP export-import, changed collation from latin_swedish.. to unicode_utf8. In short, I have tried everything I know, and more.

Topic Closed

This topic has been closed to new replies.

About this Topic