Questions tagged [directory]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
7 views

Prevent a folder from being shown within the media library

We have a folder of secure files which are currently PW protected through htpassword with NGNIX. Those files are currently inside the/wp-content/uploads/ directory /wp-content/uploads/secure-files/. ...
0
votes
0answers
35 views

Rewrite WordPress Url from root to subfolder without moving files

I have a WordPress installation in the root folder "example.com/". I want the url to be "example.com/blog". (Rewrite from root to folder "/blog/") Is it possible to do ...
0
votes
1answer
12 views

How to add a sub directory to WordPress single posts without affecting other post types?

I've been trying to add a subdirectory to my blog post's permalink for example domain.com/blog/post-slug/ However, this is affecting the other post types that I've created using Pods such as domain....
0
votes
0answers
8 views

Need membership plugin with separate directory creation [closed]

Could any body recommend me plugin Where user will be able to register . Directory will by created by username Admin can post contents and notes to particular user directory and would able to access ...
0
votes
0answers
13 views

How to Best Create Separate Subscribers and User Experience

I use a Bluehost (hosted) version of Wordpress 5.5.1 with Genesis for my blog (recipe and faith posts). I use the Mailchimp service for my email subscribers. I want to create a separate community (...
0
votes
0answers
9 views

directory structure issue when calling a JS file and Ajax

I can not seem to make the call to the proper JS file location despite trying everything that I can think of. Below is the way that it should be from everything I know to find that "myjsfile.js&...
0
votes
0answers
18 views

Error in the paths of one of the plugins when changing the plugin directory

I decided to change the standard path to the plugins folder. Now all my plugins are located in site.com/modules In wp-config I have the following written: define( 'WP_PLUGIN_DIR', dirname(__FILE__) . '...
0
votes
0answers
13 views

How to scale wordpress hdd (wp-content/uploads multi-access)

My main ssd 1 128gb is full i added another ssd 2 of 240gb. How i make my wordpress save the wp-content/uploads on ssd 2 from now on and how will it still access wp-content/uploads from ssd 1 ?
1
vote
1answer
33 views

Fixing custom 404 pages broken by Wordpress in a subdirectory

I used Installatron to install Wordpress in a subdirectory of an existing PHP website, to add a blog to that website. My main website is administered via cPanel. Here's my website directory structure: ...
0
votes
0answers
20 views

add menu page not showing Icon

I have issues with add menu page it doesn't show my custom Icon. class V { function __construct() { add_action('admin_menu',array($this,'add_plugin_menu')); } ...
0
votes
1answer
128 views

Problems with WordPress multisite directories/url structures and admin access after migration

I'm trying to migrate a multisite WP installation to a new server. The network consists of a simple parent site that redirects users to one of four subsites based on their location. E.g. if a user ...
0
votes
3answers
37 views

If I place custom files in Wordpress root, will they be deleted?

So, I added a custom.css file in my wordpress root, now I'm wondering if it will be deleted on the next core update. Is it safe to just leave it there? Can I also create custom folders and files ...
0
votes
0answers
18 views

how to include my homepage and scc in to a plugin

<?php Plugin Name: Contact Form Plugin URl: https:/jeti.com/ Description: my first plugin aplication contact form Version: 1.0 Author: Admin Author URL: https://www.jeti....
2
votes
0answers
50 views

Subdirectory multisite installation with several domain names?

I work as a sysadmin at a large academic department. We have an apache httpd, with a WP subdirectory multisite installation, fronted by an apache reverse proxy. In this setup we want to allow our ...
0
votes
0answers
11 views

Cloned website in subfolder has wrong links

I'm sorry to ask you guys but I'm going crazy. I've been trying to figure my problem out but I spent 8 hours and still nothing seems to work. So here's my problem: I have copied my website in a ...
0
votes
1answer
12 views

Plugin path comes wrongly

I need import css files from a folder in plugin directory to a plugin php file. I tried plugin_dir_path( __FILE__ ); <link rel="stylesheet" href="<?php echo __DIR__ . '/dahili/bootstrap.min....
0
votes
0answers
5 views

Re-ordering URL structure for multi-lingual blog

I have a main e-commerce website that sites on mywebsite.com, built in PHP & MySQL. (not Wordpress) The website is multilingual, and the URL structure for other languages look like mywebsite.com/...
0
votes
0answers
11 views

How do I make a community website with updated local business listings and events from the internet?

I am trying to make a community website on wordpress. I want to inlude local business directory and events, but do not want to search myself and insert each listing or event. Is there a better way ...
0
votes
0answers
8 views

Multisite Subdirectory or Subdomain migrated as main domain elsewhere [duplicate]

I'm wondering if it's possible to move a multisite subdirectory to be the main (and only) domain elsewhere? I've inherited a site whereby a subdirectory www.domain.com/solutions needs moving to be a ...
1
vote
0answers
24 views

Custom Path/Folder behind a custom post type

I have not find any attempt to start yet, so the question is - is it possible to add at path behind the output of a custom post type? This means: I have a custom post type "movies" and fill it with ...
0
votes
0answers
58 views

Serve WordPress site as root domain with WordPress files in subdirectory in nginx server

I'm trying to set up my WordPress install like as outlined in this article https://codex.wordpress.org/Installing_WordPress_With_Clean_Subversion_Repositories, with my project directory like so: /...
0
votes
0answers
15 views

Apache errors for blog with separate TLD, in WP multisite which is itself is in a subdirectory

I have a working Wordpress multisite subdirectory installation, which itself resides in a subdirectory on the server, so that the directory structure looks like this: http://domain.tld/ --> some ...
0
votes
0answers
13 views

WordPress not linking correctly with .htaccess redirect to subdirectory

I have read other posts about redirect to subdirectory issues, but they don't answer this precise question. I would like to redirect the main domain name in a hosting account into a subdirectory. The ...
0
votes
0answers
30 views

How to separate an overgrown blog into sub-blogs – without breaking existing inbound links?

I have a single WP install that has accumulated a mix of content, large subjects of which I want to separate into something resembling their own blogs. Example: Among the pages and posts on myblog....
0
votes
1answer
25 views

Editing Listings in a Business Directory

In the following scenario, is there a way to allow each owner to create their own user account and have the account associated only with the owner’s business, so the owner can only edit the ...
1
vote
1answer
21 views

Wordpress page templates in a directory

I'm trying to organize my page-$slug.php files all inside a folder, i saw in a post that it was possible to store the files inside a directory in the root path of the theme... i tried to store them ...
0
votes
2answers
31 views

Folder keeps popping up in my public_html directory and overriding Wordpress page structure

My client requires that a page have be located at /connect, but when accessing the built page, only a parent directory tree is displayed. After a lot of looking around, I found that the problem was ...
0
votes
0answers
23 views

Adding new WP installations to extend existing subdirectory install

I installed WordPress into a subdirectory of my domain (e.g., https://example.com/jack). It was initially for testing purposes, but it turned out to work so well that I kept it going. I did think of ...
0
votes
0answers
33 views

New user - Create a folder

You wrote: You can use the user_register action to hook into the register proces and then create the user directory with wp_mkdir_p. function create_user_dir($user_id) { $user_info = ...
0
votes
1answer
57 views

How to install WordPress on sub directory in ubuntu 16.4 in same vhost with AngularJS

I have vhost for the main domain www.example.com. and I want to install WordPress in a subdirectory called news (www.example.com/news/). This is the vhost configuration file. server { ...
0
votes
0answers
20 views

“Cannot modify header information - headers already sent by” while using get_stylesheet_directory_uri()

I have a very strange problem while trying to include a custom file to my child theme. if I try to use get_stylesheet_directory_uri() along with require it crashes the website. if I try to var_dump(...
2
votes
0answers
43 views

Can't access Wordpress multisite after connecting to domain

Installed Wordpress Subdirectory Multisite on Vultr server, connected Google Domain, but can't access it. It is showing ERR_CONNECTION_TIMED_OUT. When checking DNS, A records are fine, but CNAME ...
1
vote
1answer
57 views

Custom location for attached images

I managed to upload images out of where blog (WordPress) is installed, and I'm wondering to see how can I update default attached image path. Few facts: The main website is installed on docker. main....
1
vote
0answers
82 views

multisite subdomain behind reverse proxy

I'm trying to run a wordpress multisite subdomain setup behind a reverse proxy to look like its sub directories. So the setup is like: www.mydomain.com/articles --> cms.mydomain.com www.mydomain.com/...
0
votes
0answers
30 views

Bedrock WordPress retro-porting to standard WP installation: is this allowed?

I am dealing with something never seen before: a WordPress website where there is not standard directories, and wp-content was moved in /app, all files was moved elsewhere and all seems to work ...
0
votes
0answers
30 views

I need advice for creating native Wordpress directory site based on native Wordpress functionality only

I created a directory site, but I used normal posts, and builder modules in post content to get the desired directory post layout, however i realized that using builder modules in post content was a ...
0
votes
0answers
72 views

Can't do a src to node modules folder

I'm trying to use GLide.js and after installing it with npm, i'm trying to access it using script src This is the code i'm using <script src="<?php echo ABSPATH.'/node_modules/@glidejs/glide/...
0
votes
0answers
95 views

How to Install WP to Subdomain but Serve on Subdirectory?

I want to install Wordpress to a subdomain (sub.example.com) but want to serve it on the subfolder (example.com/sub). I want to do this because the root domain (example.com) is a different web app so ...
1
vote
1answer
165 views

Using a `Template Parts` folder instead of an `Includes` folder in a Custom Wordpress Theme

When I've built static sites in the past I've had an includes folder and used php if I've needed to repeat components / HTML over different pages. I've noticed in Wordpress that this functionality ...
1
vote
0answers
313 views

Missing a temporary folder.error when image is uploaded in admin Set temporary Directory - Wordpress 5.2.2

I am finding this error when I try to upload image in backend Missing a temporary folder. Tried setting temporary folder in wp-config.php with necessary permissions. Tried to set the temporary ...
1
vote
0answers
601 views

move_uploaded_file() not working on wordpress front end

I have working code that uploads an image from the front end and sets it as a featured image and custom field photo for a custom post type but I am unable to figure out how to set the upload path. ...
1
vote
1answer
117 views

How do you modify the WordPress directory structure?

I would like to use the following directory structure for WordPress. ├── composer.json ├── config │ ├── application.php │ └── environments │ ├── development.php │ ├── staging.php │ ...
0
votes
1answer
22 views

How can I say if a URL is a post, page, or taxonomy archive?

I'm studying for SEO purposes how a few WordPress sites (that aren't mine) are organized, link structure architecture and so on. Therefore I need to know if a specific URL of a website is a post, ...
0
votes
1answer
468 views

how to change wp upload directory to another domain directory

both main and second domain (addon domain ) are in same host i want to find a way to change upload directory to another directory that located in another domain root. default location (first location)...
0
votes
1answer
25 views

How can I upload and password protect Javadocs in Wordpress?

I'm trying to host our software's Javadocs online behind a paywall. We tried to render the docs in Wordpress, which failed (obviously). My theory is that we could upload a folder directly to our root ...
0
votes
1answer
30 views

Rrestrict access to static pages if user is not logged in

I have a folder on my WordPress site (named documentation; see screenshot), where I host a bunch of static HTML pages. How can I restrict access to the folder, so only logged in users are allowed to ...
0
votes
1answer
772 views

How to fix empty/missing theme directory?

I'm having an issue with my site, i get the following error whenever I try to access it "The theme directory "Divi-child" does not exist. ERROR: The themes directory is either empty or doesn’t exist. ...
0
votes
1answer
242 views

Install second wordpress in root subfolder, Error 404

I am trying to install wordpress in a subfolder of an existing wordpress installation. I created a the subfolder /wp unziped a fresh Wordpress download inside of that directory and added a .htaccess ...
1
vote
1answer
430 views

htaccess, site and staging in subdirectories

I have the following task and as it is a little different from most setups, I couldn't find any hints that solved my problem. WordPress for the live site was installed into a subfolder /wp1, the ....
0
votes
1answer
25 views

Using WordPress multisite for subsites only

I currently run a WordPress multisite for multiple e-commerce stores with the main site set to example.com and subsites as example.com/subsite1. Can I use multisite for the subsites only and run ...

1
2 3 4 5
10