• Hello,

    I’m using Polylang plugin and a multisite network in WordPress, I did some redirecting in htaccess file to connect the right pages with language switcher. Everything went fine until the “Pages” link in the main admin window of WordPress redirects me now to the homepage (in Bosnian version).

    So instead of this link: /wp-admin/edit.php?post_type=page

    It brings me to this link: /bs/?post_type=page

    I tried to put under a comment all the redirect in htaccess, to deactivate all the plugins and change the theme, I checked in the database for URL and everything seems to be fine, I checked with my server provider and they said that there are no issues on their side so it must be a problem in WordPress, but still can’t figure out how to solve the problem.

    Can you help me please?


    Thank you so much!

    Best Regards

    Ado

    • This topic was modified 1 month, 2 weeks ago by fibraworld.
    • This topic was modified 1 month, 2 weeks ago by fibraworld.
    • This topic was modified 1 month, 1 week ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    If you’ve commented out all applicable .htaccess directives and deactivated all plugins and switched to a default Twenty* theme and you still get an undesirable redirect, it’s possible you are seeing cached behavior and there really is no current redirect. Try this test again after ensuring all caches have been cleared, both client and server side. Be sure you’ve deactivated all plugins. The current site’s, any network-wide plguins, and any must-use plugins in the /wp-content/mu-plugins/. If /mu-plugins/ exists and contains .php files, rename the folder to deactivate must-use plugins.

    All of the above except clearing caches can be quickly achieved by renaming .htaccess, /mu-plugins/, /plugins/, and your current theme’s folder in /themes/

    If you still get a redirect now, use your browser’s Network Developer tool to help you discern the source of the redirect. With the tool open and any currently listed requests cleared, request the page list table. The tool should show a 3xx redirect of some kind. Click on that entry to see more details. Go to the initiator tab. This probably will not be informative, but there’s a chance some nugget of information could be gleaned here.

    If the redirect remains a mystery, it’s possible your WP installation had become corrupted. To repair possible corruption, perform a manual update, even if it’s to the same version. The point is to replace all core files from a fresh download.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.