lukefretwell
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Images show as broken on subdomainsHere’s the instructions:
1. Add the following to your wp-config.php file in /public_html/ above the line reading /* That’s all, stop editing! Happy publishing. */:
define('MULTISITE', true); define('SUBDOMAIN_INSTALL', true); define('DOMAIN_CURRENT_SITE', 'YOURDOMAIN.com'); define('PATH_CURRENT_SITE', '/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1);2. Add the following to your .htaccess file in /public_html/, replacing other WordPress rules:
RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] # add a trailing slash to /wp-admin RewriteRule ^wp-admin$ wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^(wp-(content|admin|includes).*) $1 [L] RewriteRule ^(.*\.php)$ $1 [L] RewriteRule . index.php [L]- This reply was modified 7 years ago by lukefretwell.
Forum: Fixing WordPress
In reply to: Images show as broken on subdomains@danacs see in my response above:
Go to ‘Network Setup’ (/wp-admin/network/setup.php) and added the suggested code for the .htaccess file.
Forum: Fixing WordPress
In reply to: Images show as broken on subdomainsFigured it out.
Went to ‘Network Setup’ (/wp-admin/network/setup.php) and added the suggested code for the .htaccess file.
Forum: Plugins
In reply to: [The Events Calendar] Events page not showingYes, thank you!
Forum: Plugins
In reply to: [The Events Calendar] Events page not showingThe individual events page is working:
Forum: Networking WordPress
In reply to: Images broken on subdomainsMine turned out to be an .htaccess issue.
http://codex.wordpress.org/Multisite_Network_Administration#.htaccess_and_Mod_Rewrite
Updated with this and it worked!
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule . index.php [L]
# END WordPressForum: Networking WordPress
In reply to: Images broken on subdomainsI switched to 2013 theme and still gives broken image on upload.
I can’t make sense of this, but do you think it could be this?
http://wordpress.org/support/topic/multisite-image-uploadlink-problem?replies=19
Forum: Networking WordPress
In reply to: Images broken on subdomainsJust did and that didn’t work.
Forum: Networking WordPress
In reply to: Images broken on subdomainsI have not. They’re across the network, so I was hoping to not have to. I actually don’t have that many. Ideas on what type would cause this issue?
Forum: Fixing WordPress
In reply to: Category link not working on paginated pagesThank you!
Forum: Themes and Templates
In reply to: Sidebar not showing on Twenty Eleven postsalchymyth,
Figured out how to add a proper functions file to the child. 🙂
Thank you so much for your help!
Forum: Themes and Templates
In reply to: Sidebar not showing on Twenty Eleven postsHere’s the code I’m referring to:
Forum: Themes and Templates
In reply to: Sidebar not showing on Twenty Eleven postsSorry, odd code is showing at top of all the pages:
http://lukefretwell.com/infographic-for-fedscoop-the-next-u-s-cio/
I’ve moved the sidebar code to same place as index.php but it’s not showing showing like that on single.php.
Forum: Themes and Templates
In reply to: Sidebar not showing on Twenty Eleven postsThank you!
Few questions:
- What’s the code at the top of the page?
- Where do I put the sidebar code?
I just want it to show exactly like the home page: