The tag has no wiki summary.

learn more… | top users | synonyms (3)

-1
votes
0answers
10 views

How to create an alumni section of a wordpress site [on hold]

Is it possible to have the alumni register using their student ID or number and have member directory shown by year group
2
votes
2answers
22 views

Could a large quantity of files in the uploads folder affect performance?

There is a site, where images are not organized into month- and year-based folders. There are more than 20 000 of images in one folder (uploads) now. When I try accessing the folder via a file ...
1
vote
2answers
25 views

How do I serve static content on same domain as wordpress

I have a portfolio site that I would also like to make a demo site for some of my client work. Basically I would like to server subfolder statically along side the Wordpress install. So for instance ...
0
votes
3answers
17 views

How do I get WP site to show in both root and sub-directory

My individual WP site is installed in a sub-directory (e.g., example.com/wordpress) and I would like visitors to be able to view it from BOTH the root directory (example.com) AND the sub-directory ...
0
votes
1answer
12 views

How to replace a wordpress installation in root directory with another in a subdirectory?

Someone with a wordpress site in lets say www.thess.com asked me to change the theme, so i thought it would be safer to first create a second wordpress installation in lets say www.thess.com/welcome ...
0
votes
1answer
33 views

wp-content - permissions for files/folders created by apache

My wp-content folder has owner 'User' and group 'www-data'. The permissions are 775 for folders and 664 for files, so the server can write inside folder. But when the server creates folder and files ...
0
votes
0answers
24 views

How to get the current plugin name?

I need to get the current plugin name using a define like this define(PLUGIN_NAME, plugin_basename(dirname(__FILE__))); Regrettably, that code doesn't work because the php file is nested inside a ...
0
votes
1answer
43 views

Permissions to wp-content folder in Windows Server 2012

I've made some tests to solve this problem: trying to update some plugins via Wordpress backend I always receive a "Unable to create folder" error. So I've initially added IIS_IUSRS with ...
0
votes
1answer
42 views

How to Create Hierarchical Directory for Nation Wide Mental Health Services

I'm to build a hierarchical directory for an online portal of nation wide mental health services. Is there any suitable option in WordPress? I've already created the news portal section of that site ...
0
votes
2answers
39 views

Is it good security advice to install wordpress in subdirectory but link to root?

Is it good to install wordpress in a subdirectory (with a random name), but set "Homepage" address to domain root? (based on Giving WordPress Its Own Directory) Since the wp-content is in the ...
0
votes
2answers
31 views

Fresh wordpress installation in sub-directory not accessible

I install fresh installation of wordpress in my server sub-folder call blog. So in the beginning I access the site mydomain/blog and it works perfectly. But when I changed the permalinks settings ...
0
votes
1answer
11 views

Have subdirectory name act as $_GET or $_POST data

I have a page with a list of items that I want to have my users cycle through without a page load happening between each item. This works. However, I also want each item to have it's own URL. I'm ...
0
votes
2answers
67 views

Wordpress installed in root, need second in subdirectory with different domain

God, this little problem drives me crazy and I really hope that you'll help me how to figure it out. I searched over all previous threads and in the codex of wordpress, I find some close situations ...
0
votes
1answer
31 views

Does WordPress refer to any files outside of the main install folder (and database)?

Meaning, if I install WordPress in the /wp folder... would any files in the main root of the domain folder "/" be accessed, or any other folder outside of the /wp folder for that matter? Meaning, are ...
0
votes
1answer
37 views

Multisite, different domains, optional subdirectory, and htaccess

Here's the situation: Configuration I have a WordPress multisite setup where different sites are on different domains. Some of those sites are contained in a subfolder in their domain, some are not. ...
0
votes
1answer
58 views

htaccess mod_rewrite not working

I'm pasting my full htaccess file, for clarity, as to be honest, I'm not entirely sure if I have to include my non-default directives inside the <IfModule mod_rewrite.c> bits or separately ...
0
votes
0answers
22 views

Move Wordpress with changed name 'wp-content'

I've got a problem moving my Wordpress website. I did followed the codex, but I'm facing some problems because I'll changed the name op my wp-content directory using the iThemes security plug-in. I ...
1
vote
1answer
24 views

How to give all CPT a folder automatically based on their slug

This is what I have now and working: function get_custom_post_type_template($single_template) { global $post; if ($post->post_type == 'amazon') { $single_template = TEMPLATEPATH . ...
2
votes
1answer
100 views

local folder permissions vs chown — security considerations

I was trying to install a plugin, and I kept getting the following error: Unpacking the packageā€¦ Could not create directory. I'm on Localhost on a XAMPP stack on Mac OS X Yosemite. The way I ...
0
votes
2answers
37 views

Wordpress File Structure

I need some help understanding Wordpress's file structure or the URL structure. Not the Template Hierarchy, I understand that. What i mean is how a websites files are set up according to it's URL. ...
0
votes
0answers
15 views

Create Subfolder that always displays template file

We have multiple magazine titles on our website and I'm looking to code subdirectories to show certain info. For example: website.com/title1/pdf website.com/title2/pdf website.com/title3/pdf The ...
0
votes
0answers
64 views

ReDirect subfolder link to another sub-folder and force SSL

My wordpress is installed in a subfolder, for example: test, so my urls look like http://example.com/test/product/buy-product-a/ etc.. Now I have installed another wordpress in subfolder, for ...
0
votes
0answers
43 views

Subdirectory and domain multisite installation

I have this structure: http://example.com/ http://example.com/site2 http://example.com/site3 http://example.com/site4 ... Now, I want http://example.com/site4 to be http://mycampaignwebsite.com/ ...
0
votes
0answers
39 views

What to do first when converting to multisite and subdirectory install

I want to make my WordPress 4.1 installation: be in its own subdirectory (htdocs/wordpress) served from root domain: (www.mysite.com/, www.mysite.com/site2/, www.mysite.com/site3/) multisite with ...
0
votes
1answer
39 views

How to set custom upload directory per user after moving content directory

I set the content and the wordpress directory of wordpress like described in the codex: define('WP_SITEURL', 'https://' . $_SERVER['SERVER_NAME'] . '/wordpress'); define('WP_CONTENT_DIR', ...
0
votes
1answer
100 views

After setting up multisite on localhost, requests to localhost redirect to production domain

After setting up multisite on http://localhost, requests to http://localhost redirect to http://production-domain.com (Including "Log In"). Where is the production domain information even being ...
0
votes
1answer
120 views

Block Logged-Out User Access to Directory Outside of WordPress using .htaccess and PHP file

I have successfully blocked access to a folder directory outside of WordPress based on user cookies using the following code in the .htaccess file: # BEGIN WordPress <IfModule mod_rewrite.c> ...
0
votes
1answer
48 views

Installed in root, want second in subdirectory

Current situation I am trying to plan ahead and avoid any grievous pitfalls and/or headaches in adding a second domain/site for a client. WP is currently installed in root The client wants a second ...
0
votes
1answer
37 views

Should meta boxes for specific pages be save in their own plugins?

I realize this is a subjective question, but I need some opinions on where to put functionality like meta boxes that belong to specific pages. Let's say I have a template called Gallery Page. On that ...
0
votes
1answer
29 views

Will placing custom templates in sub directory break any native WordPress functionality

I have, on an existing project, created a folder named templates in the theme root directory where I have put all my custom template files, all the files that have the Template Name: BlahBlahBlah in ...
0
votes
1answer
109 views

Change location of header.php and footer.php

I wish to organize the my themes directory a little more. Is it possible to move header.php and footer.php to a sub directory? I guess it's done by hooking on to some action, but is it possible with ...
0
votes
1answer
53 views

Clean installation missing its /wp-content folder

I installed WordPress 4.1 on my server. All the files are installed, and I can login correctly without errors. But if I login through FTP I can't find the wp-content folder. If I do the above on my ...
0
votes
1answer
53 views

Getting Internal server in sub folder pages

I have just created sub folder called "blog", so access link is example.com/blog. I have installed WordPress in blog folder, configure database and all but when access above link then I am getting ...
0
votes
1answer
45 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 ...
1
vote
1answer
21 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
22 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
111 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
69 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
64 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
73 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
1answer
160 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
74 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
338 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
23 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
23 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
55 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
2answers
111 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 ...
0
votes
0answers
59 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
197 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 ...
0
votes
1answer
121 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?