• Resolved whalegeek

    (@whalegeek)


    Am using the nextgen gallery to put up images on my blog, and it’s been working fine. Last night, I added a page of photos, viewed it in Safari to get the URL and link to a blog post (not adding it to the main gallery at the moment).

    The link and page work just fine in Safari but Firefox returns a 404 error. I had set the page to Private so it wouldn’t just show up in the gallery, but also have tried setting it to public. Yes, I have cleared cache, reloaded, etc. I do not have a copy of IE to test on so have no idea if it works there or not.

    The blog is https://whalegeek.com and the link is at the bottom of the top post, “The Perils of Being a Whale”.

    What setting or whatnot did I miss? TIA

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter whalegeek

    (@whalegeek)

    Looking at other topics in the forum, I wondered if it was a permalink issue. Last night I changed the site to a custom structure using only /%postname%/. Today I reset to default, saved, and then changed to month and name. Still not getting the page to show up. The error is being cased by a page, not a post, so I am not sure the Permalink issue would affect it anyway. Still at a loss. Anyone?

    using only /%postname%/ isn’t smart. Have you tried updating .htaccess manually?

    Thread Starter whalegeek

    (@whalegeek)

    I didn’t know it wasn’t smart until I just went through the Permalink page link to the codex. I have not changed .htaccess manually though I can try that next. I did change to month and name and updated. Since the 404 is coming up on a page, not a post, would that effect it?

    Thread Starter whalegeek

    (@whalegeek)

    I am no pro with .htaccess but in my main directory, all it contains is this:

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

    # END WordPress

    what am I supposed to change?

    You could try resetting your permalinks to the default settings, then check to see if that resolves the problem. If it does, try re-building your custom permalinks using /%year%/%monthnum%/%postname%/.

    Thread Starter whalegeek

    (@whalegeek)

    I reset to default. Posts worked with default structure. I deleted the page that contained the photos. Changed/saved permalinks to Month and Name which gave me /%year%/%monthnum%/%postname%/ and which has taken root with the post. I re-added the gallery page with the photos. Viewed the page, copied the URL. Edited the page to make it private (so it would not show up as a subpage detected on the gallery page). Re-added the URL to the link in the post. Saved it. Viewed the post, clicked on the link, got the 404 error again.

    So somehow the page is lost in translation in WP and the link, while going to what should be a valid page, is disappearing.

    Whoa!

    Edited the page to make it private

    That could be part of the problem. You can see it in Safari because I’m guessing that you’re logged in via Safari but not logged in via other browsers. Using Private to hide subpages isn’t a good idea. Ideally, you need to exclude them from your page listings. Or, if you have only a few top level pages and are likely to have a lot of these gallery pages, reverse the logic and use wp_list_pages with the include parameter to limit what is (and isn’t) displayed.

    Thread Starter whalegeek

    (@whalegeek)

    The issue seems to occur only when I set this gallery page to Private. Every other gallery page is also set to private and they all work exactly as planned. This one, not so much. Appears to be something with the plug in of nextgen gallery? Ideally, I don’t want it to list as a subpage on the gallery page, but it appears at the moment that this is the only way to ensure that the link works.

    Any idea why this would be the case, or should I start a new topic about this specific issue?

    Thanks for all of your suggestions. Much appreciated.

    Thread Starter whalegeek

    (@whalegeek)

    I am not yet sophisticated enough to know how to manipulate the wp_list_pages but will study up on that. Thanks for the tip! I am curious about the function since I have every other gallery page set to private but they are also in an album and the albums are displaying properly in the gallery with working links to the pages with photos.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘404 error in Firefox, works fine in Safari’ is closed to new replies.