Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Was this issue ever resolved? I’m having the same issue with mod_rewrite.

    Links such as: http://www.mikecookonline.com/projects don’t work, but links with “/index.php/” inserted do, as in the analogous http://www.mikecookonline.com/index.php/projects .
    I have AllowOverride set to All, as in:

    <Directory />
    Options FollowSymLinks
    AllowOverride All
    </Directory>

    Thanks in advance,

    -Mike

    Thread Starter gauntalus

    (@gauntalus)

    Sorry I haven’t responded in a while, i got frustrated and gave up for a bit.

    What I meant was, if I type this address into my browser, it works fine: http://www.mikecookonline.com/index.php/projects

    If I type this address into my browser, I get a 404: http://www.mikecookonline.com/projects

    Likewise, http://www.mikecookonline.com/2006/12/26/microsoft-and-holiday-software-releases/ doesn’t work, but http://www.mikecookonline.com/index.php/2006/12/26/microsoft-and-holiday-software-releases/ does.

    I didn’t see an option for removing the index.php from URLs in Options > Permalinks, but I have permalinks set to “Date and name based.”

    Is there anything else I can try?

    Thread Starter gauntalus

    (@gauntalus)

    Ok, I’ve discovered something. It appears that links like:

    mikecookonline.com/projects don’t work, but if I change it to:
    mikecookonline.com/index.php/projects it will work fine. How do I make the leap to getting it to work without that index.php in there?

    Thread Starter gauntalus

    (@gauntalus)

    ok, I deleted the wordpress folder, dropped my wordpress database, reinstalled wordpress 2.0.6, created and imported my wordpress database backup, upgraded the wordpress database via /wordpress/wp-admin, then went to options -> permalinks, and now i still get the error:

    Fatal error: Call to undefined method WP_Rewrite::flush_rules() in /var/www/localhost/htdocs/wordpress/wp-admin/options-permalink.php on line 91

    So it is not possible that this is caused by a plugin or an out of date file now is it?

    I don’t know what to do now :/

    EDIT: whoami, which upgrade instructions are you talking about?

    Thread Starter gauntalus

    (@gauntalus)

    alright, i’m going to delete the entire wordpress folder from the new server for good measure, then try again, copying over old themes etc one by one.

    Thread Starter gauntalus

    (@gauntalus)

    DianeV, thanks for taking the time to try and help me out. I’m using WordPress version 2.0.6. I don’t know what you mean by “did you upload a WP file… and from the correct version”.

    To summarize, I have two computers, the old one with wordpress 1.5.1.3 installed, and the new one with 2.0.6 installed.

    I first copied my wordpress folder from the old computer to the new one, then installed wordpress 2.0.6 on the new computer over top of the copied directory structure. Then I got a wordpress database dump from the old machine, and imported it into mysql on the new machine. I upgraded the database on the new machine (per the automated process in /wordpress/wp-admin), and finally tried updating my permalink structure to no avail.

    Lastly I tried copying classes.php and functions-post.php from the link moshu posted, but they broke my permalinks page inside my wordpress dashboard as I mentioned above.

    Thread Starter gauntalus

    (@gauntalus)

    In addition, my old .htaccess file looked something like:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ – [S=60]
    RewriteRule ^(about-me)/trackback/?$ /index.php?pagename=$1&tb=1 [QSA,L]
    RewriteRule ^(about-me)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
    RewriteRule ^(about-me)/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
    RewriteRule ^(about-me)/page/?([0-9]{1,})/?$ /index.php?pagename=$1&paged=$2 [QSA,L]
    RewriteRule ^(about-me)(/[0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]
    RewriteRule ^(projects)/trackback/?$ /index.php?pagename=$1&tb=1 [QSA,L]
    RewriteRule ^(projects)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
    RewriteRule ^(projects)/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
    RewriteRule ^(projects)/page/?([0-9]{1,})/?$ /index.php?pagename=$1&paged=$2 [QSA,L]
    RewriteRule ^(projects)(/[0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]

    Whereas my new file is just this:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Thread Starter gauntalus

    (@gauntalus)

    What do you mean by click reset? I see an “Update Permalink Structure” button, but clicking this didn’t help. I also followed the instructions on this (http://wordpress.org/support/topic/53442?replies=2) topic from what moshu suggested, but when i tried to enter the permalinks menu in the wordpress dashboard i just get this:

    Fatal error: Call to undefined method WP_Rewrite::flush_rules() in /var/www/localhost/htdocs/wordpress/wp-admin/options-permalink.php on line 91

    Thread Starter gauntalus

    (@gauntalus)

    hmmm, permalinks still aren’t working 🙁

    http://www.mikecookonline.com

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