Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I moved a Wordpress install from /wordpress/ folder to root by just copying the index and .htaccess file to root and then updating the permalinks etc.

All works fine but I have a problem with the menu in the top nav.

The menu works fine while you're on the main page and scrolls down to the area it should be. But when you go to one of the posts under services like http://angrychickenmedia.com.au/filming/ and then press on for instance "team" in the menu it will point to http://angrychickenmedia.com.au/wordpress/#team thus suddenly adding the /wordpress/ to it and ending up at a blank page.

Anyone have an idea how I can solve this?

share|improve this question
add comment

2 Answers 2

up vote 0 down vote accepted

It appears that all of the links inside that menu are custom menu links, based on the classes "menu-item-type-custom" & "menu-item-object-custom".

You should be able to go into the menu and put whatever you want in the url field.

If you are using hash links (#team) and may have to put the full url http://angrychickenmedia.com.au/#services as opposed to #services

You can also double check the Settings > General > Blog/Site URL to ensure that the /wordpress sub directory is not listed there.

Though it doesn't seem that those will actually link anywhere because there is no div with that ID on the page. Where are these links supposed to go to?

share|improve this answer
add comment

Update the permalink-structure by setting it to default and back to your preferred setting under Settings > Permalinks. It should work correctly after doing this

share|improve this answer
    
Thanks for your quick reply Jan but the problem persists. –  Timsalabim Jan 28 at 0:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.