• Resolved bparlan

    (@bparlan)


    Problem: In my admin panel when I hover “Pages” on left panel, “All Pages” or “add new page” do not work, it don’t give out error either, it just redirects me to “all posts” or “add new post” respectively. I’ve looking for an answer more than a week and read all “debug” codes, but no problem / error reported either! (including error_log)

    To be precise:
    https://www.bparlan.com/wp-admin/edit.php?post_type=page <- when I hover “All pages” this link writes on bottom of browser as destination, but it ends up at this address:
    https://www.bparlan.com/wp-admin/edit.php
    And it becomes a “post” (categories comes from post categories etc.), not a page.

    I just wish to clearify basics:

      I’ve disabled all plugins.
      I’ve disabled all themes.
      Everything is updated.
      When I visit a “page” from my site and click “edit” from top bar, it opens edit page view and “Pages” is selected on left bar, I’m able to edit and save changes. But cannot open “list of pages” or “add new page”.
      I’m able to write posts or do everything else without any problem.
      Problem occures in Firefox, IE and Chrome.
      Not a cache releated issue.

    I realy dont have any idea since my website is stable and it’s been more than a year that I did not tried to add a new page. My website is: https://www.bparlan.com

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bparlan

    (@bparlan)

    It’s been two month without any answer or opinion to try, wordpress updated (4.7) within this period and problem still exists. Here are some more observations:

    I’m using Boxzilla plugin, so it’s “Boxzilla” menu is listed right after Comments on admin panel. It’s “All Boxes” sub-link is goes as: https://www.bparlan.com/wp-admin/edit.php?post_type=boxzilla-box , but whenever I click to it it directs to https://www.bparlan.com/wp-admin/edit.php which means list of my posts. Alternatively Edit Box reacts exactly same, I’m not able to list my boxes or edit them. Interestingly “Add New Box” link writes as https://www.bparlan.com/wp-admin/post-new.php?post_type=boxzilla-box and it goes that page without any problem.

    So in conclusion: Any link within admin panel which relates to edit.php, which are:

    directs to only edit.php without reading remaining ? part.

    This is huge problem since I’m not able to list my “drafts” or “pages” or anything else which goes after ? of edit.php…

    I’ve backed up my entire site – reinstalled wordpress many times – disabled plugins or themes etc many times. It’s been more than 5 month in this way, and I’m completely hopeless…

    • This reply was modified 8 years, 2 months ago by bparlan.
    Thread Starter bparlan

    (@bparlan)

    I solve issue by myself. Problem was with .htaccess, it was moddified as following in order to prevent users see extensions of website:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{QUERY_STRING}    "post_type=" [NC]
    RewriteRule (.*)  /$1? [R=301,L]
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    But it turned out that it supposed to be as below cause of updates and some other reasons. Replacing this code within .htacces solved the issue. Sharing for peoples whom might have similat problems.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Admin Panel – “Pages” or “Add New Page” redirects to “Posts”’ is closed to new replies.