WordPress automatically redirects to wrong page (11 posts)

  1. fernandjules
    Posted 7 years ago #

    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?

  2. esmi
    Forum Moderator
    Posted 7 years ago #

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

  3. fernandjules
    Posted 7 years ago #

    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.

  4. esmi
    Forum Moderator
    Posted 7 years ago #

    Where did you install WordPress?

  5. fernandjules
    Posted 7 years ago #

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

  6. esmi
    Forum Moderator
    Posted 7 years ago #

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

  7. fernandjules
    Posted 7 years ago #

    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

  8. fernandjules
    Posted 7 years ago #

    Anyone? Help?

  9. casabsolute
    Posted 6 years ago #

    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?

  10. ravenmxc
    Posted 6 years ago #

    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:
    domain.com --> domain.com/contact-us

    after deactivating redirection, it went away.

    does anyone have a fix for this??

  11. 1stAngel
    Posted 6 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic