jon
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Does giving WordPress its own directory add to SECURITY?Top two reasons to put WordPress in a subdirectory:
(1) reduce clutter, and by extension the human errors associated with it, in the root directory;
(2) makes it easy to replace one WordPress installation with another, simply by changing subdirectories.It also helps with security if you don’t name the subdirectory “wordpress” as hacker robots try /wp-admin/ and /wordpress/wp-admin/ first.
In this post, I’m talking about the technique described in “Using a pre-existing subdirectory install” at the link you gave. In other words, the site looks, to the visitor, like it is in the root.
Forum: Fixing WordPress
In reply to: Wipe and Build New – ErrorIt takes up to 72 hours for a domain name change (of Name Servers) to take effect.
That sounds like what you are experiencing. During this 72 hour period, some people around the world see the old site and some see the new.
Forum: Plugins
In reply to: [Multiple Themes] widgets on other themesOne last possibility, but it is only a workaround, so no guarantees that will work. If you are interested in pursuing getting widgets working on secondary themes, you might want to try some of the ideas documented on the plugin’s Settings page, on the Theme Options tab.
Please realize that the information is out of date, but might still provide some useful information.
If all else fails, you can explore Multisite, making the blog a separate Site in a WordPress Network. Each Site can have its own Theme. You would then not need this plugin.
Forum: Plugins
In reply to: [Multiple Themes] Sidebar Not Working on 2nd ThemeI am the original author of the plugin; it has been adopted by David, and he provides Support here.
Off the top, I suspect that you’ll need to switch to a WordPress Network (Multisite) with the blog being a second Site, to get that sidebar.
Although out of date, the Theme Options tab of the plugin’s Settings in the WordPress Admin panels lists some “workarounds” that you may wish to try. For example, if your primary theme does not need a sidebar or other Appearance options (AJAX may also be an issue), you could try the Advanced Setting “Select Theme for Everything”.
Forum: Installing WordPress
In reply to: problem with databaseHave a read here:
http://codex.wordpress.org/Forum_Welcome
As you’ll note, posts in other people’s threads get missed, as yours did.Please start a new thread. I’m sure you’ll get an answer more quickly if you do.
You should also mention the name of your web hosting company. At first glance, it looks like your database name differs from the one you told WordPress during the install.
Forum: Fixing WordPress
In reply to: Issue with Mystile and dropdown menus on 2-in-1 laptopsWoo killed their user forums, so you don’t have a lot of other choices, though the Themes and Templates support forum would have been a better choice for this post.
Forum: Hacks
In reply to: first plugin – how to let admin enter data and display data for usersIn that case, I think that the Settings API will do the job for you a lot easier than having to code Forms and other stuff from scratch in HTML.
Basic Concept of best use of Settings is to have only a handful of Settings, often just One, but each Setting can be a complicated Array of values. In PHP, you can have Arrays of Arrays, so there is no end to the level of Complexity you can create.
The key piece of information I needed was to see if the data would fit in PHP memory, which it obviously will, so Arrays and other PHP variable types are appropriate.
All that said, even the Settings API is going to leave you with a lot of PHP coding to get the job done.
The performance will be top notch, too, as WordPress caches Settings.
Forum: Hacks
In reply to: first plugin – how to let admin enter data and display data for usersObviously, there is some confusion here that can only be clarified with more detail. You say “let the admin of the website using the plugin enter data into the database, then display some of that data for visitors to the website”.
How much data? More details on it.
Small amounts of data favour the Settings API approach. Large amounts of data favour creating your own tables either in the WordPress database or in a separate database.
Forum: Hacks
In reply to: first plugin – how to let admin enter data and display data for usersIf practical, you will want to use the Setting API that WordPress built for plugins:
https://developer.wordpress.org/plugins/settings/settings-api/Values are entered on Admin Panels and can be displayed for visitors to see with Shortcodes or other means.
Forum: Fixing WordPress
In reply to: Issue with Mystile and dropdown menus on 2-in-1 laptopsBecause this is a Theme-related issue, your best answers will come from the support area chosen by the Theme author. This appears to be where you want to be: https://support.woothemes.com/hc/en-us
Forum: Fixing WordPress
In reply to: Build site while main site is liveMy favourite method is described here: https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
Develop in a subfolder of the root, then “Using a pre-existing subdirectory install” to make it look like it resides in the root.
Forum: Fixing WordPress
In reply to: File Directory PathAfter I wrote the last post, I see that we “talked before”.
Now would be a good time to talk about: https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
The concept is to keep all the WordPress files in a subdirectory off the root, to keep the root directory uncluttered.
Forum: Fixing WordPress
In reply to: File Directory PathAll of the questions you ask are web host-dependent. And are not WordPress-specific. You really need to be talking to the support folks for your web server.
The file path, in your case “
/home/companyname/www/www” is arbitrary, in the sense that it has nothing to do with the subdomain www. In fact, I’m willing to bet you big money that http towww.domain.extanddomain.extwill take you to the same place. One web host I used recently had /home/companyname/www/www for the root and www. with /home/companyname/www/people for the people. subdomain.You cannot change the path without making changes to Apache or whatever web server software is being used. i.e. – not recommended, and likely not something you can do yourself.
“Do I clear out the old and move my stuff in the same www directory?” Yes, but read this first: https://codex.wordpress.org/Moving_WordPress
Personally, I prefer to do the move with the Duplicator plugin though it doesn’t work in all situations: https://wordpress.org/plugins/duplicator/Forum: Fixing WordPress
In reply to: Changed URL's in general setting and now nothings working right.Any changes to URL should follow the relevant steps in this documentation: https://codex.wordpress.org/Moving_WordPress
In terms of what you did, I know for a fact that this is wrong:
define('WP_HOME','http://46.32.240.33/ravensnestpainting.com/wp-admin/');
/wp-admin/ is the login URL, and would never be coded as either of those two values.Forum: Fixing WordPress
In reply to: Create copy of existing website on new url with same themeI would suggest Cloning the site with the Duplicator plugin. If that doesn’t work properly, I would try using the Moving WordPress documentation with some careful thought to Copy instead of Move.
Duplicator – https://wordpress.org/plugins/duplicator/
Moving doc. – https://codex.wordpress.org/Moving_WordPressOnce that works, then make your changes.