The tag has no wiki summary.

learn more… | top users | synonyms (3)

0
votes
1answer
21 views

Impossible to index an upload folder with 10k files

I have a WP installation which has a very large uploads folder with a bit more than 10k files. At the time we unset year/month folder organization and now we have huge problems to download or backup ...
0
votes
1answer
609 views

Allow Access To Subfolder Of HTML For Logged In Visitors

I have a WordPress site installed in the root folder. Beneath the root is a /docs folder with a bunch of older html files. I'd like to allow only logged in WordPress users to be able to have access to ...
6
votes
2answers
14k views

How to get the path to the current theme?

This code is used to get the directory of the current plugin: plugin_dir_url( __FILE__ ). What should I use to get the directory of the current theme?
1
vote
2answers
2k views

Group Posts by First Letter of Title

I am working on a website that is using posts as a way to manage glossary articles similar to the example website below. I would like to find a way to display articles alphabetically and grouped by a ...
0
votes
1answer
388 views

Two Wordpress installations: One in root and one in sub directory - no images in subdir installation

The setup: I have two Wordpress installations. One in the root of the Server and one in a subdirectory, every installation has it's own database. The subdirectory installation is connected with a ...
0
votes
3answers
859 views

How to point my domain to a Wordpress install in a sub-directory?

I have recently been re-designed a client's website (whose website is - for example purposes - mywebsite.co.uk)/ I have developed the new website (a heavily modified wordpress install) in a ...
0
votes
1answer
17 views

Wordpress Multisite new sites in directory

Is it possible to make a wordpress multisite on domain.com and then every site that I make goes to domain.com/directory/newsite? and then I have another question: is it also possible to that every ...
0
votes
0answers
16 views

Cannot access install on subdirectory

I have just been asked to create a new site for someone, and to save down time on the old site I was hoping to build the new site (using wordpress) in a subdirectory. The main site is a wordpress ...
0
votes
2answers
62 views

How to arrange PHP files to allow for multiple types of pages

I am new to WordPress development (the most I've ever done on the web design/development side of things is creating basic HTML sites); so this may be an extremely simple question, but I am trying to ...
-1
votes
0answers
18 views

Migrating Wordpress

I need assistance in migrating Wordpress from one directory to another directory and/or domain. I need it to be an EXACT copy (with files, media, theme css, etc.) and be able to do it simply and in a ...
12
votes
1answer
3k views

Custom Post Type Templates from Plugin Folder?

I'd like to offer my custom post type as a Plugin, so that people can use it without touching their theme folder. But custom post type templates -- such as single-movies.php -- reside in the theme ...
0
votes
2answers
41 views

What's the purpose of index.php in wp-content directory? [duplicate]

<?php // Silence is golden. The folder is ../wp-content/index.php Why have this file. What's the purpose? I suppose it's in order to avoid invalid visit. But why?
0
votes
0answers
30 views

wp_upload_bits - define (sub)folder / (sub)directory before filename?

I have this code for a plugin I'm using. $comment_image_file = wp_upload_bits( $title . $user->user_login . $comment_id . '.' . $file_ext, null, file_get_contents( $_FILES[ $comment_image_id ...
1
vote
1answer
35 views

Change wp-content/uploads to uploads/%postname%/%image%

When uploading an image to a post, I want to change it so that it grabs the postname or post_id and places it in a folder like uploads/%postname%/ Is there a simple method of doing so? thanks
0
votes
1answer
34 views

WP Multisite .htaccess interferes with cgi-bin

I'm currently setting up a WordPress multisite installation for my company and I've run into an issue. The set up is that the multisite runs out of a subdirectory (/wp) but appears to be at the root ...
0
votes
1answer
37 views

Permalinks not working on second wordpress installed in a subdirect

I have a main wordpress installed on the root and now due to a long story about incompatible plugins I need to install a second full instance of wordpress in a subdirectory. The main site works fine, ...
0
votes
0answers
21 views

Wordpress Overrides folder permissions in Cpanel

my wordpress based website doesn't use the default language so i changed it in wp-config.php file, i did that because i only needed the wordpress to use my language files other than en-us, for plugins ...
0
votes
1answer
71 views

Working with Reverse Proxies and Multisite Installation

We have a wordpress multi site, the main site has a URL similar to mainsite.com Each of the sub sites have a URL such as subdomain1.mainsite.com, subdomain2.mainsite.com etc Each of the sub sites we ...
0
votes
0answers
19 views

Help with WordPress search

i am creating a directory using WP, and need to allow customers to be able to search by industry and sector, like here http://www.checkatrade.com/ I will be setting these up through two taxonomies: ...
0
votes
1answer
17 views

URL Rewrite when WordPress is in subdirectory

I have a website with WordPress installed in a subdirectory called "articles." The rest of the site is built outside of WordPress. I'm wondering if it's possible to rewrite the author page URLs from: ...
0
votes
1answer
108 views

After changing wp from subdirectory to root I can't preview any changes to a page or post

I followed the guideline from WP Codex. Changed the site url in general settings Copied the .haccess and the index.php files from the subdirectory to the root Edited the root index.php (new copied ...
0
votes
1answer
44 views

How to copy one folder to another folder recursively

I want copy all the files of a folder to another folder. So how to copy recursively in wordpress.
0
votes
0answers
31 views

Move local build from localhost to localhost.com to support subdomains

I created a local WordPress Multisite installation using MAMP, which I've been accessing via http://localhost/. After 2 weeks of development work, I found out I need to add a blog subdomain ...
0
votes
1answer
92 views

redirect index.html inside folder to wordpress page of same name

i have a wp page called mysite.com/stuff/ i have a subdirectory on my ftp called mysite.com/stuff/index.html with a bunch of files and other subdirectories inside. when i go to ...
11
votes
7answers
21k views

Cannot access non-wordpress subdirectories as wordpress overrides them with a 404 error

I refer to this question previously asked and not suitably answered: Wordpress overriding actual subdirectories and also Non "Wordpress" pages/code getting 404 error. I have the same ...
1
vote
3answers
411 views

Can't Access Subdirectory

I've moved my blog from http://leghumped.com/blog to http://leghumped.com/ and now I can't access my /images directory. I've tried every combination of rules from trawling for people with the same ...
0
votes
1answer
51 views

Copy and delete a directory with WordPress functions

I have successfully used copy_dir() to copy a directory to a new location. How can I delete a directory using WordPress functions?
2
votes
1answer
405 views

Menu Custom link - using relative link when WP is in a subdirectory

I tend to develop sites in a subdirectory, and I tend to use a fair amount of custom links in my menu ( the "Custom Links" option in the WP admin Appearance > Menus section) to display archive pages. ...
0
votes
1answer
57 views

Second completely independent and disposable Wordpress installation in subdirectory?

I know this may have been asked before, but I didn't find an exact answer, so yeah ... I have a wordpress installation in the main directory of my Webspace (hosted @ Strato) and I want to install a ...
0
votes
1answer
49 views

FTPS Uploads - wp-content cannot be found

i've arranged my new Server and i use proFTPD with TLS Support. Now, WordPress can't upgrade or install plugins anymore. I get the following message: The directory "wp-content" cannot be found This ...
0
votes
1answer
33 views

How to configure folders with 'Child Theme'?

I created a 'Child Theme' for customize my Template but I don't know how to subscribe some files that found in folders of the theme. I tried to do like this: Original files: theme/css/file.css I ...
1
vote
2answers
35 views

GoDaddy Number of Image Files Per Directory Exceeded

OK, so I started my blog back in 2006, never realizing the size it would grow to, or what the future of WP and GoDaddy would bring. 1st Problem. I had read somewhere that it was better to have my ...
0
votes
0answers
13 views

How to Prevent Browsing to Extra Directories?

By "Extra Directories", I mean directories that exist for no apparent reason. For example, here is an article on css-tricks.com: http://css-tricks.com/favicon-quiz/ If I append (an extra ...
-1
votes
1answer
31 views

How can I get information on who is downloading my plugin? (new to this)

I have a WP plugin that I contracted. We only have a front end developer/designer working on it. No real back end at all, yet. Right now, the only information we have is through the plugin ...
0
votes
0answers
44 views

Cannot upload to new wordpress installation in subdirectory on same server as existing installation

To make a smooth transition to a new site, we created a fresh new wordpress installation (3.9.2) in a subfolder of the root, called wp2. (The intention is to eventually redirect entirely to this site) ...
1
vote
1answer
76 views

Installing plugins and using complex folder structure with child theme in WordPress

I'm creating a new WP website based on a template, and I've created the child theme for this template. It is working without any problem. I understand the basics for a child theme as adding my ...
0
votes
1answer
70 views

uploading images to specified directories

I am hoping that you can help me. I've tried finding plugins to do what I want to do but none of them really simplify the problem that I am trying to fix. I am trying to build a site for my ...
0
votes
0answers
15 views

Change Theme Location for Multiste's single Blog

I want to change the directory, where the theme is located for only one Blog in the Multiste. the other ones shall keep as they are. I found a snippet which does that for uploads: ...
0
votes
1answer
31 views

wordpress blog in subdirectory or subdomain

I'm using Wordpress for my website. Now I'd like to add a blog section to my website. I'd like it to be accessible like this: http://www.mywebsite.com/blog or even better, as a subdomain: ...
0
votes
2answers
85 views

Multisite in subfolder - How to make new sites to be in same level subfolders as the main site

I have following situation. I have a WP Multisite installed in subdirectory: my-domain.com/subfolder/wp-multisite-root Now normally next sites added would be created like that ...
0
votes
0answers
30 views

Multisite installation without using domain root

I would like to create a multisite installation using subdirectories, but I don't want any of the sites to use the domain root as their home URL. I'd like to have the multisite install in ...
0
votes
0answers
94 views

Wordpress asking FTP Details

When i attempt to upload my plugin, WordPress asks for my FTP Credentials. After entering them, WordPress returns the error: Failed to connect to FTP Server ftp.domain.com:21 but my FTP ...
0
votes
0answers
29 views

Site not loading after trying to give wordpress its own directory

I have followed these instructions http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory 100s of times and never had a problem. Now I am trying to remove the /wordpress from the URL again ...
0
votes
0answers
23 views

Multiple Domains For WordPress MultiSite Subdirectories

How can I use example.com and example1.com for all WordPress multisite subdirectories? For example if a user navigated to example1.com/site/ they would see the same site as if someone navigated to ...
0
votes
0answers
35 views

Cannot access subdirectory subpages

I am working on a wordpress site for a client, who has a 2nd install in a subdirectory. When I try to view a subpage on the 2nd install (domain.com/folder/subpage) I get the root directory install's ...
1
vote
2answers
25 views

Make a user administrator to a sub directory site and a contributor to main site in multisite network

I have a multisite network. The main site displays news. The sub directory sites have administrators and I call them subsite admin. If the subsite admin wants to post to the main site, I want them to ...
0
votes
2answers
25 views

Where should I store disabled plugins?

I have several plugins that I occasionally use for maintenance/import tasks etc. but I don't need them available in the plugins admin most of the time. As my site has quite a large number of plugins, ...
-1
votes
1answer
44 views

Subdomain redirects to subdirectory [closed]

Supposing I have folder called "support" inside root folder "/public_html". I've added a subdomain in my server's panel so that when going to "support.mydomain.com" it redirects to ...
2
votes
0answers
314 views

How to get WordPress to save upload file beyond web root

I am using nginx on a multisite install. I am trying to get WordPress to save uploads to a folder beyond the webroot : /home/mydomain/file_secure as opposed to ...
2
votes
0answers
103 views

Namespacing WordPress project according to FIG standards

I am trying to wrap my head around the namespaces, autoloaders and FIG standards and most importantly how to achieve their integration to WordPress as close as possible. Here is my file structure, ...