WordPress.org

Ready to get started?Download WordPress

Forums

Links in Firefox broken. (9 posts)

  1. bengbarker
    Member
    Posted 3 years ago #

    Hi Everyone,

    I'm having some trouble with a site that works in all browsers apart from Firefox. It loads the front page (or at least most of it), but then the internal links don't work. All external ones still load. I think the issue may be to do with the page not finishing it's load. This is only happening in firefox at the moment though.

    It works fine locally too, running on xampp, in all browsers including firefox. The site has become quite heavy with javascript too.

    Here it is: http://soundoffforjustice.org/

    It's also true that in other browsers if you click before the page loads it runs very slowly or even hangs. I feel I must have made a fundamental change in the site for this to be happening suddenly, but can't find the error.

    Thanks if anyone has any thoughts or sees a problem.

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the Twenty Ten theme to rule out any theme-specific problems.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

  3. bengbarker
    Member
    Posted 3 years ago #

    Hi Esmi, thanks for that.

    I went through and did all those things. The site works fine with twentyTen I think the problem probably is with the theme. It's something I've built myself and I imagine I've made an error somewhere that firefox (being a stricter browser I understand) is picking up on, when other browsers are forgiving it.

    It's weird though as when you click on the link it tries to load something and reads it as a link, just doesn't ever get there. I'm at a loss for how to debug the error or a way of searching what I've done wrong.

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    Assuming you're displaying your latest posts on the front page, the issue may be within your theme's index.php template file.

  5. Phil
    Member
    Posted 3 years ago #

    Works fine for me in Firefox 4.

    I did notice that your permalinks are set up rather strange, as the posts use custom permalinks when you hover over them (eg, in your blog), yet your pages and categories are still showing the old standard method when you hover over them (eg, domain.com/page_id=21). Also, not good for SEO, as looking at the raw source, the old links are the ones being displayed to search engines - not the re-written ones.

    Once clicked, the url does appear to get re-written ok, but it's very unusual for the links to appear on hover as the default permalink structure. It's like the re-writing occurs once the link is clicked, not when the page is loaded.

    Make sure you check:

    Admin --> Settings --> Permalinks

    and make sure they are set to custom setting:
    /%category%/%postname%/

    Update your htaccess if prompted too as well:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    Hope this helps.

    Phil

  6. bengbarker
    Member
    Posted 3 years ago #

    Thanks for that Phil. Glad to hear it's working in firefox 4. Still frustrating getting this issue in older firefox though.

    I've actually been fiddling about with the permalinks to see if they were the issue. They were all the updated permalink structure before. I've had a real fiddle with the htaccess as well, but it's right at the moment. I wonder if it's worth going to the firefox forums to ask about the issue, or does anyone else get this error in firefox < 4?

  7. bengbarker
    Member
    Posted 3 years ago #

    This problem is still persisting.

    Has anyone got any thoughts, I think it is something to do with the footer, but the page hangs often if you load it before it's finished loading. Then in firefox it seems to never finish loading, so it's hard to move to a new page.

  8. lac731
    Member
    Posted 2 years ago #

    I'm having the same problem in firefox. I'm using FF 9.0.1. Did you ever find a solution?

  9. bengbarker
    Member
    Posted 2 years ago #

    I think I was loading in jquery twice, once in noConflict mode and once normally, something I was running on the page was using $ not jQuery for the variable. This clashes with wordpress'.

    I can't remember if it was a plugin or not, anyway, have a look at jQuery and avoid using the dollar sign in any code you use.

    Cheers,

    Ben.

Topic Closed

This topic has been closed to new replies.

About this Topic