• Resolved uran235

    (@uran235)


    Hello,
    I just noticed in my blog if write e.g. ../index.php/=s or ../index.php/=n it leads to an post of my site. But I dont want that. Nosy people can see this post now although it is linked nowhere. Is there a way to prevent this? I disabled search already but this is strange. Why isn’t there a 404 notfound?

    Thank you
    uran235

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator James Huff

    (@macmanx)

    Hm, I guess I’m not sure what the issue is here.

    1. Why are people purposefully entering /index.php/=s and /index.php/=n ?

    2. What’s “nosy” about people finding public posts on your public site?

    Thread Starter uran235

    (@uran235)

    Thank you for your answer.
    I have some password protected posts which I do not want to be known for all. That’s why I have a hidden menu and and search disabled.
    I have an example so you understand what I mean:
    http://sanktnikolausschule-koeln.de/index.php/=n
    automatically changes itself to
    http://sanktnikolausschule-koeln.de/nachwuchsautorin-der-nikolausschule-geehrt/

    Why does this automatic correction happen? I wanT the exact post-names like in my permalink settings. Otherwise I want a 404 ERROR to be shown. Is this possible?

    Do you know what I mean?
    On wordpress.org this does not happen as I noticed

    • This reply was modified 6 years, 3 months ago by uran235.
    • This reply was modified 6 years, 3 months ago by uran235.
    Moderator James Huff

    (@macmanx)

    Why does this automatic correction happen?

    It’s happening because there is no such thing post as /n on your site, so WordPress is making a best guess and serving up /nachwuchsautorin-der-nikolausschule-geehrt which is the post most alphabetically close to /n

    That operation is intentional, and I’m not aware of any way to change it.

    That that said, the post you’re linking to is _definitely_ not password-protected.

    On a real password-protected post, folks would see nothing more than a password field.

    On wordpress.org this does not happen as I noticed

    It happens here too.

    If you try https://wordpress.org/news/w you’ll get redirected to https://wordpress.org/news/2014/10/wcsf-livestream/ which is the closest alphabetically.

    Thread Starter uran235

    (@uran235)

    Thank you for the explanation. I deliberately linked to an example post.

    My Problem is that I have a post image and this is shown above the password field. Even for guests. And this is private or intended only for some people. I can not hide this picture. But for now I just deleted the image.

    If s.o. knows an solution for my problem (stop making the best guess) I appreciate it

    Greeting
    uran235

    • This reply was modified 6 years, 3 months ago by uran235.
    • This reply was modified 6 years, 3 months ago by uran235.
    Moderator James Huff

    (@macmanx)

    Where images are displayed is generally up to your theme.

    Was it a featured image? If so, that’s pretty much general theme behavior, as such I generally avoid the use of featured images on password-protected posts.

    If it was not a featured images, I recommend reporting the issue to the theme’s support at https://theme-fusion.com/support/

    Thread Starter uran235

    (@uran235)

    Yes, I meant the featured image. I forgot that word. So I now avoid that.
    Thanks for making me smarter.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘../index.php/=s links to site (post)’ is closed to new replies.