Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

for questions regarding permissions of different user groups in wordpress

0
votes
1answer
23 views

Why is my WordPress Plugin page requesting my FTP Login Credentials?

I run my own VPS, which hosts multiple WordPress websites. When it comes to adding/removing Plugins via the WordPress Dashboard, I have never had a problem. For one of my domains, I wanted to ...
0
votes
0answers
11 views

Add new user & automatically create a page for that user only that user & admins can edit

This is what I want to do is there any plugins available I want to be able to Add a new user & automatically create a page for that user only The only people that can edit that page is that user ...
-1
votes
0answers
20 views

The white side, but cockpit works [closed]

I have a problem with wordpress (from woocommerce). Every now and then a white page appears, I could determine the cause of the error. Every now and again in the function.php file, file access ...
0
votes
0answers
11 views

How to force authors to 'submit for review'?

So currently when authors add a post they can publish it straight away. How can i change it so that all their posts need to be reviewed first? I've seen a few codes that can solve that but when it ...
1
vote
0answers
13 views

Safari not “giving Permission to Open This Page” when trying to load pdf from wordpress site [closed]

I have a wordpress site, which I just moved from one domain to another, which caused some issues, which are mostly if not all fixed. I cannot tell you if the problem has existed before, since the ...
0
votes
2answers
46 views

Admin cannot publish

When I logged in on my site this morning I noticed that my user can’t publish anything. I am administrator and the only user on the site. On Posts and Pages instead of “Publish” I have the “Submit ...
1
vote
0answers
13 views

Linux Permissions and Ownership for WordPress

I installed WordPress via ftp upload to our server using my ftp user account. This account is different than the user that runs http/Apache. I am now trying to install themes and plugins and I am ...
2
votes
0answers
18 views

WordPress debug.log is not updating

In my wp-config.php file: define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', true); @ini_set('display_errors',1); In my php.ini file, track errors is = Off /wp-...
2
votes
1answer
48 views

Safe to set permissions to 757 temporarily to update via wp-cli?

LEMP stack on digitalocean VPS. I haven't been able to get "wp core update" to work unless public (or "Other") has execute permission, i.e. 757 or 777. Otherwise, it throws "Error: Could not create ...
0
votes
0answers
57 views

Wordpress not generating .htaccess but tells me that (Permalink structure updated.)

I hope someone can help me. I am configuring my new Centos 7 server with directadmin and ran into the following problem(s); my .htaccess file won't generate after saving permalinks, but says (...
0
votes
0answers
8 views

Folder/File Permissions set to apache:apache, user can not longer has RWX permission in SFTP

i am sure this has been talked about a lot and i have googled this extensively find only half solutions to my problem. I am currently running apache(2) on Ubuntu 18.xx, with a number of different ...
0
votes
0answers
14 views

Why do some of my directories need to be writeable that shouldn't be?

Otherwise, the site turns blank. wp-content needs web user writable, wp-admin/includes also. i don't like it, from what I understand, I should be able to have all of this as read-only for the web ...
0
votes
1answer
11 views

Admin Access for specific page(s)

I'm working on a membership site in WordPress and I want a specific group of my users to be able to have access to a page I create, but then also have admin access to this specific page and be able to ...
0
votes
0answers
218 views

Blank image thumbnails in media library

I copied one website to other domain. i am using avada theme in my new domain all images show as blank thumbnails in admin but in website all images are show i checked permission of all folder and ...
0
votes
1answer
29 views

WP_Query: Query posts only if their access is restricted to logged user's role

So this is what I'm trying to do. I have some posts that are visible only to users with a certain role. I want to display them in a user's profile section, so they're immediately visible after they ...
-1
votes
1answer
23 views

New folder and file permissions are not correct

I have read through a bunch of sites, but I could only find the right permission to set to existing files and folders, but I could not find anything related to the new files and folders to be created. ...
2
votes
3answers
93 views

Wordpress roles - Protect administrator role

We want to provide owners of their site, administrator role, but we don't want them to delete user 1. We also don't want a cheap solution which stops their admin account from being able to delete ...
0
votes
0answers
11 views

Why aren't my posts being saved or published?

I have migrated my site from a shared hosting provider to my own dedicated server and and am experiencing issues with writing posts. When I create a new post and press either save or publish, the ...
2
votes
3answers
132 views

Can I create users that have access to *some* other users posts instead of all other users posts?

I’ve been using basic user rights functionality on a multi-user WP site for a while and its worked out great, having most user accounts just have access to their own posts but a few “editors” having ...
0
votes
1answer
23 views

How do I customize the dashboard?

I've been using Drupal for almost two years now so I know nothing about Wordpress. I have configured everything on my website to work how it should and I love it. I created a new user using the sign-...
2
votes
1answer
211 views

How to check if a role has a specific capability

In a plugin, i create a dedicated user role along with some capabilities. These capabilities also need to be assigned to other roles, such as editor and admin. As the addition of roles and ...
0
votes
0answers
44 views

Restrict access to core files/folders on a Windows server

I have come across a vulnerability on my Windows server where someone can access these files publically: - /wp-admin/load-scripts.php?c=1&load%5B%5D=jquery-ui-core,jquery-ui-core,jquery-ui-core,...
0
votes
0answers
77 views

Invalid changeset UUID Wordpress

Login as Administrator and when I click the stopkeeper theme customization, I got Invalid changeset UUID error and redirect to page and show as Cheatin’ uh? Sorry, you are not allowed to ...
1
vote
0answers
18 views

Group ownership permissions don't allow web server to update Wordpress content

I have hardened my Wordpress settings as follows: All files/directories are owned by my user account (myUserName) and are group-owned by my web server (http) -- myUserName:http All folders have 755 ...
1
vote
0answers
42 views

No Permission to add new Page, Post or CPT with Admin role

After a server update, I got some problems on my website, running WordPress 4.9.2 I could not update WordPress version to 4.9.4, cause I was getting a message like this: Another update is ...
0
votes
2answers
32 views

How to put WordPress website behind the credential for visitors?

I have developed a WordPress Website. It's on the live server but in development mode.I want if someone to visit my website. It should ask for password or access token to before loading site. Is ...
1
vote
0answers
24 views

Should Apache own /var/www/domain.com directory in WordPress?

In a lot of tutorials on WordPress installation I see apache:apache user:group given to the files in WordPress and the domain directory. Should it be Apache or some non-root user ?
0
votes
0answers
31 views

WordPress changing folder permissions

I've got a number of WordPress sites running on a LEMP server which I've done for years. Recently I've noticed that permissions on some plugin and theme folders are changing from 755 to 775. I haven't ...
0
votes
1answer
19 views

allow editor/author to publish others posts but not publish their own

Im trying to disallow editors from publishing their own post, I would like editors to only be allowed to publish others submitted posts. I would like contributors and authors to submit their posts ...
0
votes
0answers
26 views

Unable to upload anything to Wordpress site

I've had a Wordpress site working for (of course) years now, but suddenly it won't let me upload anything. Attempting to add a new image gives me: “filename.jpg” has failed to upload. Failed to ...
0
votes
1answer
14 views

Permission Issues regarding Plugin updates & FTP transfers

I am looking for a little assistance tracking down my permission issues regarding updating plugins from my admin page or transfering files via FTP into the wp-content file. I have been searching for ...
0
votes
0answers
32 views

User Permissions on custom post type

what is the best practice approach for the following scenario: We have a main page and need user control for our departments of our sports club. For this we registered a custom post type (departments)...
1
vote
0answers
33 views

How to remove sticky post capability for a specific user role?

All is in the title. Does someone know a way to do that ? Thanks !
1
vote
2answers
1k views

What permissions does wp-content/uploads need?

What is the default wp-content/uploads directory permission? What chmod command do I need to set it correctly?
0
votes
0answers
32 views

Can't change my site identity in apperances

So for some reason it's not saving the image when I click it in the site identity then select and image it's not sticking. The 'Select' button grays over like I've clicked it but the value isn't ...
0
votes
1answer
247 views

“Backdoor-list.txt” files unexpectedly in server

Furthermore, there are "bad-directory-permissions-list.... .txt"files. My website is currently under repair due to malicious code being found. Could this be part of it? Should I delete these files ...
0
votes
2answers
26 views

Migrate not successful, DB is broken. How to fix, or at least output static HTML without plugins?

Sup guys. So, I developed this website, and for the 3rd time it crashed when I tried to migrate (I used several techniques, all of them worked at some point with, but not with this website). The ...
0
votes
2answers
25 views

Trying to get new role to have edit permissions for custom content type

I've used several tutorials and tried to apply various "solutions", but I'm still unable to get a custom role to edit their own posts for a custom type. I created the role, which shows fine... ...
0
votes
0answers
33 views

Images not displayed

I installed WP on mac and am testing on localhost. When I start my test blog (localhost/wp/ where wp os the alias in apache httpd.conf of the WP directory), I see: "Skip to Content" followed by a ...
0
votes
0answers
141 views

Custom theme / you are not allowed to edit this post

I use the blankSlate theme with my wordpress website (basically a blank theme and the latest version of WP). When I use it, I have a "You are not allowed to edit this post" message when I try to ...
0
votes
1answer
34 views

How to prevent plugins from being uninstalled

The following filter works great for preventing plugins from being deactivated... add_filter( 'plugin_action_links', 'disable_plugin_deactivation', 10, 4 ); with... // array_key_exists( 'edit', $...
0
votes
0answers
13 views

Parent image of all list of thumbs created by Wordpress upload not getting the right permissions IIS

I have a wordpress on a windows server, when uploading images, wordpress create a collection of different sizes, ok, and all of then gets the rights permissions except for the parent one. This one ...
1
vote
2answers
30 views

Can you set a role as author?

I'm fairly new to WordPress and I'm trying to figure out how to best set up permissions. I want to restrict groups of people to only edit certain pages (IT department to only edit IT pages, HR ...
0
votes
1answer
27 views

Implement Javascript Code in the footer if user is logged in

I want to implement the below javascript and php code to footer if user is logged in. <script> window.intercomSettings = { app_id: "fbpqr48f", name: <?php echo do_shortcode('[...
0
votes
0answers
19 views

Allow user to upload file if on profile editing screen

Is there a way I can allow a Wordpress user to upload a profile image while on their profile edit screen, but not give them the general file_upload permission? I have an ACF-image field which I want ...
1
vote
1answer
40 views

Don't attribute content to admin users

For security reasons, I want to make sure no content is attributed to admin users of my websites. Essentially, I want a way to automatically change the author of any piece of content to something ...
0
votes
0answers
277 views

“You need to make this file writable before you can save your changes”, but the file is writable

You need to make this file writable before you can save your changes. See the Codex for more information. I've been getting this error when I try to use the theme editor for Wordpress. I'm working on ...
1
vote
0answers
142 views

Rest api return all users (even without content) to all users

I'm using the REST API to return a list of all users (using Vue) on an Intranet site. I'm using this code to allow the API to return them: add_filter( 'rest_user_query', 'custom_rest_user_query' ); ...
0
votes
2answers
41 views

Downloaded WP but Nginx home page still showing

I am trying to install a second WP site on an Ubuntu 16 server running Nginx. I have successfully installed WordPress according to my server results, but I still only get the Nginx home page. I ...
0
votes
0answers
45 views

Sudden unexpected admin username & password change

I manage a dedicated server with a few dozen WordPress sites. within the past few weeks, some of our WP admin accounts stopped working. By digging into the database, I found that two things had ...