Stack Exchange Network

Stack Exchange network consists of 175 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

Questions tagged [directory]

The tag has no usage guidance.

-3
votes
0answers
25 views

Wordpress 5.2 update now doesn't load WP installed in subfolder

After the automatic update of WordPress to 5.2 it no longer loads my site, which was in a sub directory. I've tried modifying the .htaccess file but this hasn't fixed the issue.
1
vote
1answer
33 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
16 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
34 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
18 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
19 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
12 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
15 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
74 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
36 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
150 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 ...
0
votes
1answer
27 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
24 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
23 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
430 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
314 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
43 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
37 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
30 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
30 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
16 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 ...
2
votes
1answer
69 views

How to install WordPress Multisite with different domains under the same subdirectory?

Currently I have a WordPress blog with one domain as following: http://example.com/blog All WordPress files are under blog directory. Now I want to create another site using WordPress Multisites ...
0
votes
1answer
182 views

wp-admin redirects to subdirectory after moving installation to subdirectory

I have moved a wordpress installation to a subdirectory, from var/www/html to var/www/html/wp-blog mainly to make it future proof. I have followed the instructions in the codex. My server is ...
0
votes
2answers
22 views

Open content directory help!

I just found out tha I have a wp-content directory that is open where you can see all of my files that I have on mysite- pdf's, jpgs, etc. Files that are meant to be for members only as well....all ...
1
vote
2answers
92 views

How to redirect subcategories to a page?

I want to redirect all subcategories who belong to the category named symptoms to a same page. I did this: RewriteRule ^category/symptoms/(.*)$ https://my-site/com/list/$1 [L,R=301] Wordpress ...
0
votes
1answer
34 views

Show posts in a parent directory [duplicate]

I have a Wordpress in a directory like mydomain.com/page/ and I'd like to show the posts on my parent directory, like mydomain.com/my-post-url How can I do this? Thanks in advance! EDIT: I still need ...
0
votes
1answer
55 views

Need folder for CPT templates for eg: single-{post_type}.php

Hello I feel like my WP theme folder is getting a bit messy is there a way to put all the custom page-{post_type}.php, and single-{post_type}.php inside a folder instead of having them in the root of ...
0
votes
0answers
133 views

How to add ID3 tag of a mp3 folder automatically when creating a WordPress playlist?

I am working on a mp3 wordress website. Currently I am uploading mp3 files using filezilla. After uploading I copy their url one by one and paste them in playlist post, then I need to edit mp3 title ...
0
votes
1answer
14 views

Change WordPress names duplicate titles (url)

Got a question. Does anybody know how to change the url a duplicate title creates? If I create two posts, both named test, the addresses would be example.com/test and example.com/test-2 I would ...
0
votes
1answer
42 views

Logging in to installation in subdirectory renders broken dashboard (no CSS, broken links)

I have my normal HTML/CSS on my root folder and Wordpress installed in a subfolder (domain.com/subfolder). When I log into my wp-admin subfolder as admin, it directs me to a dashboard page which ...
0
votes
0answers
14 views

Media libarary | wp-content/uploads missing file

I've been experiencing the problem that files are either completely missing from the directory uploads or are within a different directory within uploads. For example: /wp-content/uploads/2017/09/i-...
1
vote
0answers
29 views

Main WP page and subfolder WP with the same name. How to prioritize for main Wp

I have second WP site in subfolder. I need to give priority to main site if they conflict. In main site I have pages like: site.com/author/john site.com/author/robert And I installed second WP in ...
8
votes
1answer
306 views

How to move page template files like page-{slug}.php to a sub-directory?

I want to move page template files like page-{slug}.php to a sub-directory within my theme, in a way that WordPress will recognize them automatically. If the page templates of the said form doesn't ...
1
vote
0answers
19 views

WordPress ACL (folder + permissions)

For certificate a web platform created with WordPress, they ask me to provide a snapshot of ACL maintained on application / configuration folder. Screenshot must clearly show who all have access to ...
0
votes
0answers
34 views

Remove subdirectory from links

I have installed wordpress in the subdirectory "sub". I need the same content been accessed from the root and also from the subdirectory "sub". So I have created the following rewriting rules and ...
0
votes
1answer
35 views

How to organize my js files

I'm working on a multisite instalation, that will have several subsites and i'm in doubt about how to organize my js files. The WP Theme Handbook says that js files should go inside the assets ...
1
vote
0answers
11 views

Is it possible to configure WordPress's Core Files to accept duplicate Child Categories?

I am currently building a site structure, for an eCommerce site. The shopping platform, is WooCommerce As well as much research, I have spoken with many people, regarding best practices for URL ...
4
votes
2answers
445 views

Non-WordPress page in subdirectory under WordPress page

I want a non-WordPress page that can be accessed from a parent directory that is a WordPress page. For example, I want http://example.com/city/ to be a WordPress page. However, I want to upload a non-...
0
votes
0answers
18 views

Change the WordPress files structure

for a client I need redesign a Website that contains a lot of files in a folders structure that is like this www.website/assets/files/Subfolders as you can see i wrote "Subfolders" because they are ...
0
votes
0answers
25 views

Can we rename a plugin directory for a already launched plugin?

I have launched a plugin long back on WordPress.org and now I want to change the name of the main directory of plugin due to some reason. But I want to retain the old name of the plugin. Is it allowed ...
-1
votes
1answer
33 views

Can I have a php site on subdirectory of Wordpress?

I have a Wordpress site (www.example.com) and I need to have a php site on subdirectory(www.example.com/shop). I was wondering is it possible or not?
0
votes
2answers
20 views

Hosting my WordPress site out of a subdirectory

I'm currently hosting several WordPress sites on one host account with cPanel, each site with its own domain. Right now, each of my domains maps to a subdirectory on the server, except for the primary ...
0
votes
0answers
21 views

Custom Gallery plugin uploading to different dir, and post to page

I am trying to create a custom gallery plugin for my wp theme. So far I have found snippets on how to include the media uploader to my plugin, and also change my upload directory only for this plugin. ...
0
votes
2answers
269 views

Images loaded as background-image are shown but <img>s aren't

I got a weird problem: First of all I provide my folder structure: wp-content/themes/theme ├──content.php ├──footer.php ├──functions.php ├──header.php ├──home.php ├──index....
1
vote
2answers
30 views

Is it possible to group plugins into a folder?

I'm working on a rather large WordPress project with over 40 plugins, also including a bunch of custom-made plugins specific to this project. This makes navigating the WordPress plugins folder rather ...
0
votes
2answers
32 views

Problems with running a 2nd installation of Wordpress on my domain?

I have a WP installation in the root of my domain (running on Apache / Linux). I need to create a new WP installation (for various reasons that are outside of this post) and I have a choice of ...
0
votes
0answers
510 views

How to properly give Wordpress its own directory

I'm sorry if this question is maybe a noob one, but I'm having some problems in correctly giving Wordpress its own directory and make it work. I've installed WP in a subdirectory, like www.example....
0
votes
1answer
26 views

My Cloned WP site keeps redirecting to the old one

This is my website: http://thiencheong.com.my/, I created my WP site at first at the ver2 directory, and when I'm ready for it to go live I cloned it over to the main directory. But now whenever I'm ...
0
votes
0answers
3k views

How to fix: “The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.”

I'm using azure as a hosting service and I tried to create a new virtual directory for my subdomain. So I created a folder in my ftp then I created directory in below image Then I've edited my web....