Jump to content

Recommended Posts

Posted

Hello,

 

Here is my problem. I'm trying to update my site with new code but i don't want anyone to see anything when accessing my site. I renamed index.php so it's not visible and replaced it with my own index.php with the message about site being down. Now i cannot access admin page of my site...

Am I doing something wrong or there is a better way of working with my site in a way that is not visible online?

 

Regards,

Robert

Posted

Why can't you access the admin page to your site? You should be able to enter the full url and access the page. If the full url requires the index.php file you can modify your .htaccess file so that only your IP can access your site temporarily.

 

>order allow,deny
allow from xxx.xxx.xxx.xxx 
deny from all

 

xxx.xxx.xxx.xxx is your IP

 

When you are done, remove those lines from your .htaccess file.

Posted

OK, this is weird...I'm looking at my files with file manager in Cpanel. When I do the search for .htaccess it shows multiple locations, but when I go there I don't see it.

Posted

Edit the .htaccess in the public_html folder that will lock your entire site from being accessed by anyone but you. You need to tell the file manager to show hidden files to be able to edit/access it.

Posted

I blocked everything except my IP and that works fine, but I still cannot access admin page. I'm getting " HTTP 500 internal error" messag.

Maybe I should delete everything under public_html and start from scratch. I have full backup of my site.

Posted

Are you just starting to design your site? There was no site there before? If so, you can delete everything in the public_html folder or you can open a ticket with the help desk and they can reprovision the account for you so it was back to the way it was when you first got it.

Posted

I used to have my Oscommerce website but since the php upgrade my website stopped functioning. I tried to do the upgrade but was not successful. Now I have a mess... I would rather delete everything, reinstall Oscommerce and restore one of my backups.

Posted

Wouldn't restoring your backup overwrite anything new you install?

 

If you are having problems since the conversion please open a ticket with the help desk and maybe the techs can help you sort it out.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...