Support » Fixing WordPress » WordPress automatically redirects to wrong page

  • I set up a new blog without any intention of doing redirects.

    After this, I also set up a new Page for wordpress.

    This page automatically showed on main page.

    When I deleted it, the main page gave me the “Can not be displayed” error.

    Only then I understood that whenever I click the main /domain I get redirected to the /domain/page instead.

    I tried changing themes, but apparently this is not a theme issue.

    WordPress has misunderstood something and always wants to redirect from my index page to the page I made before.

    How do I fix this?

Viewing 10 replies - 1 through 10 (of 10 total)
  • esmi


    Forum Moderator

    If your original web page is called index.html, try renaming it to index.html.old and see if that resolves the problem.

    My original page is under public_html/mypage
    I tried to find index.html, but found only index.php

    Should I try on it?

    I used the redirection plugin to make the home page redirect to the post I want to be seen first when people enter my site. It kind of worked, but I don’t want my site to be messed up like this.

    There probably is some file I can change to restore it to default as it once was.



    Forum Moderator

    Where did you install WordPress?

    I installed it in public_html/domain/
    It’s an addon domain. I have many domains on my host.



    Forum Moderator

    What urls did you enter in Admin/Settings/General? Do you have an .htaccess redirect in your public_html folder?

    In general settings I just have my domain address written in and that’s it.

    The htaccess file says:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress

    Anyone? Help?

    I had the Redirection plugin installed on a site that displayed similar behavior after our client created a page – I couldn’t replicate it by creating a new page myself, but the Home page kept redirecting to that parent_page/page URL the client had created, no matter what. Changing Themes didn’t help, nor did messing with the .htaccess files or WP-SuperCache or checking the database (did notice that the guid of the offending page was set to the root instead of root/?p=id# – but changing that to the correct value also did not help).

    I finally Deactivated the Redirection plugin, and it stopped the craziness.

    Not certain if this is a bug with the plugin, a conflict with the plugin and WordPress 3.0 or what?

    I too have the same issue in wordpress 3.0. I created a contact us page and my index.php always redirects to it (even after I deleted the contact-us page)

    going to my domain does this: –>

    after deactivating redirection, it went away.

    does anyone have a fix for this??

    the redirection plugin did it to mine. soon as I removed that everything worked fine.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘WordPress automatically redirects to wrong page’ is closed to new replies.