Making my new site active

Open to all! Ask other shopowners for help.
Post Reply
User avatar
Portman
Contributor
Posts: 158
Joined: Mon Mar 08, 2021 1:04 am
Phoenix Version: v1.0.8.20
Has thanked: 29 times
Been thanked: 4 times

Making my new site active

Post 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?


Join The Code Co-op to get access to your library in the Code Co-op Forum
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: Making my new site active

Post by heatherbell »

Portman wrote: Fri Jul 12, 2024 2:26 amtest that everything is working?
Maybe try https://phoenixcart.org/phoenixcartwiki ... m_Visitors
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Has thanked: 70 times
Been thanked: 152 times

Re: Making my new site active

Post by raiwa »

Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
Xpajun
Contributor
Posts: 187
Joined: Thu Mar 04, 2021 1:18 pm
Phoenix Version: v1.0.9.0
Has thanked: 3 times
Been thanked: 6 times

Re: Making my new site active

Post 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
Current Store is now running 1.0.9.0 - php 8.2.18
Now working on taking a short rest :D - php 8.2.18
14Steve14
Senior Contributor
Posts: 922
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 times

Re: Making my new site active

Post 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.
User avatar
Portman
Contributor
Posts: 158
Joined: Mon Mar 08, 2021 1:04 am
Phoenix Version: v1.0.8.20
Has thanked: 29 times
Been thanked: 4 times

Re: Making my new site active

Post 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.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply