GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Wordpress file permission.I've googled it (https://gfy.com/showthread.php?t=1223626)

lakerslive 10-22-2016 09:07 AM

Wordpress file permission.I've googled it
 
Hi guys,

I've google about adding file persmissions for wordpress folders and files but it still wasnt cleared.

I just want to make sure

Do i just set the 3 folders
wp-conteont - 755
wp-admin - 755
wp-includes - 755

BUTTTT

1. What about the subfolders and the sub sub folders inside those folders??????
2. Do i add 644 persmission to EVERY SINGLE file in these folders and sub folders?

tnx

EddyTheDog 10-22-2016 09:12 AM

Quote:

Originally Posted by lakerslive (Post 21241129)
Hi guys,

I've google about adding file persmissions for wordpress folders and files but it still wasnt cleared.

I just want to make sure

Do i just set the 3 folders
wp-conteont - 755
wp-admin - 755
wp-includes - 755

BUTTTT

1. What about the subfolders and the sub sub folders inside those folders??????
2. Do i add 644 persmission to EVERY SINGLE file in these folders and sub folders?

tnx

Unless you have changed permissions on subfolders yourself then you should be OK...

lakerslive 10-22-2016 09:31 AM

are you saying, i should give EVERY folder including the sub sub folders 755 persmission?

Nick_awt 10-22-2016 10:25 AM

When you complete the installation WP the first time, that should take care of all the file permissions.

So you shouldn't need to change/set any permissions.

EddyTheDog 10-22-2016 10:35 AM

Quote:

Originally Posted by Nick_awt (Post 21241339)
When you complete the installation WP the first time, that should take care of all the file permissions.

So you shouldn't need to change/set any permissions.

You put it better than me:upsidedow...

lakerslive 10-22-2016 10:36 AM

Quote:

Originally Posted by EddyTheDog (Post 21241345)
You put it better than me:upsidedow...

i gues, i do manual isntallation, meaning, i download wordpress on my desktop, then upload on server via ftp. So i guess, the file permissiona aren't set when i do it that way i suppose

lakerslive 10-22-2016 10:44 AM

ok i guess, i found out thte answer

manual install (when u upload files yoruself) = you have to set each file persmission

auto wp install (simple click ) = all files and folders automatically have right permissions

EddyTheDog 10-22-2016 10:46 AM

Quote:

Originally Posted by lakerslive (Post 21241378)
ok i guess, i found out thte answer

manual install (when u upload files yoruself) = you have to set each file persmission

auto wp install (simple click ) = all files and folders automatically have right permissions

:thumbsup:thumbsup...

lakerslive 10-22-2016 11:07 AM

Quote:

Originally Posted by EddyTheDog (Post 21241384)
:thumbsup:thumbsup...

SO the lesson here, and let me save u time. My wordpress sites have been getting XSS/hacked, etc

Just found out, after all these months of installing my wordpress MANUALLY, that they've all had the wrong permissions set on them. LESSON IS

install the core files AUTOMATICALLY so the persmissions will be all set automatically.

plaster 10-22-2016 11:13 AM

Bots will start leaving comments which will make your database so big your server will come to a screaching halt.

EddyTheDog 10-22-2016 11:19 AM

Quote:

Originally Posted by plaster (Post 21241426)
Bots will start leaving comments which will make your database so big your server will come to a screaching halt.

You really are a half empty guy:winkwink:...

gnawledge 10-22-2016 12:15 PM

Quote:

Originally Posted by lakerslive (Post 21241414)
SO the lesson here, and let me save u time. My wordpress sites have been getting XSS/hacked, etc

Just found out, after all these months of installing my wordpress MANUALLY, that they've all had the wrong permissions set on them. LESSON IS

install the core files AUTOMATICALLY so the persmissions will be all set automatically.

Didn't I tell you it was folder permissions? All you have to do is get FANTASTICO on your Cpanel hosting and it installs it for you. And WordPress is pretty easy to install yourself without that anyways. Like I said before I've had issues with scripts requiring server to be DSO php HANDLER and not SUPHP which is apache crap. Which has made my life hell when trying to keep costs down without having to dick around. It's a pain in the ass which had me researching nonsense to get things working when I could have been making websites.

These damn folder permissions, scripts, and server setups are a enough to give me explosives diahrhea.

fris 10-23-2016 07:47 AM

Quote:

Originally Posted by lakerslive (Post 21241129)
Hi guys,

I've google about adding file persmissions for wordpress folders and files but it still wasnt cleared.

I just want to make sure

Do i just set the 3 folders
wp-conteont - 755
wp-admin - 755
wp-includes - 755

BUTTTT

1. What about the subfolders and the sub sub folders inside those folders??????
2. Do i add 644 persmission to EVERY SINGLE file in these folders and sub folders?

tnx

https://gist.github.com/Adirael/3383404

EddyTheDog 10-23-2016 07:50 AM

Quote:

Originally Posted by fris (Post 21242767)

Bookmarked - Thanks...

just a punk 10-23-2016 07:56 AM

Quote:

Originally Posted by EddyTheDog (Post 21241159)
Unless you have changed permissions on subfolders yourself then you should be OK...

Actually that's not correct. How will you upload the additional content like post images into the /uploads folder? It must be writable to the script.

lakerslive 10-23-2016 09:29 AM

Quote:

Originally Posted by fris (Post 21242767)

this cmod? tnx or...what..

anexsia 10-23-2016 10:05 AM

Wordpress folders should be 755 and files should be 644.

https://codex.wordpress.org/Changing_File_Permissions
https://codex.wordpress.org/Hardening_WordPress

On command-line you can use:

find /path/to/your/wordpress/install/ -type d -exec chmod 755 {} \;

find /path/to/your/wordpress/install/ -type f -exec chmod 644 {} \;


All times are GMT -7. The time now is 07:55 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc