Page 1 of 1
Making my new site active
Posted: Fri Jul 12, 2024 2:26 am
by Portman
Hi,
I am currently in the process of migrating my new site from the dev site my active site.
I am trying to upload phoenix to the root folder (my old versions of oscommerce was in a sub folder).
I had set up an 'Under Maintanance' page as index.htm and had hoped to changed index.php of phoenix to index2.php but this gave me an error.
Is there a work around for this so I can keep the maintanance page up - install phoenix in root and test that everything is working?
Re: Making my new site active
Posted: Fri Jul 12, 2024 3:12 am
by heatherbell
Portman wrote: ↑Fri Jul 12, 2024 2:26 amtest that everything is working?
Maybe try
https://phoenixcart.org/phoenixcartwiki ... m_Visitors
Re: Making my new site active
Posted: Fri Jul 12, 2024 4:06 am
by raiwa
Re: Making my new site active
Posted: Sun Jul 14, 2024 10:30 am
by Xpajun
Portman wrote: ↑Fri Jul 12, 2024 2:26 am
Hi,
I am currently in the process of migrating my new site from the dev site my active site.
I am trying to upload phoenix to the root folder (my old versions of oscommerce was in a sub folder).
I had set up an 'Under Maintanance' page as index.htm and had hoped to changed index.php of phoenix to index2.php but this gave me an error.
Is there a work around for this so I can keep the maintanance page up - install phoenix in root and test that everything is working?
Going back 18 odd years I changed all my osc (as it was then) files to my root directory, then found it made such a mess, especially as I had other non related directories there as well.
The upshot was I soon changed them back and used a rewrite in the .htaccess file in the public_html directory as follows:
Code: Select all
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yourstorename\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.yourstorename\.com$
RewriteRule ^/?$ "https\:\/\/yourstorename\.com\/yourcurrentdirectory1" [R=301,L]
change 'yourstorename' and 'com' to suit your URL and 'yourcurrentdirectory' to suit your store directory
Re: Making my new site active
Posted: Sun Jul 14, 2024 11:06 am
by 14Steve14
When we recently updated our website we used Raiwa's store mode addon. All we had to do was to add the module to both the current store and the test store.
Once the live store was turned off, make sure that you have your IP address added, and make sure that in both stores everything is working as it should and not allowing access to others. We tested using a mobile device using mobile data so the IP was different.
Then delete all the files from the original store apart from the Htaccess file and the maintenance.php page that is in the root file.
Upload all the new files to the root and after what ever testing you need to do, turn the site live again from within the admin of the new, now live site.
It worked for us and was probably the easiest way to do it.
Re: Making my new site active
Posted: Mon Jul 15, 2024 5:52 am
by Portman
Thanks everyone,
I tried a number of these responses and had limited luck with them, In the end I just locked down the site completely and did the work I needed to do, not the most eligant way to do it, but the amount of time I spent trying to find a solution took away from the time of my launch, so I just bit the bullet.