Support » Fixing WordPress » HOME link pointing to wrong page

  • The site is here.

    The site opens to the post page called HOME. But once you navigate to another page, and try going back HOME, the link changes to the wrong path (the site in the root directory – the one we are re-doing).

    I can’t figure out where it’s pulling that URL from. Any suggestions?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Looks like you have an html page in your root directory that is not part of WordPress. I would delete it.

    true
    cant have a index.htm file in roott or wp wont show

    Thread Starter memdesigns

    (@memdesigns)

    Thanks. It’s actually an index.asp file but I guess that’s the same problem. I can’t delete it because it’s running the live site while we build the WP site, so I guess we’ll just have to live with it until we move the WP site to the root directory to make it live. Annoying but not the end of the world.

    If you know of any work-around, please post it.

    It’s probably too late now, but what I usually do is install WordPress in a wp folder, test everything there and then when I go live, I just follow these steps – http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    the boss posted this, is it same thing?
    In your admin go to Appearance > editor
    Located the header.php in the right hand column.

    Find the spot that look like:

    <h1>“><?php bloginfo(‘description’);?></h1>

    Change it to:

    <h1><?php bloginfo(‘description’);?></h1>

    or whatever you want.

    You must have installed wordpress in a folder 2012 if so check the urls in Settings>>>General they should be
    http://swingandsway.ca/2012/

    Thread Starter memdesigns

    (@memdesigns)

    …but there are no paths specified in header.php

    And Christine – I did install WP in a subdirectory called /2012.

    Thread Starter memdesigns

    (@memdesigns)

    The path in settings definitely points to the right place.

    Hi all, this sounds like my issue too. Don’t mean to hijack, but I don’t want to ask a question that is already been solve =)

    I had an index.html or index.php when I installed. (cannot remeber which, but it was just a simple coming soon holder page…

    So when I browse to the root (after installing wp), the root wordpress page does not load. The original index.html/index.php file that I had loads. =(

    Can I safely delete the index page? Will wordpress regenerate a new default page for me or do I need to run something after.

    This is a fresh site so I’m not worried about losing content… rather not wanting to break my wordpress site before I have gotten started 🙂

    Any help would be great!

    [edit 10 minutes or so after original post] Problem solved!

    I feel like a silly head =P

    Upon ftp’n into the site and reviewing the index.php file, I noticed it was the default wordpress… then I realized there was a home.html file that I guess was pushed to the top of the root to load as default at some point when I orginally setup the site. I deleted it and all is well now.

    I still have a question for future refernce. If I did have a index.php or html, would the wp install have overwritten it??
    [/edit]

    Cheers

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘HOME link pointing to wrong page’ is closed to new replies.