The tag has no wiki summary.

learn more… | top users | synonyms (3)

1
vote
0answers
102 views

I have a page using a pretty url and a mod_rewrite rule matching it. I expected it to give an error but it's working. Why?

this may seem like a weird question but I have something working and I don't understand how. I have moved my wordpress install to a subdirectory and am using the .htaccess file to redirect anything ...
1
vote
1answer
53 views

Moving from one test to multiple final environments

I'm working on a WordPress website in the following test environment URL: www.example.com/wordpress. Once the site is complete and everything is tested, I want to deploy to three live environments ...
1
vote
1answer
315 views

WordPress in a sub directory but not images

I have followed this tutorial from WordPress and managed to get everything to work. I have installed wordpress in a subfolder called /wordpress/. The problem that the images I uploaded show the ...
1
vote
2answers
184 views

to create own conditional tags for business directory in wp

i want to create conditional tags for the business directory categories as the conditional tags which are provided are for normal categories.which do not work for the business directory categories.can ...
1
vote
1answer
160 views

Multisite installation on an existing single installation

How to create a blog in a sibling directory of an already installed WordPress directory? The domain is example.com and there is an existing installation in blog directory and the root directory at ...
0
votes
2answers
38 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
764 views

wp_enqueue_script not loading my custom js file

I am using the following code below in my functions.php, However app.js is not found when I inspect it in the resources tab. It is looking for it in ...
0
votes
1answer
495 views

why there is a large file named core in wpmu's directory?

why the file named core is here? can i delete it? ls -lh total 37M -rw-rw-r-- 1 hugemeow pg 16 2012-03-04 04:22 a.php -rw------- 1 hugemeow pg 30M 2012-10-16 10:41 core // this is the large ...
0
votes
1answer
4k views

how to create a folder in wordpress

This is the dilema: I want to install wordpress in the root (regular installation for a wordpress site). Although, I want to have different cities to be available for the user to view the content ...
0
votes
1answer
54 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
1answer
65 views

How to recover WordPress Adress(URL)

I installed WordPress in localhost. I changed the WordPress Address from the general settings. After that none of the previous pages appears. Instead, a "Page Not Found" error page is appearing. I ...
0
votes
1answer
54 views

Function that outputs second theme url

I have a multisite and need a function (added to functions.php) that will get the template url of the second theme (probably by name or other identifier)? Example: theme-1 (used by main site) ...
0
votes
3answers
3k views

bloginfo('template_directory') img src

I am lazy loading some images with URLs which are added via custom fields. The lazy load plugin I'm using requires a place-holder image in the src attribute and the actual image in data-original. ...
0
votes
1answer
593 views

Hiding Directory Path

I'm not sure if I am wording this right, but I need to hide the directories of my Wordpress installation. What I mean is, I am able to go to, say: www.example.com/wp-content/uploads/2012/08 ...
0
votes
2answers
142 views

Moving WP from /blog to root directory

I'm moving a WordPress installation from /blog to the root directory on the server. There weren't more than ten blog posts in the blog, but I'm concerned about Google finding dead urls. Is there an ...
0
votes
1answer
107 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
52 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
2answers
109 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
2answers
260 views

Does wordpress allow me to add a php file to the root directory to execute custom scripts?

Does wordpress allow me to add a php file to the root directory to execute custom scripts? I need functionality similar to functions.php that you put into themes. Are there any work arounds that ...
0
votes
2answers
55 views

PHP in CSS file?

so I have this in my CSS ... #mainnav li:after { content: url('images/nav-divider.png'); } obviously I need to have it link to 'bloginfo('template_directory'); /images/nav-divider.png' instead ...
0
votes
1answer
115 views

Where is the right place to store custom images?

I'm converting my old web project to WP and there are tons of book covers that aren't to be uploaded/managed by WP but by my own functions. Where is the right place to store such a kind of custom ...
0
votes
1answer
518 views

Custom theme folder

Is anyone aware of an equivalent to WP_PLUGIN_DIR and WP_PLUGIN_URL for themes that I can define in wp-config.php, or am I stuck creating a mu-plugin and registering a new theme dir?
0
votes
1answer
123 views

Multiple domains for multiple single installs

I've done my share of searching, but apparently my search-fu is failing me, because I haven't found anything that really seems to fit my circumstance. Also, I don't want to just try random solutions ...
0
votes
1answer
73 views

Path in dev server works; same path in prod server is broken

on my development wordpress server (using Desktop Server's "ServerPress"), one my pages has a list of pdfs; each tag has this path: /wp-content/themes/accessgroup/docs/thePDF.pdf. When I upload my ...
0
votes
1answer
98 views

google xml sitemap won't work on directory install

I have installed wordpress in directory above the root called "wp". I'm having issues with the google xml sitemap generator. I cannot rebuild the xml code and write it the sitemap.xml file. I have ...
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
30 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
2answers
36 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
1answer
99 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
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
51 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
44 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
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
118 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?
0
votes
1answer
40 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
26 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, ...
0
votes
1answer
55 views

Can I use the same Folder name as a Multisite Blog?

I have a Wordpress Network site 3.8+ where one of my sites is domain.com/media/. On the root of domain.com, I am wanting to create a folder named "media" to store all uploads. Currently I have this ...
0
votes
1answer
799 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
1answer
90 views

If has_term, load other theme

This is what I want to accomplish. I've created a taxonomy called categorie with the terms app, web and branding. When a project has the term app, I want to load another theme / blog. When a project ...
0
votes
1answer
1k views

Wordpress in sub directory wp-admin problem

I have WordPress 3.3.1 installed in a sub directory on my site just to use as a staging test site. It seems the root sites .htaccess is creating problems for Wordpress wp-admin page. I've set the ...
0
votes
2answers
444 views

Conditional config WP_HOME/WP_SITEURL does not update bloginfo('template_url')?

The scenario: This question relates to Wordpress theme development on a local environment via MAMP. In order to enable mobile device testing via xip.io, I have modified my local Wordpress ...
0
votes
2answers
161 views

Installing local to live WP into subdirectory

I am having a bit of trouble moving a local WP site live and into a subdirectory. I want a static homepage for now (index.html in the root folder) while I work on the live site (would be found in ...
0
votes
3answers
34 views

Filepath to Chosen for “Home Page” option - Which function?

Someone using my plugin/theme surprised me by making their site address different than their install address with the "Enter the address here if you want your site homepage to be different from the ...
0
votes
1answer
38 views

Moving wordpress from /dir to main folder

I have a simple question. I want to move my wordpress installation from www.xclo.co.uk/dir to www.xclo.co.uk Please can someone tell me how to do this.
0
votes
2answers
3k views

index.php file in wp-content/themes/ folder

I was manually uploading a theme im working on to my wordpress install tonight when I noticed a index.php file in my themes folder. I opened the file and it contained only the following three lines of ...
0
votes
1answer
118 views

Multisite for main in subdirectory, subdomain and subfolders (EN/ES)

I have a domain <http://my-site.com> and I want to restructure it, used to have a Drupal for the portal and numerous installations of WordPress in different subdomains. The hosting I have only ...
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
1answer
196 views

Infamous admin login redirect

I have a multisite installed with the domain mapping plugin. All the domains work fine, except... One of the sites is on a subdirectory (the main site running Magento). I added a symlink to the ...
0
votes
1answer
243 views

Get WP Install Directory

I have a theme which - I was quite proud of myself! - I designed to be installed in wp sites where wp is on root level. Then half my users installed the theme on a mysite.com*/wordpress/* ! ...and ...