awsm1th
Forum Replies Created
-
Forum: Plugins
In reply to: Reasonable SSL Login Admin Solution?Just want to say that with a little hacking you can get WordPress to go over secure connecitons for your admin tasks. Based on this method, I was able to set mine up as described here.
Forum: Fixing WordPress
In reply to: Using SSL just for login or admin connections?Just went thru this myself. I posted a resolution here.
It is based off this solution created.
There are some ways that it could be improved, but it should get you there assuming the only difference in the secure and regular paths are in the domains.
Forum: Installing WordPress
In reply to: ssl and get_settings(‘siteurl’)Not sure what version you were using, but in the latest one 2.0.4 you can control this in the admin panel. Under “Options” -> “General” you are looking for the “WordPress address (URI)” and “Blog address (URI)” fields.
Forum: Fixing WordPress
In reply to: SSL with wp-admin/This may be to late for you, but I’ve just posted a resolution that might work for you here.
It is based off this solution created code.
It could use some addition features, but I wanted to get the basic security in place at least. Good luck.
Forum: Plugins
In reply to: Administration over SSLJust went thru this myself. I posted my resolution here.
It is based off this solution created.
Forum: Fixing WordPress
In reply to: Using two domains for secure editing?Think I’ve got a way to do this based on the notes from this page.
Here’s a line by line of what I did.I have two domains setup with the following docRoots:
http://www.example.com/
/home/me/public_htmlhttps://secure.example.com/
/home/me/secure_htmlwordpress is installed in:
/home/me/public_html/wordpressFirst step is to create a symbolic link to wordpress inside the scure_html with the command: “ln -s /home/me/secure_html/wordpress /home/me/public_html/wordpress”
With the symbolic link you only have to make changes to files, templates, whatever in one place and they will appear on both the regular and secure versions of you blog.
Next step is to edit the “wp_config.php” file. The way I did it was to add the following lines just below the “require_once(ABSPATH.’wp-settings.php’);” line.
//START SECURE CONFIG HACK
wp_cache_set(“siteurl_secure”, “https://secure.example.com/wordpress/”, “options”);wp_cache_set(“home”, $_SERVER[“HTTPS”]?”https://secure.example.com/wordpress/” : “http://www.example.com/blog/”, “options”);
wp_cache_set(“siteurl”, get_settings(“home”), “options”);
// END SECURE CONFIG HACKThis tells word press that if you are accessing it from a secure page to stay with a secure page.
For the edit to the “wp-login.php” file, I did it a slightly different way than the “noctis.de” example. The first thing in wp-login.php is:
require( dirname(__FILE__) . ‘/wp-config.php’ );
Directly below this I added:
// START
if( !$_SERVER[‘HTTPS’]) {
header(“Location: ” . get_settings(‘siteurl_secure’) . “wp-login.php”);
}
// ENDThis way, whenever the login page is called a check is made to ensure that you are on the secure domin. If not, you are redirected there automatically.
Anyways, after just a little testing this seems to be working for me. Good luck, and hopefully this type of functionality will get added into the WordPress core soon.
Forum: Fixing WordPress
In reply to: Using two domains for secure editing?I’m giving this a try on a test blog and the issue that moshu pointed out was causing an issue. I could get to the blog and any individual page with the secure https://secure.example.com/ link, but every time I tried to navigate to another location it would roll back to the regular http://www.example.com/ domain.
Just to see what would happen I changed the Admin -> Options -> General -> WordPress address (URI) value to a relative link (“/test-blog”) instead of a full URI (“http://www.example.com/test-blog”) and everything seems to work.
It’s still an open question though. Does someone with more knowledge about the inner workings of WordPress know if this is going to come back to bite me?
Forum: Fixing WordPress
In reply to: WordPress Spam?I ran into this in my themes with WordPress (1.5.2). Running a grep thru my entire web directory I discovered that the custom themes for my blogs were both set to 777 for all the .php pages.
I’ve setup two blogs and they both had the same issue. I don’t remember setting up the custom themes but I may have. If they are part of the inital WordPress install, this should probalby be addressed.