Support » Fixing WordPress » Perma links on Home creating problem

  • Resolved ahsan.abassi



    I have changed my word press permalinks to /%postname%/.
    Every menu is working fine,but when i visit any other menu and try to get back to home by clicking ‘Home’ in menu it create a wrong link,and refreshes the current page.
    For example when i visit “Support” its link is http:/site/support/
    but when i click “Home” menu from support page, it create link like http:/site/support/index.php.It should be http:/site/index.php.

    Home is custom link menu with ‘index.php’.
    Thanks in Advance.


Viewing 4 replies - 1 through 4 (of 4 total)
  • I wasn’t clear: is your menu custom coded into the header.php file? Or are you using the Appearance > Menus screen to create the link?

    If it’s the former, you should code it into the header.php file as <?php bloginfo('url'); ?>
    That will go to the home page no matter where in the file structure you are, or what your url is set to.

    If you’re using the Appearance > Menus screen to create your custom link menus, then you should just use the automatic ‘home’ it provides, or the root url for your home page ( as your link.

    Thanks for your reply.

    I am using Appearance > Menus to create Menu,which is custom link Menu.I give ‘index.php’ in custom link.
    Any how i solved the problem,just add the page which i
    am using on front page to menu and call it ‘home’.

    Perfect, glad it worked out for you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Perma links on Home creating problem’ is closed to new replies.