greyhawk1961
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Replacing old site with new wordpress siteWell, I went ahead and replaced the existing .htaccess file in the root directory with the new one according to instructions.
Nothing but 404 errors.
I tried to reverse everything I did and at least I can see the old TextPattern designed site but can’t find the WordPress installation with the login info.
It’s disappeared.
No clue what to do now…should have just left it for someone who knew what they were doing.Thanks for your assistance folks.
Over and out,
GreyhawkForum: Fixing WordPress
In reply to: Replacing old site with new wordpress siteHello again,
Ok, I’ve created a new subdirectory for all the WordPress files.
I’ve moved all the contents of the WordPress folder into that subdirectory.
Bear in mind that I’ve already designed the site but only saved everything as a ‘draft’.The instructions from Giving WordPress Its Own Directory direct me to create a new ‘.htaccess’ file in the root directory…however there is already an ‘.htaccess’ file in the root directory with the following content:
“# Use PHP54 as default
AddHandler application/x-httpd-php54 .php
<IfModule mod_suphp.c>
suPHP_ConfigPath /opt/php54/lib
</IfModule>”Am I supposed to replace that file with the new one ?
And then, is the final step to publish the new WordPress site ?
Forum: Fixing WordPress
In reply to: Replacing old site with new wordpress siteGreat advice !
Thanks Kit, I would not have thought of that. ??Forum: Fixing WordPress
In reply to: Replacing old site with new wordpress siteThanks Kit…for the clarification and the encouragement.
Your guidance is much appreciated !
I’ll keep you posted.Forum: Fixing WordPress
In reply to: Replacing old site with new wordpress siteHi Kit,
Thank you for explaining that for me.
I guess my concern is: what if I’ve already installed wordpress into the root directory, designed the wordpress site, saved it all as a draft ?
The link that Colin provided gives the following instructions:” Method I (Without URL change)
1) After Installing the wordpress in root folder, move EVERYTHING from root folder into subdirectory.
2) Create a
.htaccess
file in root folder, and put this content inside (just change example.com and my_subdir):<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?example.com$
RewriteCond %{REQUEST_URI} !^/my_subdir/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /my_subdir/$1
RewriteCond %{HTTP_HOST} ^(www.)?example.com$
RewriteRule ^(/)?$ my_subdir/index.php [L]
</IfModule>Do they mean move every folder and file from the root folder, including the old TextPattern files, including the new wordpress folder, to a new subdirectory, leaving nothing in the root folder except for a newly created “.htaccess” file containing the content above ?
Please excuse my ignorance, I just don’t want to do something stupid and render the site unusable, or lose all the work I put into the WordPress version of the site.Thanks !
GreyhawkForum: Fixing WordPress
In reply to: Replacing old site with new wordpress siteThanks for the reply Colin.
Unfortunately I’ve already designed the new site with WordPress which I installed to a WordPress folder within cPanel.
I’ve saved everything that I’ve done in WordPress to a ‘draft’ and have not published it yet.
When you mention installing “WordPress into its own directory”, what exactly do you mean ?Thanks