• Resolved visualfire

    (@webartistry)


    Earlier today I moved my blog from a site subfolder to its own subdomain to get the .htaccess file to work in a root folder, so that I could enable permalinks on a GoDaddy Deluxe shared hosting server. I did a clean install of the latest WordPress version in a newly created subdomain folder, then uploaded my plugins and themes and imported my data. Upon enabling permalinks on the subdomain, everything took and my permalinks are now working perfectly… well, almost.

    I did discover one rather bizarre issue that arose as a result of enabling the permalinks that hours of researching has failed to resolve. My blog is one section of a larger site that uses javascript menu navigation. I was using this menu without any issues on my blog when using WordPress’ default URL structure, after adding the script to the index.php file. However, once permalinks are enabled, it appears that the only page on the blog that can find the menu is the entry page. Clicking on any of the categories, archives, tags or post links causes the menu to disappear. I added the menu script to the pages.php file just in case, but it didn’t help.

    Here is my old installation, still set to the default URL structure, in which the menu works in all areas of the blog.

    http://acailawendesigns.com/wordpress/

    And, here is the new subdomain install with permalinks enabled, in which the menu only shows on the first page of the blog.

    http://thebuzz.acailawendesigns.com/

    Any ideas on how to correct this so that the menu displays across all areas of my blog on the new subdomain installation with permalinks enabled (as it does on the old blog install with the default URL structure) would be greatly appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You may be missing the necessary code in your single.php file for this template. Check and make sure the code is the same between single.php and index.php for the part that includes your site navigation.

    But, beyond that, you really should never use JavaScript (or Flash, for that matter) to create something as critical as site navigation. You can never be guaranteed that your end user has JS enabled, has a JS-compatible browser, and JavaScript doesn’t always behave the same way in every browser, since it’s browser-dependent.

    If you desperately need drop-down menus, check out Suckerfish Dropdowns (Google it) and use that method, which does not rely on JavaScript in every browser except IE.

    Thread Starter visualfire

    (@webartistry)

    My theme does not use a single.php file. :/

    webartistry, I’m having the same problem. Did you ever figure it out?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Java site menu disappears in categories, tags, etc. since enabling permalinks’ is closed to new replies.