• Resolved reganfrank

    (@reganfrank)


    Hi,

    This is a weird problem install of WP 3.0.1.

    When ever I try to:
    1. Create a new page (/wp-admin/page-new.php) , or
    2. Edit an existing page (/wp-admin/edit-pages.php)

    I get a 404 error! If thats not weird enough, every other link ie Media library / Posts etc in the admin panel works fine! I seems that the two offending URLs are the only two that cause this error.

    I thought that maybe this had to do with my .htaccess file, but I have copied it perfectly from the wordpress codex page. Here it is anyway, just incase:

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    # END WordPress

    Could somebody have a look and let me know it Im goin a little batty ??

    Thanks

Viewing 15 replies - 1 through 15 (of 30 total)
  • Thread Starter reganfrank

    (@reganfrank)

    **Workaround**
    If I go to the dashboard and click on the Pages (/wp-admin/edit.php?post_type=page) in the “Right Now” tab, I am taken to a list of pages and am able to add / edit pages from there.

    But this I’m sure is not normal.

    Can you help?

    but I have copied it perfectly from the wordpress codex page.

    Why not copy it perfectly from the menu in your own install? The codex page is *an example*. When you set up the network, you are given commands to paste in specific to your own site.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    If that doesn’t work, what’s your actual URL?

    Thread Starter reganfrank

    (@reganfrank)

    you are given commands to paste in specific to your own site.

    Oops. I must have missed that page on the network install!! grrr

    Anyway I can “re” get it?

    ipstenu – my url is https://sharetel.com.au/

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Your site comes up as being in maintenance mode,… And not the normal default one.

    If you can get into the wp admin section of your main site, you should be able to get to the tools -> network menu. There it’ll have your htaccess settings.

    you are given commands to paste in specific to your own site.

    Oops. I must have missed that page on the network install!! grrr

    Anyway I can “re” get it?

    really? It;s the second page and has two huge boxes that say what to do.

    Go to Tools -> Network. they will still be there. Read the entire page.

    @andrea: I did the auto-upgrade and that should have caught it. It keeps wanting to do ‘/wp-admin/edit-pages.php’ Also, ReganFrank’s workaround to ‘wp-admin/edit.php?post_type=page’ doesn’t always work.

    Right now, the page editing features are broken and we need them fixed!

    * I am self-hosted under Win2Kserver, IIS 5.0, and PHP 5.1.4.

    Do a manual upgrade then. I’ve seen the auto-upgrade not quite complete and look like it did.

    And you’re on IIS. I have no idea if that’s related, but it could be.

    Actually, I downloaded the zip file and that doesn’t contain the missing files either. Elsewhere, I was told that edit-pages.php was refactored into edit.php. Obviously the link wasn’t changed to match. IOW, it’s a bug, not a feature!

    Calling the wp-admin/edit.php?post_type=page instead of the wp-admin/edit-pages.php sort of proves this.

    3.0.1 desperately needs a bugfix release or at least a patch. Tell me where the link is generated and I’ll fix it myself. Thank you.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Elsewhere, I was told that edit-pages.php was refactored into edit.php. Obviously the link wasn’t changed to match. IOW, it’s a bug, not a feature!

    Which link?

    I cannot reproduce this on a clean install of WordPress. Maybe you have a plugin for the admin section that’s causing this?

    Elsewhere, I was told that edit-pages.php was refactored into edit.php.

    Where?

    3.0.1 desperately needs a bugfix release or at least a patch.

    If it’s been out this long and these are the first we’re hearing it…. something else is wrong, not a bug.

    According to MacManX (https://macmanx.com/)

    https://www.ads-software.com/support/topic/wp-301-is-broken?replies=4

    It’s not been out that long and this isn’t a feature that is used that often. Most sites don’t change their page structure that much.

    I just checked – that file was removed in 3.0 & you should be redirected. So… find out what links to it, specifically.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Slamlander – If you could tell us WHERE, exactly, you see those erroneous links, it would help us help you ??

    I can’t find ’em, but I’m sure my search was not exhaustive.

    Moderator James Huff

    (@macmanx)

    Slamlander, you probably had an incomplete upgrade, as nothing should be linking to that file.

    Try downloading WordPress again and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    If that doesn’t work, it’s possible that a plugin or theme function file could be causing it to appear, so try deactivating all plugins and switching your theme.

Viewing 15 replies - 1 through 15 (of 30 total)
  • The topic ‘Editing pages link in dashboard leads to 404 error’ is closed to new replies.