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!
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. :)
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?
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 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.
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
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
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
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!
@@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.
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
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?
+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!
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!
@@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
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
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*
+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!
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 :)
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!
+Mystic68four Awesome! Thanks for the great feedback and thanks for watching :-)
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!
I'm happy it worked for you and thanks for subscribing! Much appreciated :)
All Bjorn tutorials are excellent
[VIDEO] Prevent directory browsing on your WordPress - Hackers love directory browsing ua-cam.com/video/Iaqa8iahyw0/v-deo.html #WordPress #tutorial
Your videos are fantastic. Great info!
Thanks and thanks for watching!
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!
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. :)
Hi James,
I didn't know about that feature in Bluehost! That's a good time saver. Thanks for sharing!
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 :)
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?
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.
I agree, there's a lot of things they don't tell you. That's the price of using open source software.
@@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.
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
Does this not harm your Search Engine Optimization?
My web hosting uses litespeed server. Will above .htaccess code work for me.
Can url removal in google search console be alternative to it??
Thank you very much but any can still have access to these files through the developer tools in google chrome form example or firefox...
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
@Coming Games yes..but he didnt reply. So, I dont know the exact answer.
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
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!
@@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.
Please make a video to setup wp-robot plugin
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
Wow Great Boss
Thanks and thanks for watching!
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?
Great tutorial, thanks 👍
Wouldn't that cause issues with Google mobile score because it will prevent WP from outputting CSS & JS Files inside wp-content/plugins?
Awesome. This works for me.
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
Thank you for everything! Just curious, does this affect SEO rankings? Thanks again
+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!
Awesome videos on you channel, keep up the good work. Thanks.
+Rohit Bawa Thanks Rohit. I plan to keep it up :)
Thank You So much! Your Videos are helping me so much!
+Karisma Pooja You're welcome Karisma. I'm glad you like them!
Great tutorial, much appreciated thank you.
+NetPwn You're welcome. Thanks for the comment!
But I think they'll still be visible through the dev tool?
This is so great, thank you so very much. It is very helpful.
Love you man
great video very useful thanks
I'm glad you found it useful Brandon!
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
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!
@@wplearninglab I mean the login_url
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?
@@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
Thank you!!
You're welcome, thanks for watching! Let me know if you have any questions :)
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
Nice video, thanks
You're welcome Rian, thanks for watching!
Always appreciated ❤❤❤❤❤
Thanks Siddharth, and thanks for watching!
Thanks so much
And thank you once again!!!!!
workwithksmusselman You're very welcome! I'm glad I can help :)
Many Many Thanks to you
You're welcome, thanks for watching!
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*
+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!
Thank you
No problem. Glad to help. Thanks for watching!
love you bro u save me .. thanks a lot
You're welcome, I'm glad I could help! Thanks for watching and let me know if you have any questions :)
Is this still working ?, I've tried adding the Options -Indexes but unfortunately not working for me.
As far as I know it's still working, I'll put it on my list to test.
Ok great and thank you for all the fantastic videos, it's much appreciated :)
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 :)
Very thanks! save my life.. =)
***** You're welcome Odirlon, glad this video helped!
Create file .htacces
Write Options -Indexes
...