• Resolved welcome

    (@welcome)


    I can’t make a page link I’ve made in a sidebar text widget work.

    I’ve read the permalinks doc, changed the permissions on my .htaccess file, changed the permalink settings in the options panel, but I’m having zero success. I’m missing something, could someone wiser help?

    Right now:

    -.htaccess permissions are 646

    -permalink structure is set to date-and-name-based

    -the page title is ‘read an excerpt’ and the slug is ‘read-an-excerpt’

    -the link in the widget is Read an <a href="https://seandungan.com/unwelcomeness/?page_id=48">excerpt</a

    -no matter what I set the permalink structure at, when I click ‘view’ for the page in question in the page management section it always comes up …/?page_id=48 in the address window.

    -when I’m logged in, and test the site in a separate window, the link works. When I’m logged out, it doesn’t.

    -when the link is clicked, https://seandungan.com/unwelcomeness/read-an-excerpt/ (not /?page_id=48) comes up in the address window, then you get a 404.

    Thanks for your help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter welcome

    (@welcome)

    more info:

    I followed instructions in a WordPress doc, which suggested that I delete the contents of my .htaccess file, and replace it with a blank file. Which I did, then the server made the site inaccessible for 12hrs, until the service provider took some weird code out of the file that had mysteriously appeared there, messing up my blog. Now the site’s back up, but still the link doesn’t work.

    please help!

    whooami

    (@whooami)

    you cannot have this:

    (from your widget)
    https://seandungan.com/unwelcomeness/48/

    and this:
    (from your post above)
    https://seandungan.com/unwelcomeness/read-an-excerpt/

    work simultaneously.

    Furthermore, if you have the normal, old, not pretty permalink in the widget, as you indicate above thats where its going to send you..its not going to send you off to the pretty permalinked page.

    If you want someone to look further it might be nice if you made a login for ppl to use. Since you indicate that you see it when logged in but not when you arent.

    Also, it might be nice to know what your current permalinks are set to, and what your .htaccess reads.

    Thread Starter welcome

    (@welcome)

    Thanks whooami.

    Since I have to be logged in as admin for the link to work, I made an admin login for testing purposes: username= test pw= test

    Currently, permalinks are set to Date and name based: /%year%/%monthnum%/%day%/%postname%/

    .htaccess reads:

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

    (@whooami)

    you really dont want a wide open public admin acct ?? Make test a subscriber

    whooami

    (@whooami)

    i edited the page slug, btw. and that page isnt published, its a draft. when you publish it, the rest of the world will be able to see it.

    Thread Starter welcome

    (@welcome)

    ACK! Of course, thanks.

    And thanks for kindly pointing out my unbelievably simple mistake!

    Very much appreciated.

    Resolved

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can’t make page links work: 404 apparently no matter what’ is closed to new replies.