Questions tagged [directory]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
0answers
21 views

How may I change default directory for files upload in Ultimate Members Documents?

I used this code to change default directory in which ultimate member document uploaded files, but after the last update it doesn't work anymore and files are always uploaded in a dir /um_docs/...
1
vote
1answer
17 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
20 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
20 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
20 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
11 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
13 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
20 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
45 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
46 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
19 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
23 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
10 views

How do you move or rename the themes directory within wp-content?

I know it is possible to move wp-content, but is it also possible to move or rename the themes directory within it?
0
votes
0answers
21 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
58 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
27 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
160 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
184 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. ...
0
votes
0answers
14 views

.htaccess for migration blog.domain.com to domain.com/blog

I'm interested in migrating blog.domain.com to domain.com/blog and kill the subdomain. I'm thinking of using .htaccess and then a search/replace plugin for all the images and links that were hardcoded....
0
votes
0answers
10 views

Server searches for wp-admin inside a nonexistent subdirectory when behind AWS Apigateway

I have an a bit convoluted problem and I am looking forward to hear if anyone has a solution. My wordpress installation lies behind an amazon Apigateway. This behaves like a CDN and serves my website ...
-1
votes
1answer
29 views

Using WordPress almost only for a contact form

I have a MediaWiki website and MediaWiki isn't easy to do layout as WordPress or Drupal are (also for forms and there are no page builders). I think to create a separate website with a separate ...
1
vote
1answer
45 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
18 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
68 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
16 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
23 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
0answers
9 views

How Can Wordpress Posts and Pages be Organized in Directories That Display in the URL?

We have a WP Multisite network (subdomains) and one of the subsites contains information for multiple states and we would like to organize the content so that the urls display as follows: https://...
0
votes
1answer
175 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
69 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
155 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
23 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 ...
0
votes
2answers
152 views

Hide/Remove Wp Directory /wp-content/uploads/

how do we hide /wp-content/uploads/2019/03/? I want my url of the picture to be like pensionwebsitewi.com.au/nnovating.jpg See SS below Thanks
0
votes
0answers
24 views

Permalink issue with Wordpress Site at domain root and another Wordpress Site in a Subfolder

If you look at my site: https://alphahedron.com/ You will see a functioning wordpress site (although not configured yet). If you go to one of my subfolder sites: https://alphahedron.com/game/...
0
votes
0answers
31 views

How to change permalink for listings

I am using Directorist plugin. I want to show the address in url bar like localhost/listingname or listingname.localhost.com. But it is showing localhost/directory/listingname. I want to remove /...
0
votes
0answers
17 views

How do I split a single WPML site with 6 languages (English is Main) into Multisite with 5 subfolders

I'm working on a huge WPML website with 6 different languages (english is main .com) and I'd like to convert it into a multisite with subdirectory structure instead of the .com/?language= structure. ...
0
votes
0answers
27 views

Get directory of install in Wordpress

I want to get directory, where wordpress was installed from a scope of normal visitor. So when I have: /var/www/clients/client1/web8/web/tests/mywebsite/ I only want: /tests/mywebsite/ How can I ...
0
votes
0answers
86 views

CSS and JS not loading after uploading onto server

(Pretty new to WP/coding, sorry if I'm asking a weird question) Here's the problem: Had a local WP-project (using WAMP) uploaded via FTP (Filezilla) on W3W (host), but it get's me a Failed to load ...
0
votes
0answers
17 views

Adding a blog to site

Hi I have a standard html/css site that I want to add a blog too. I am not going to convert the whole site to run with WordPress just want to add WordPress to a sub folder so www.example.com/blog ...
1
vote
1answer
58 views

WP install in sub-dir white screen

My WP moved from localhost to online, and now it shows a blank page (wp-admin is working normally). This is the structure: sub.domain.nl/dir1/dir2/WP-install Something must me off with the ...
0
votes
2answers
434 views

Unable to locate WordPress content directory

I have a website where the home page is created in CodeIgniter (www.myweb.com) and the blogs are created in WordPress as a subdirectory (blog.myweb.com) and is hosted in AWS. I am trying to update the ...
1
vote
1answer
43 views

Installed theme uses get_template_directory, breaks Wordpress on Windows

I've attempted to install a theme on a Wordpress installation in a Windows development environment, which will be synced through Git with a production environment in CentOS. The theme has a file ...
0
votes
0answers
31 views

Redirect after login when WordPress in subdirectory

I've a problem in my Wordpress website which is after I login from /wp-admin I didn't redirected to anywhere just keep seeing the login page without any errors. it was working fine when the site was ...
0
votes
1answer
30 views

How do I point bloginfo('stylesheet_directory') to my parent theme?

I've created a child theme but the parent theme seems to use bloginfo('stylesheet_directory') to point to a lot of CSS and js files, none of which are currently loading. As I believe the '...
0
votes
1answer
1k views

Wordpress multisite subdirectory on nginx behind reverse proxy

I can't seem to make wordpress multisite subdirectories work behind my reverse proxy. Locally (from lan ip addresses) all works, I can access the main domain, sub-directories and all dashboards. The ...
1
vote
2answers
2k views

External content won't load in iframe in Safari

I'm trying to load external content into an iframe, & it is working in Chrome & Firefox, but it won't load in Safari. In Safari I get the error message: Refused to display 'my_content' in a ...
1
vote
1answer
77 views

Loading files for theme and child theme (Require)

There seems to be so many options which one should i go for..it's really confusing? I have used get_template_directory(). What i want is to use a function that works best with child theme and that ...
0
votes
1answer
121 views

Where to put robot.txt and sitemap.xml for wordpress installed in its own directory

My website is setup where wordpress is installed in it's own subdirectory, but the content is served as though it's at the domain root. (This wordpress codex page details the configuration) Wordpress ...
0
votes
1answer
57 views

After moving Wordpress to its own directory, login doesn't work

My site keeps getting hacked, so I decided to move WordPress to its own directory so that I can generate and use static pages in the main directory with Simply Static. I am trying to move WordPress ...
1
vote
1answer
34 views

Unable to access folders in same level as wordpress installation

I've got the following structure www/ .htaccess /website1 /website2 /uploads/foo.pdf /websiteWP .htaccess .htacces in root (www/.htaccess) <IfModule mod_rewrite.c> RewriteEngine ...
0
votes
1answer
76 views

Autoloading Classes in Plugins

In a custom WordPress plugin I have a folder /classes with about 20 classes. Classes sometimes change, come and go. I want all those classes from the folder to be loaded automatically. No my idea was ...