RealtorDC
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can you relative link to parent?well I guess you know something I don’t.. please share.. If I want to create a sidebar widget, that will always go up 1 level to parent, how do I include an absolute link?
Parent1 > Page 1
Parent 1 > Page 2Parent 2 > Page 1
Parent 2 > Page 2Same link returns user to Parent of appropriate page from any page? How?
Forum: Fixing WordPress
In reply to: Can you relative link to parent?I understand.. but if I am going to put it in a sidebar.. or possibly use it on multiple sites, I can’t do it without relative links.. so can it be done?
Forum: Fixing WordPress
In reply to: How to Remove Header Output in between the Nav barsWell I would like to do the one click update but I get the following error’s, I’m not sure if it is file/folder ownership & permissions or my site’s security. I used a tutorial written by a linux security expert to setup my server, I believe it is a bit overkill.. here is the error I get:
Unpacking the update… Verifying the unpacked files… Preparing to install the latest version… Enabling Maintenance mode… Copying the required files… Disabling Maintenance mode… Could not copy file.: wp-load.php Installation FailedI think it is how I have my server setup, this is my sshd_config
# Package generated configuration file # See the sshd_config(5) manpage for details # What ports, IPs and protocols we listen for Port <hidden> # Use these options to restrict which interfaces/protocols sshd will bind to #ListenAddress :: #ListenAddress 0.0.0.0 Protocol 2 # HostKeys for protocol version 2 HostKey /etc/ssh/ssh_host_rsa_key HostKey /etc/ssh/ssh_host_dsa_key #Privilege Separation is turned on for security UsePrivilegeSeparation yes # Lifetime and size of ephemeral version 1 server key KeyRegenerationInterval 3600 ServerKeyBits 768 # Logging SyslogFacility AUTH LogLevel INFO # Authentication: LoginGraceTime 120 PermitRootLogin no StrictModes yes RSAAuthentication yes PubkeyAuthentication yes #AuthorizedKeysFile %h/.ssh/authorized_keys # Don't read the user's ~/.rhosts and ~/.shosts files IgnoreRhosts yes # For this to work you will also need host keys in /etc/ssh_known_hosts RhostsRSAAuthentication no # similar for protocol version 2 HostbasedAuthentication no # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication #IgnoreUserKnownHosts yes # To enable empty passwords, change to yes (NOT RECOMMENDED) PermitEmptyPasswords no # Change to yes to enable challenge-response passwords (beware issues with # some PAM modules and threads) ChallengeResponseAuthentication no # Change to no to disable tunnelled clear text passwords #PasswordAuthentication yes # Kerberos options #KerberosAuthentication no #KerberosGetAFSToken no #KerberosOrLocalPasswd yes #KerberosTicketCleanup yes # GSSAPI options #GSSAPIAuthentication no #GSSAPICleanupCredentials yes X11Forwarding no X11DisplayOffset 10 PrintMotd no PrintLastLog yes TCPKeepAlive yes #UseLogin no #MaxStartups 10:30:60 #Banner /etc/issue.net # Allow client to pass locale environment variables AcceptEnv LANG LC_* Subsystem sftp /usr/lib/openssh/sftp-server # Set this to 'yes' to enable PAM authentication, account processing, # and session processing. If this is enabled, PAM authentication will # be allowed through the ChallengeResponseAuthentication and # PasswordAuthentication. Depending on your PAM configuration, # PAM authentication via ChallengeResponseAuthentication may bypass # the setting of "PermitRootLogin without-password". # If you just want the PAM account and session checks to run without # PAM authentication, then enable this but set PasswordAuthentication # and ChallengeResponseAuthentication to 'no'. UsePAM yes PasswordAuthentication no UseDNS no AllowUsers myuser PasswordAuthentication yes UseDNS no AllowUsers myuserForum: Fixing WordPress
In reply to: How to Remove Header Output in between the Nav barsthank you.. I will try to update it soon, but one time I did that and lost my whole site..
Forum: Fixing WordPress
In reply to: How to Remove Header Output in between the Nav barsSwift ( switftthemes.com )
Forum: Plugins
In reply to: [W3 Total Cache] Updating nginx.conf crashing server, what am I missing?yes I restarted it
Forum: Fixing WordPress
In reply to: Godaddy SLOW hostingI just ran Hanoverfashion.com and there are over 1000 domains on that ip! Wow that is just ridiculous GoDaddy..
Forum: Fixing WordPress
In reply to: Godaddy SLOW hostingI had the same problem, GoDaddy was ridiculously slow on their shared plans.. I was getting near 100% bounce rates because people didn’t want to wait for the page to load. Also, it was killing my search engine rankings because Google really cares about speed. If you hook your site up to webmaster tools you can see the time it is taking googlebot to download KB and how that will affect how many pages it indexes. I moved my website to linode.com and now my traffic is way up and my bounce is way down.
I checked out my website on godaddy and there were over 500 domains on the same IP (184.168.192.50) you can check yours here http://www.yougetsignal.com/tools/web-sites-on-web-server/
Hardware is so cheap, you would think they would spend some money on keeping their customers happy…
Forum: Fixing WordPress
In reply to: WP-Super Cache caching is brokenwp-config.php includes the line:
define(‘WP_CACHE’, true);
wp-content/advanced-cache.php reads:
<?php
# WP SUPER CACHE 1.2
function wpcache_broken_message() {
if ( false == strpos( $_SERVER[ ‘REQUEST_URI’ ], ‘wp-admin’ ) )
echo “<!– WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. –>”;
}if ( false == defined( ‘/home/[USER]/public_html/[SITE]/public/wp-content/plugins/wp-super-cache/’ ) ) {
define( ‘ADVANCEDCACHEPROBLEM’, 1 );
} elseif ( !include_once( WPCACHEHOME . ‘/home/[USER]/public_html/[SITE]/public/wp-content/plugins/wp-super-cache/wp-cache-phase1.php’ ) ) {
if ( !@is_file( WPCACHEHOME . ‘/home/[USER]/public_html/[SITE]/public/wp-content/plugins/wp-super-cache/wp-cache-phase1.php’ ) ) {
define( ‘ADVANCEDCACHEPROBLEM’, 1 );
}
}
if ( defined( ‘ADVANCEDCACHEPROBLEM’ ) )
register_shutdown_function( ‘wpcache_broken_message’ );
?>…wp-content/plugins/advanced-cache.php reads:
<?php
# WP SUPER CACHE 1.2
function wpcache_broken_message() {
if ( false == strpos( $_SERVER[ ‘REQUEST_URI’ ], ‘wp-admin’ ) )
echo “<!– WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. –>”;
}if ( false == defined( ‘/home/[USER]/public_html/[SITE]/public/wp-content/plugins/wp-super-cache/’ ) ) {
define( ‘ADVANCEDCACHEPROBLEM’, 1 );
} elseif ( !include_once( WPCACHEHOME . ‘/home/[USER]/public_html/[SITE]/public/wp-content/plugins/wp-super-cache/wp-cache-phase1.php’ ) ) {
if ( !@is_file( WPCACHEHOME . ‘/home/[USER]/public_html/[SITE]/public/wp-content/plugins/wp-super-cache/wp-cache-phase1.php’ ) ) {
define( ‘ADVANCEDCACHEPROBLEM’, 1 );
}
}
if ( defined( ‘ADVANCEDCACHEPROBLEM’ ) )
register_shutdown_function( ‘wpcache_broken_message’ );
?>Forum: Fixing WordPress
In reply to: Error Establishing Database ConnectionI decided to just redeploy and run scripts again with correct username..which was easier..
if you feel like answering I would be curious
Forum: Fixing WordPress
In reply to: how to get a .ico to work with WordPress?I have a favicon.ico file installed in my root and it does not show up..
Yea thanks, I’m asking if you can suggest which one, I’m playing with “Web Directory” right now.