WordPress site not fully moved

I have moved a wordpress site from /wordpress/ to / and it has worked except for the header navigation bar.

http://vashonschoolsfoundation.org/thank-you/annual-report/

Read More

If you click on of the top links (not one of the dropdown links), it takes you to a /wordpress/ url.

IE: if you click Thank you, it should take you here,

http://vashonschoolsfoundation.org/thank-you/annual-report/

but instead it takes you here:

http://vashonschoolsfoundation.org/wordpress/thank-you/annual-report/

The correct url (without /wordpress) works, but it isn’t the one getting linked to.

All the submenu links work fine.

How can I fix this?

Note: when you hover over the top links, they say they will take you to the right links (in the url preview browser feature in most browsers), but they take you to the wrong (/wordpress) one.

Related posts

Leave a Reply

5 comments

  1. I see that only two top navigation links redirects to /wordpress/ (‘Thank You’ and ‘Contribute’). ‘About’ and ‘Contact us’ works correctly.
    When clicking on ‘Contribute’ server sends Location header – Location:http://vashonschoolsfoundation.org/wordpress/contribute/give-today/

    This header is set somewhere in you code or options that are saved in database. I don’t think that the problem in database, because in this case all links will be broken.
    Try to disable all plugins, switch to default theme and check the links.

  2. Dump your wordpress DB and then search replace old URL from the dump and then drop your current db and then import the corrected one.

    Do you still have an wordpress under /wordpress/ folder?

  3. All you need to do is make two changes in your database table wp_options

    All you have to do is change the option_value field to the correct URL for the records with option_name=’siteurl‘ or option_name=’home‘.

    Read the instructions in the Codex.