Prevent Directory Browsing On Your WordPress - Hackers Love Directory Browsing | WP Learning Lab

Поделиться
HTML-код
  • Опубликовано: 6 янв 2025

Комментарии • 86

  • @Mystic68four
    @Mystic68four 9 лет назад +2

    As a beginner and learning how WP works, All your videos have been the most useful resources I have ever had! I really appreciate your hard work! Thank you!

    • @wplearninglab
      @wplearninglab  9 лет назад

      +Mystic68four Awesome! Thanks for the great feedback and thanks for watching :-)

  • @SamBassComedy
    @SamBassComedy 4 года назад +2

    You're the first person to do this right that I used. I tried other ways and it broke my site. This works perfectly, thank you! Subscribed!

    • @wplearninglab
      @wplearninglab  4 года назад +1

      I'm happy it worked for you and thanks for subscribing! Much appreciated :)

  • @osvaldowesly9993
    @osvaldowesly9993 2 года назад

    All Bjorn tutorials are excellent

  • @Gracence322
    @Gracence322 4 года назад +1

    Thank you Thank you Thank you! I appreciate you putting all of this in layman's terms for those of us who don't have a clue! Great tutorial!

  • @urbancowboy199
    @urbancowboy199 4 года назад +1

    This video really helped me lock down my directories! THANK YOU! Just a side note though, with Bluehost when I log into my CPanel, there is an option called Indexes, and through this interface, it makes these modifications for you. :)

    • @wplearninglab
      @wplearninglab  4 года назад +1

      Hi James,
      I didn't know about that feature in Bluehost! That's a good time saver. Thanks for sharing!

    • @urbancowboy199
      @urbancowboy199 4 года назад

      Absolutely! I didn't either until I watched another video on how to lock down these Wordpress sites. Lots of good info out there; glad I could help :)

  • @artkiko4460
    @artkiko4460 5 лет назад +1

    Super Helpful and very well explained. thanks. it's insane that wordpress or hostgator don't set this up by default or even tell you about it when doing a new install.

    • @wplearninglab
      @wplearninglab  5 лет назад

      I agree, there's a lot of things they don't tell you. That's the price of using open source software.

    • @artkiko4460
      @artkiko4460 5 лет назад

      @@wplearninglab true. hey, i'm trying to tackle my media folder and the huge number of generated images i get. i can't stand the bloat! i see a lot of articles and videos on how to prevent wordpress from generating different image sizes but i can't seem to find anything to help me determine what the ESSENTIAL sizes are that i should keep. i'm using woocommerce only (no blog) on flatsome theme. do you have any tips on how i can figure this out? thanks.

  • @snowman_web_design_development
    @snowman_web_design_development 3 года назад +1

    Your videos are fantastic. Great info!

  • @TheKiwiCoder
    @TheKiwiCoder 3 года назад

    After adding Options -Indexes it does prevent directory listing, but I can't access the rest of my site either, like the main domain or any subpages. Any ideas how to fix that?

  • @RohBawa
    @RohBawa 9 лет назад +1

    Awesome videos on you channel, keep up the good work. Thanks.

    • @wplearninglab
      @wplearninglab  9 лет назад

      +Rohit Bawa Thanks Rohit. I plan to keep it up :)

  • @karismachica5177
    @karismachica5177 9 лет назад +1

    Thank You So much! Your Videos are helping me so much!

    • @wplearninglab
      @wplearninglab  9 лет назад

      +Karisma Pooja You're welcome Karisma. I'm glad you like them!

  • @glitterbrushpainting
    @glitterbrushpainting 3 года назад

    Great tutorial, thanks 👍

  • @NetPwn
    @NetPwn 9 лет назад +3

    Great tutorial, much appreciated thank you.

    • @wplearninglab
      @wplearninglab  9 лет назад

      +NetPwn You're welcome. Thanks for the comment!

  • @sophieberg3634
    @sophieberg3634 5 лет назад

    This is so great, thank you so very much. It is very helpful.

  • @dullknife01
    @dullknife01 4 года назад +1

    Thank you very much for all your videos. I would know if when we disallow google robots scanning our content directory our site won't be forgotten for referencing .... To be referenced and well ranked is important for all of us

    • @wplearninglab
      @wplearninglab  4 года назад +1

      Hi Steve,
      The directories we block in this video don't need to be indexed or ranked by search engines. What you need ranked are pages, posts and sometimes custom post types. Blocking directory browsing won't affect that.
      I hope that helps, let me know if you have any further questions. Thanks for watching!

    • @MostCommentsAreFake-ud8by
      @MostCommentsAreFake-ud8by 4 года назад

      @@wplearninglab - Hi, does Google use the name of the custom post type. As my current CPT names are nothing to do with the subject of my website ? Cheers for all the knowledge.

  • @ahmedbakhach2490
    @ahmedbakhach2490 4 года назад

    Thank you very much but any can still have access to these files through the developer tools in google chrome form example or firefox...

  • @JonathanStrange
    @JonathanStrange 4 года назад +1

    Does this not harm your Search Engine Optimization?

  • @siddharthraj7531
    @siddharthraj7531 6 лет назад +1

    Always appreciated ❤❤❤❤❤

    • @wplearninglab
      @wplearninglab  6 лет назад

      Thanks Siddharth, and thanks for watching!

  • @mrtipsfun6441
    @mrtipsfun6441 5 лет назад +1

    Wow Great Boss

  • @longbeach225
    @longbeach225 4 года назад

    Awesome. This works for me.

  • @firstvideo6339
    @firstvideo6339 6 лет назад +1

    Hey dear, nice tutorial, but don't you think /wp* will effect on website's seo??? if even google crawlers can't find our web's wp all folders access then would it be OK? pls clarify

    • @firstvideo6339
      @firstvideo6339 3 года назад +1

      @Coming Games yes..but he didnt reply. So, I dont know the exact answer.

  • @WahjoeGunawan
    @WahjoeGunawan 4 года назад

    Hallo, I am using vps and debian nginx (installed by other) and can not find htaccess. I have checked that in nginx no htaccess installed. do you have any solution to protect web as we you use htaccess ? thank you

  • @syedwajahatali2020
    @syedwajahatali2020 3 года назад

    HI, You taught method of preventing directory browsing for Apache webserver but what if our website has open lite speed server pls tell me code for this condition as well

  • @ankushverma270
    @ankushverma270 4 года назад

    My web hosting uses litespeed server. Will above .htaccess code work for me.
    Can url removal in google search console be alternative to it??

  • @brandonbailey7118
    @brandonbailey7118 9 лет назад +1

    great video very useful thanks

    • @wplearninglab
      @wplearninglab  9 лет назад +1

      I'm glad you found it useful Brandon!

  • @AAlani-uz4gm
    @AAlani-uz4gm 5 лет назад

    Wouldn't that cause issues with Google mobile score because it will prevent WP from outputting CSS & JS Files inside wp-content/plugins?

  • @davidromelus7121
    @davidromelus7121 6 лет назад

    Hi, I left a messaged before stating that It didn't work for me. It did work. It took a little time. but I do have another question. I change the admin name. Do I have to change something in the code to?

  • @osherezra131
    @osherezra131 6 лет назад

    Hey Thanks A lot appreciate, one question how can I remove all the wp folders listed in the "sources" panel in google dev tools ? any Idea? cheers

  • @anonymous_00
    @anonymous_00 4 года назад

    Please make a video to setup wp-robot plugin

  • @aniketjoshi7518
    @aniketjoshi7518 5 лет назад

    Love you man

  • @nachos1331
    @nachos1331 9 лет назад +1

    Thank you for everything! Just curious, does this affect SEO rankings? Thanks again

    • @wplearninglab
      @wplearninglab  9 лет назад +4

      +David K Hi David. It shouldn't affect SEO ranking because search engines rank pages on your site, they don't rank content in your plugin or theme directories. Thanks for your comment!

  • @mauwiks
    @mauwiks 6 лет назад +1

    Hi Bjorn, I'm confused about how to redirect user login/registration to a custom page. Do you have any video for this? Thanks ahead

    • @wplearninglab
      @wplearninglab  6 лет назад +2

      Hi Mauwiks, I don't have a video for that yet, but this plugin should do it: wordpress.org/plugins/redirect-after-login/
      I hope that helps and thanks for watching!

    • @mauwiks
      @mauwiks 6 лет назад +1

      @@wplearninglab I mean the login_url

    • @wplearninglab
      @wplearninglab  6 лет назад

      Sorry for the delay in responding.
      I'm still not 100% clear, do you mean you want to change the login URL or redirect after someone logs in?

    • @mauwiks
      @mauwiks 6 лет назад

      @@wplearninglab I mean, I would like to change my default login (kindtechgroup.net/wp-admin) into my customized page located at kindtechgroup.net/login. This is not like renaming the wp-admin or wp-login.php. It's changing the default URL, and then redirecting the old "available" /wp-admin into the new login "custom page" /login

  • @philbertmill2
    @philbertmill2 5 лет назад +2

    Thank you!!

    • @wplearninglab
      @wplearninglab  5 лет назад

      You're welcome, thanks for watching! Let me know if you have any questions :)

  • @xenderxxx8994
    @xenderxxx8994 5 лет назад +1

    love you bro u save me .. thanks a lot

    • @wplearninglab
      @wplearninglab  5 лет назад

      You're welcome, I'm glad I could help! Thanks for watching and let me know if you have any questions :)

  • @cgworks
    @cgworks 3 года назад

    Thank you for the tutorial it really helps lost. please help with one thing I used the same code but it not showing a blank page it showing Error 403 - Forbidden
    You don't have permission to access the requested resource. Please contact the web site owner for further assistance. please help

  • @rianhasiando
    @rianhasiando 6 лет назад +1

    Nice video, thanks

    • @wplearninglab
      @wplearninglab  6 лет назад

      You're welcome Rian, thanks for watching!

  • @iznasen
    @iznasen 4 года назад

    But I think they'll still be visible through the dev tool?

  • @wplearninglab
    @wplearninglab  9 лет назад

    [VIDEO] Prevent directory browsing on your WordPress - Hackers love directory browsing ruclips.net/video/Iaqa8iahyw0/видео.html #WordPress #tutorial

  • @BeyondTshirts
    @BeyondTshirts 9 лет назад

    And thank you once again!!!!!

    • @wplearninglab
      @wplearninglab  9 лет назад

      workwithksmusselman You're very welcome! I'm glad I can help :)

  • @mdshohag6644
    @mdshohag6644 6 лет назад +1

    Many Many Thanks to you

  • @OdirlonHerartt
    @OdirlonHerartt 9 лет назад

    Very thanks! save my life.. =)

    • @wplearninglab
      @wplearninglab  9 лет назад

      ***** You're welcome Odirlon, glad this video helped!

  • @trictreat1205
    @trictreat1205 5 лет назад

    Thanks so much

  • @AhsanGhafoor-fy6ld
    @AhsanGhafoor-fy6ld 7 лет назад

    hi on my site the robot file existed, it said the following
    User-agent: *
    Disallow: /wp-admin/
    Allow: /wp-admin/admin-ajax.php
    should i do your way or shall i leave it like above, or change it like the following??
    User-agent: *
    Disallow: /wp*

    • @wplearninglab
      @wplearninglab  7 лет назад

      +Ahsan Ghaf Hi Ahsan, I think you can leave it like above. Access to the Ajax file Mary be required for something I don't know about.
      You could consider adding
      Disallow: /wp-includes/
      I hope that helps and thanks for watching!

    • @AhsanGhafoor-fy6ld
      @AhsanGhafoor-fy6ld 7 лет назад

      Thank you

    • @wplearninglab
      @wplearninglab  7 лет назад

      No problem. Glad to help. Thanks for watching!

  • @silverdicer
    @silverdicer 6 лет назад

    Is this still working ?, I've tried adding the Options -Indexes but unfortunately not working for me.

    • @wplearninglab
      @wplearninglab  6 лет назад

      As far as I know it's still working, I'll put it on my list to test.

    • @silverdicer
      @silverdicer 6 лет назад

      Ok great and thank you for all the fantastic videos, it's much appreciated :)

    • @silverdicer
      @silverdicer 6 лет назад

      For some strange reason I'm not getting the 'white page' unfortunately..when testing I went to a specific plugin folder and it had a link back to their website.
      Thank you so much for all the great videos, they really are a great source of valuable information, it is much appreciated :)

  • @imapersononyt.3385
    @imapersononyt.3385 3 года назад

    Create file .htacces
    Write Options -Indexes
    ...