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

The tag has no usage guidance.

0
votes
0answers
21 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
12 views

In a sub-directory installation, how to serve media content from main directory?

I have moved WordPress to a subdirectory www.site.com/SUBDIR Media files are stored on www.site.com/SUBDIR/wp-content/uploads/... In WP-settings, WordPress Address (URL) is www.site.com/SUBDIR and ...
0
votes
0answers
12 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
10 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
28 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
10 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
15 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
204 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 ...
0
votes
0answers
9 views

Multiple CSV exports

I have just various CSV exports from a directory plugin, i need to find the quickest way to sort the content out then import it back into a new plugin directoy. Does anyone the easiest way to do this? ...
1
vote
0answers
11 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
29 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
28 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
9 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 ...
3
votes
2answers
220 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
15 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
24 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 ...
0
votes
0answers
8 views

Trying to make an in-page directory navigation

I'd like to have a section on one of my pages where the user can navigate through a main folder on the server that has different sub folders and download the files in those sub-folders. I'm very new ...
0
votes
0answers
13 views

Member Directory with Multiple Addresses

I am trying to create a Member Directory, I have found a lot of membership plugins (basically with the intention of selling content to members) and some directory plugins (mostly for listing business),...
0
votes
0answers
19 views

Find and replace in sql with if, Change upload directory respect to post type

Is it possible to make a query like that so I get the desired result in MySQL? I want to find and replace values: under table post_meta and in post_value ".../folder/..." to "..../events/...." if ...
-1
votes
1answer
32 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
19 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
60 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....
0
votes
2answers
27 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
31 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
9 views

Trying to make a navigable directory

I'd like to have a section on my website where the user can navigate through a main folder that has different sub folders and download the files in those sub-folders. The initial plan was to have a ...
0
votes
0answers
139 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
19 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
2k 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....
0
votes
0answers
292 views

PHP Curl DOM Parse multiples HTML files in folder into CSV (inline data in row)

Im willing to use PHP curl to parse multiples HTML files from a directory source instead of a single one. I would like to parse any kind of text element and put it in one row per html file and datas ...
-1
votes
1answer
85 views

Moved WP Multisite, cannot access sites

Just moved my WP Multisite from example.com to example.com/u/ I can access the main site and the admin pages for that and the network admin. But i cannot access the example.com/u/site1 or their ...
1
vote
0answers
21 views

Move files from flat upload directory to organised by year / month

I'm upgrading a site where there are 57,426 files in the /upload directory. I need to sort them as /upload/year/month/filename.ext because this flat non-hierarchical dir is a mess. There's no image ...
0
votes
0answers
32 views

Why are the latest visits to my website originating from my own website?

To start with, I don't know anything about coding and stuff. I am here to seek help from experts hoping they can help me resolve the issue. I have a website/blog that runs on WordPress. I have a VPS ...
0
votes
1answer
158 views

Minimize and Uglify WordPress Plugin Files

Intro When developing a gulp.js project, it is typical to have the following directory structure PROJECT_NAME | ---------- dist <------------ contains library to be released | ----...
0
votes
1answer
10 views

Do I need to be selective about where I search and replace when pointing a domain to a subfolder used for development?

I've got a WordPress site I built in a subfolder of an existing, active hosting account with another WordPress site in the main folder, per my client's instructions. Something like http://www.siteurl....
0
votes
0answers
17 views

Re-design a website with WordPress: Subdomain or subdirectory?

I would like to re-design my Website (that is using another CMS at the moment) with WordPress. Now I have 2 questions about the WordPress installation: Should I develop it on a sub-domain (while my ...
0
votes
0answers
22 views

Is it possible to have a site as a subdomain and a subdirectory?

The previous web admin created our (non-profit org) new website and broke the site into multiple subdomains. She did this without the board's approval (and then quit), and they would like to go back ...
0
votes
1answer
30 views

How to upload images to WP Panel keeping correct folder in FTP

I've uploaded an 'Uploads' folder to my FTP this folder has other folders like 2015, 2016, 2017 and inside them some images. I wanna know if is there some way or plugin to make all my images show in ...
0
votes
1answer
165 views

Creating a copy of a website in a subdirectory, wp-admin redirect problem

I have my Wordpress site installed on a root folder. Then I have a test subdirectory where I want to have a copy of my website. I did copy and move all of the files from my main website to the test ...
0
votes
0answers
60 views

Nginx config to ignore subfolders

I have Wordpress installed normally, nothing fancy and all working fine there, however I have a subfolder that Wordpress is performing it's pretty-link permalinking on which is causing all manner of ...
0
votes
0answers
25 views

Issue with custom URL with Nginx

I've this hierarchy in my /var/www/ that contains Wordpress files firstFolder secondFolder thirdFolder and so on... I want to achieve a custom URL like mainWebsite.com/secondCustomSubFolderURL that ...
0
votes
1answer
35 views

Access sub-domain when root public_html is protected with .htaccess password

I have a problem with access to my webstore. So I have a domain example.com and I have a script installed on the public_html folder and it is protected with password since I am accessing the script ...
0
votes
1answer
163 views

Store Page Template Files in a Subfolder

I have number of legal documents of different formats / layout that I need to display on a Wordpress site, however I don't want to have them as individual page-pagename.php files in the root of the ...
0
votes
1answer
40 views

Automating WP application directory creation (domain name passed as a variable argument)

This is the farthest I've get so far automating Dir creation for WordPress. How I could I further automate this in the Linux command line? #!/bin/sh domain="$1" echo "Please save your DB user ...
0
votes
1answer
17 views

How to disable directory files from accessing?

Hi team how do I disable my wordpress site directory from accessing? example url: http://mysite.ph/wp-content/uploads/2017/07/Orders-Export-2017-July-04-1712.csv.txt
1
vote
1answer
2k views

subdirectory index.php is not working

I have setup wordpress in the root directory and at the same level I have some other directories e.g named "sq". Under sq there are subdirectories like first, second, ... under each subdirectory ...
0
votes
0answers
10 views

After rollback Errormessages when installing or updating Plugins

After a rollback (content and database) my wordpress site is up and running again. Still, I can not update or install any plugins. It keeps telling me that the temp directory is not available. Adding ...
0
votes
0answers
15 views

Hosing a website within a Wordpress directory/folder

I have a blog that is hosted on the Wordpress Business plan. I'd like to create a website within the blog. The website is in fact only one page, but is structured completely different from the blog. ...
1
vote
2answers
173 views

Change directory of javascript files

I'd like to move all my assets (CSS, JS, Images, Fonts) in an asset folder in my theme. I did it very well for the fonts and images. For the CSS, I just kept the style.css with the style meta ...
1
vote
0answers
37 views

Auto-create a post with last 10 images in WordPress directory

I want to create something to help me auto-create a post with 10 last images hosted in some directory (in my server or WordPress), this code I found helps to post an image but not many images if ...