The tag has no usage guidance.

learn more… | top users | synonyms (3)

0
votes
0answers
107 views

Override parent theme files in subdirectory

How do I tell wordpress to use the child theme's version of a file rather than the parent's version? I found online that the following line should be added to my child theme's functions.php file, but ...
0
votes
0answers
10 views

Errors when trying to change the directory of blog install

I have a WordPress Network site installed at "www.example.com/incorrect/" but I need to change the name. When I change the directory name to "/correct/" it gives me an error message when I visit that ...
0
votes
1answer
167 views

Extracting Distance from FacetWP Proximity Function to Display in Wordpress Template

I am quite new to Wordpress & Php coding in general, I have a relatively simple theme that I have been working with that contains a custom post type that stores latitude and longitude. Each post ...
0
votes
1answer
10 views

Installing wordpress on subdirectory 2 levels down

An unusual one for you and I appreciate how ridiculous this set up sounds but It's currently what I've got to work with so here we go... I have a joomla website set up on www.myjoomlasite.com. I am ...
0
votes
0answers
10 views

host custom page alongside wordpress

I am trying to create website with wordpress as well as my core php part and both part has no relationship with together My site structure is like domain.com => this will be wordpress except ...
0
votes
2answers
26 views

Subdomain to website directory blog transferring

I have a blog that is located on a subdomain blog.example.com and I have a main website located on example.com. They both use the same wordpress template. I'd like to transfer my blog from the ...
0
votes
0answers
79 views

Multisite Nested Folder Paths Hack Using Sunrise.php & Tinymce Issue

I have just implemented this hack https://gist.github.com/badfeather/3f0d5c347fe0ac7a4174 for allowing nested paths but the code instructed to be added into the .htaccess file at the top of this doesn'...
0
votes
0answers
16 views

Word press site fails to load after moving directories

I was trying to move my wordpress site to a new directory following these instructions https://codex.wordpress.org/Moving_WordPress under "Moving Directories On Your Existing Server" I have done this ...
0
votes
0answers
7 views

If search for a post is true, be able to choose posts to be top results?

I can't seem to find anything online about this... the title says it all. If search for a post is true, be able to choose posts to be top results? ( like a sticky ) Maybe by creating a new tag or ...
0
votes
2answers
43 views

Additional folder where will Media Library look for files

I have additional folder (images/) in wp-content/uploads/ directory to store theme images (I heard it is good practice to place them in upload directory) and I want Media Library to list this files ...
0
votes
1answer
68 views

Cannot Override Wordpress 404 for a Sub-Directory

I have wordpress installed on my root (/var/www/html) and I have a sub-directory in the root as /var/www/html/manage Both directories have it's own .htaccess files. Content of the .htaccess are as ...
0
votes
2answers
198 views

Move Wordpress to subdirectory, keep ALL URLs

I currently have a website at site.com and have WordPress installed in me website's root folder. My website includes pages like: site.com site.com/page site.com/2015/10/01/post.... site.com/login ...
0
votes
0answers
131 views

Folder Permissions, fsockopen enabled and cURL is disabled

Hello I recently migrated my wp site to a new host and it has being nightmare since i am not able to upload pictures to the Media gallery and install plugins. WP keeps showing me this error and when I ...
0
votes
2answers
423 views

WordPress root directory change + Theme directory change

I'd like to create the following structure for my WP installation: htdocs (base dir) wp (WordPress dir) themes (WordPress theme dir) plugins (WordPress plugin dir) upload index.php .htaccess So ...
0
votes
1answer
70 views

admin_url() do not retrieve the correct url in an subdirectory install

I have installed Wordpress locally in a subdirectory. I have the admin_url( 'users.php' ) template tag in a plugin that retrieves the http://localhost/wp-admin/users.php URL instead of the http://...
0
votes
0answers
48 views

Nested folder paths for WordPress multisite

I'm looking to implement a WordPress multisite with nested folder paths. Having read this blog - http://www.paulund.co.uk/wordpress-multisite-nested-paths - I just wondered if anyone had positive / ...
0
votes
1answer
79 views

WordPress Multisite redirect loop

I'm wondering what my htaccess file should look like for my multisite install. I'm using sub folders instead of sub domains, this was something that I actually changed after the initial setup. ...
0
votes
0answers
23 views

Changing primary domain from non WWW to WWW

My root has the following structure: public_html Site1 (primary domain) Site2 (addon domain) Site3 (addon domain) My settings for Site1 is as follows: **wordpress url**: myfirstsite.com/...
1
vote
1answer
116 views

Template Hierarchy tag-{slug}.php directory

When tag-{slug}.php is in the root of theme, say wp-content/themes/p2/tag-{slug}.php, the template hierarchy is respected. However, I have many such custom files and just cannot have it in the theme ...
1
vote
0answers
21 views

Session Expired when WordPress Address (URL) and Site Address (URL) are different

I followed this article to allow me to put our company's WordPress blog on a subdirectory of our Heroku hosted site: http://nicolasmlv.com/wordpress-in-your-rails-app/ This says to add this code to ...
1
vote
1answer
182 views

Change wp-content without changing the name of the folder

This does not work # BEGIN WordPress <IfModule mod_rewrite.c> RewriteRule ^/index\.php$ - [L] RewriteRule ^/css/(.*) /wp-content/themes/themename/css/$1 [QSA,L] RewriteRule ^/js/(.*) /wp-...
3
votes
1answer
396 views

NGinx + Wordpress Subdomain Multi with core in Subdirectory

I have a WordPress install that works perfectly on a Apache server. I am currently in the process of both changing my hosting company (the new one offer NGinx) and my development stack (moving to vvv)....
0
votes
0answers
54 views

Wordpress on Azure as Subdirectory

A client gave me access too devblog.azurewebsites.net where I was supposed to install the theme I developed and configured using WordPress. Now that the setup is complete, the site must be moved to ...
0
votes
1answer
272 views

How can I have nginx serve WordPress at /blog?

How can WordPress be made to live at /blog, while another application handles the root directory /, using nginx? I have the ordinary subdomain setup right now, which works fine. I've read https://...
1
vote
3answers
257 views

Move wordpress to folder without changing urls

I have an old wordpress installation in root of my website with the following structure: / shows a simple intro /blog lists blog posts /13**/**/**/* shows a specific post (permalink) /contact /about ...
3
votes
2answers
239 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 browser,...
1
vote
2answers
90 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
31 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
27 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
333 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
543 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
2k 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 Read/Write/...
0
votes
1answer
56 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 ...
1
vote
2answers
278 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
156 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
27 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
1k 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
124 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
174 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
460 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
46 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
29 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 . '/amazon/single....
2
votes
1answer
493 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
80 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
25 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 ...
1
vote
0answers
168 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
157 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
141 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', dirname(...
0
votes
1answer
378 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 ...
1
vote
1answer
622 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> ...