doug123x
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress Release UpdatesThank you for the link. I’ve read it over, but my original question still remains.
I recognize the value in performing updates, but is there no risk of these breaking the site? In that regard, I am surprised that they are turned on automatically. Should I be performing these updates in a development environment and then migrating to production?
Forum: Installing WordPress
In reply to: WordPress Development EnvironmentI should have done this much earlier on – however – renaming index.php to bob.php causes the wordpress site to appear and the default.htm to be left alone happily.
I think this confirms the post provided by govpatel.
Thank you.
Forum: Installing WordPress
In reply to: WordPress Development EnvironmentI’m going to follow the code through and see what happens. Seems like it’s the wordpress engine that loads the default.htm file
Index.php code (pretty basic)
<?php
/**
* Front to the WordPress application. This file doesn’t do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*//**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define(‘WP_USE_THEMES’, true);/** Loads the WordPress Environment and Template */
require(‘./wp-blog-header.php’);
?>Forum: Installing WordPress
In reply to: WordPress Development EnvironmentThis is what I had originally thought, because for example the current index.php could be renamed bob.php and it shouldn’t redirect.
Here is the site – this may help:
https://www.keystonemasonry.com/default.htm which is the same as https://www.keystonemasonry.com
and
https://www.keystonemasonry.com/index.php (wordpress)
Note the strange redirection.
If I delete default.htm – the wordpress site kicks in and life is good.
Forum: Installing WordPress
In reply to: WordPress Development EnvironmentAh, I see now.
ok – great info, I’ll do some digging.
Thank you.
Forum: Installing WordPress
In reply to: WordPress Development Environmentok, will look into the ht access –
Thank you for your help everyone!
Forum: Installing WordPress
In reply to: WordPress Development EnvironmentThank you for the response.
My apologies if I did not articulate this very well, but the issue I have is that:
https://www.somedomain.com/index.php for some reason redirects to https://www.somedomain.com/index.htm (default.htm)
I looked at the code in the wordpress index.php and don’t see why this is redirecting.? When I visit index.php I expected this to load the wordpress site. When I visit index.htm (which is the default), I expect the static html page to load.
Forum: Installing WordPress
In reply to: WordPress Development EnvironmentThank you for the replies guys.
I’ve already setup WordPress in the root of my web-site.
Why cannot I not do the following? (aside from the issue I am having with the index.php redirecting to the index.htm which I do not understand.)
https://www.somedomain.com/index.php(and view the wordpress site during development)
https://www.somedomain.com/index.htm(what the visitors see, until I remove it, afterwhich index.php takes over and wordpress becomes live)I am not concerned about security (i.e., if someone purposely wanted to see the “development” site.)
Forum: Installing WordPress
In reply to: WordPress Development EnvironmentAnyone? Surely this request can’t be that unique.
Forum: Installing WordPress
In reply to: WordPress Development EnvironmentJust tried a permalink and it doesn’t bring up the WordPress blog.
https://www.sampledomain.com/?p=123I don’t want the wordpress blog to load when someone hits the site – at least not now. I want to build the site & test the site using a “private” address and then when I am ready to go live, flip the switch. (which in this case is simply removing default.htm – afterwhich the wordpress site loads)
Thank you for your input.