Questions tagged [directory]

The tag has no usage guidance.

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

Is there a way to create folders restricted to specific users to open?

I am working on a business website where users can purchase downloadable report packages. These reports come with multiple files (4 total) for the user to download after they purchase. There is a page ...
user avatar
1 vote
1 answer
17 views

Migration to WP - Couldn't load image

Situation: I'm trying to migrate static page made with HTML/CSS/JS into Wordpress. The images won't load. They work in HTML, but when I migrate into PHP there are only alt-descriptions visible. Upon ...
user avatar
0 votes
0 answers
9 views

add 360 (non-Wordpress) tours in a subfolder with the same name as the main (Wordpress)page of the 360 tours

I'm looking for a solution to put my 360 tours (all in their own subfolder) in the subfolder of the Wordpress page about the tours. For instance: Wordpress page: domain/vr/ Tours: domain/vr/tour1/...
user avatar
  • 1
0 votes
0 answers
8 views

Wordpress page for one specific page on Google Cloud hosted website?

I was wondering if it was possible to create a subpage within a Google Cloud hosted website, and install Wordpress on that subpage ONLY, so that I can manage this subpage on Wordpress without having ...
user avatar
0 votes
1 answer
40 views

get main URL from subdirectory with php

I have a WordPress site that contains multiple subdirectory installations of WordPress with individual databases inside one WordPress installation, and I want to link them together in the themes. But ...
user avatar
  • 15
0 votes
0 answers
10 views

Trying to Decide Between Reverse-proxy and Multisite

We have a very large blog at mainsite.com We want to create a tool at mainsite.com/tool/ that will be it's own Wordpress site and doesn't need to share anything with mainsite.com But it is very ...
user avatar
0 votes
0 answers
23 views

How to use the same "wp_posts" table for different subdirectories in the same DB?

I have a WP multisite with many subdirectories. I have the main site like mainsite.com and a table "wp_posts" I have some subdirectories like mainsite.com/sub1, mainsite.com/sub2, and their ...
user avatar
0 votes
1 answer
27 views

Why should I use get_template_directory() when include files?

When I include files in wordpress I noticed that include works fine without get_template_directory(). Include even works fine without parenteses. include( get_template_directory() . '/includes/front/...
user avatar
0 votes
0 answers
10 views

multisite installed on subdomain now want another subsite on subdirectory

My WP multisite network is installed on subdomains like site1.domain.com so my main domain is: domain.com And site1.domain.com is a subsite, Then I mapped xyz.com domain to this subsite. Now I want ...
user avatar
1 vote
1 answer
63 views

2 WordPress sites in 2 sibling folders on one domain

I have 1 domain name that requires multiple (and different WP installations). How can I setup the following 2 websites: Website 1: Domain name: domain.com Physical folder: /var/www/vhosts/...
user avatar
  • 111
0 votes
1 answer
38 views

wp-mail attachment is not sent for no reason?

I'm using wp-mail to send an image. The problem is that it does not attach the image ! Here is $attachment_img string : https://example.com/wp-content/uploads/2021/10/example.jpg So the path is ...
user avatar
0 votes
1 answer
89 views

Multisite - One Site with multiple URLs

A theoretical question here. When I set up one multisite network for one website, how would I go about when I want to use different subdirectories per site then? From what I can see, you define one ...
user avatar
0 votes
1 answer
717 views

How to get path or root of plugin folder, not file or dir?

I want to include one file from the plugin root to somewhere in the plugin folder. Folder structure: /plugin /folder <- Can't 'esacpe' from this folder to root /otherfolder /req-file-to-...
user avatar
  • 165
0 votes
2 answers
231 views

Should custom directories be created under the wp-content directory?

Another question asks about creating a custom directory under the wp-content directory. If there is a need for custom files e.g. CSS that need to be called, should a custom directory e.g. css be ...
user avatar
  • 11
0 votes
0 answers
54 views

Open wordpress page in directory the way index.html would open

I have a directory /mydir. If I put an index.html in there, it will open when someone browses to example.com/mydir, and their browser shows only the path, not index.html. How can I get the same ...
user avatar
2 votes
1 answer
43 views

Cant get wordpress to work on subdirectory

I have an ubuntu server. I already had nginx and some page there which works. I wanted to add wordpress on /blog path I installed wordpress using this setup https://ubuntu.com/tutorials/install-and-...
user avatar
  • 31
1 vote
3 answers
463 views

Wordpress (behind HAProxy and Jetty), not multisite, in sub folder - and /en/wp-admin/ keeps redirecting to /wp-admin/

I am using an unusual setup to host 3 Wordpress installations on CentOS 8 Linux. In front I have HAProxy (to offload TLS), then I have Jetty configured for FastCGI and php-fpm and finally Wordpress. I ...
user avatar
0 votes
0 answers
20 views

When created sub-directory, can we create a new navbar?

I want to create a new sub directory for my wordpress website. But I will do this for second language option. I watched some videos and I saw that we can create new posts and pages but I didn't see ...
user avatar
0 votes
0 answers
26 views

Sidebar Drop-down list Not Listing Posts from Subfolder Installed WordPress Site

There are 2 WordPress sites, the main one and the cloned version installed into a subfolder (sub-directory) of the main one like this: "https://mainsite.com/mainclone-testing-site/" After ...
user avatar
0 votes
1 answer
20 views

Use of Folders within Wordpress

Is it possible to use folders within our WordPress site for the content such as pages/posts organization? Any issue in doing this? We would like to use the folders to group related pages & content,...
user avatar
0 votes
0 answers
21 views

Wordpress hosted on subfolder of domain causing customizer to constantly refresh and is requesting jquery from root domain

So I have wordpress installed in a subfolder of my domain: https://example.com/blog To do this I am reverse proxying ngnix (main app) to apache (wordpress server) and everything is going great. One ...
user avatar
  • 101
0 votes
1 answer
54 views

What plugins create a directory on the root directory of WordPress? [closed]

How can I detect if a plugin or a program is creating a folder on the root directory of my WordPress site? How will I know if I could safely remove them?
user avatar
  • 149
0 votes
1 answer
241 views

Sub-sub folders of WordPress Multisite subdirectory

I have the following situation. I have created a WordPress Multisite for a client with "subdir" setup so all subsites are at; domain.com/site2 domain.com/site3 Now client wants to have some ...
user avatar
  • 11
1 vote
1 answer
19 views

Access files at new location using old file paths

I have a bunch of posts that contain images with urls that follow this pattern: https://example.com/example_directory/files/2019/04/file.png I've imported the posts into a new install of wordpress on ...
user avatar
0 votes
0 answers
65 views

Structure of multilingual and multiregional directory listing website for translation

What is the best translation structure for a multilingual and multiregional directory website? Let's say our listing owners as members of our work team are from around 20 different countries with ...
user avatar
  • 1
0 votes
1 answer
152 views

production site routes to staging site after cloning

Hello I am new to wordpress, our website was down (due to plugin update) I was not even able to access the admin panel due to this, so I went to the directory and copied from our staging directory (...
user avatar
  • 11
0 votes
1 answer
17 views

How can i shift my chosen posts to a subdirectory?

I want to shift my chosen posts to a subdirectory. like... this is a post link mysite.com/post-number-one want to do mysite.com/subdirectory/post-number-one
user avatar
0 votes
1 answer
68 views

Flat media folder vs multiple directories

I recently took over a website that uses a flat media folder in the site root. Is there a benefit to that over using the standard WordPress media folder structure of uploads/year/month/file? We have ...
user avatar
  • 1
1 vote
0 answers
12 views

Show Menu from one WordPress install in another WordPress install

I did some searching but, not finding exactly what I need. I'm redesigning a website that has a main WordPress install and a WordPress install in a subdirectory. My client calls it a nightmare. I'm ...
user avatar
0 votes
0 answers
35 views

Wordpress Bedrock breaking plugin links

I recently switched to using WP-Bedrock and I currently like the workflow but there's a huge drawback for me. There are 2 URLs which previously were identical, due to Bedrock's file structure, are ...
user avatar
  • 111
2 votes
1 answer
341 views

Redirect main domain to subdirectory

Following the following code sample I managed to redirect it, however the site URL on the browser show as domain.com/subdirectory and not domain.com. public_html ROOT .htaccess RewriteEngine on ...
user avatar
  • 145
1 vote
0 answers
202 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/. ...
user avatar
0 votes
0 answers
58 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 ...
user avatar
0 votes
1 answer
310 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....
user avatar
0 votes
0 answers
19 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 (...
user avatar
  • 1
0 votes
0 answers
31 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__) . '...
user avatar
1 vote
1 answer
215 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: ...
user avatar
0 votes
0 answers
84 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')); } ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
  • 11
0 votes
3 answers
343 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 ...
user avatar
  • 135
0 votes
0 answers
19 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....
user avatar
2 votes
0 answers
130 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 ...
user avatar
0 votes
1 answer
26 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....
user avatar
1 vote
0 answers
31 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 ...
user avatar
  • 11
0 votes
0 answers
300 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: /...
user avatar
0 votes
0 answers
20 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 ...
user avatar
0 votes
0 answers
32 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....
user avatar
  • 161
0 votes
1 answer
69 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 ...
user avatar
  • 1
1 vote
1 answer
124 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 ...
user avatar
0 votes
2 answers
161 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 ...
user avatar

1
2 3 4 5
10