The tag has no wiki summary.

learn more… | top users | synonyms (3)

0
votes
1answer
731 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 ...
12
votes
1answer
5k 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 ...
-1
votes
0answers
11 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 ...
0
votes
1answer
337 views

Unwanted redirect in admin area

I have a strange behaviour on my backend. This is possible due to the way my WordPress is located. I installed it in a VirtualBox, using Ubuntu from the standard repository (i.e., apt-get install ...
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
1answer
34 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
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 ...
1
vote
3answers
3k 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
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
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
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
476 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
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
804 views

Move my theme style.css into a folder

I was wondering if its possible to have my theme style.css in a css folder rather than in the root? I assume that the Theme Metadata has to be in the theme root, but could the actual styles be moved? ...
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
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
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
3answers
1k 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
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
1answer
12 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
1answer
121 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
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
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
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 ...
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 ...
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 . ...
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
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
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
1answer
103 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 ...
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
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
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
101 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 ...
2
votes
1answer
122 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, ...
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
110 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

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 ...
8
votes
2answers
19k 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
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
112 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
2answers
112 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?