403 error when installing frontpage extension

mychoicegames

Member
Jun 28, 2010
11
0
51
I have no knowledge around this kind of technical stuff in cpanel. My friend hosts my site and I had no idea what this feature did. So what I did was went into frontpage extensions. Then I clicked install extensions when my site was already on there. I am really stupid about this stuff and I need to know how to restore the site back before my friend comes back out of town.
 

Infopro

Well-Known Member
May 20, 2003
17,091
516
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Have you tried going back into your cPanel account, back to the Frontpage Extensions section and remove from there?


What has probably gone wrong is your htaccess file got hosed. This warning pretty much says that:

Warning: Installing or uninstalling FrontPage extensions will result in the loss of all ".htaccess" files. Any changes you have made to your ".htaccess" files will be lost. Any directories you have protected with WebProtect will become unprotected until you re-protect them.
Easy way to find out, rename the .htaccess file in the public_html directory to .htaccess.bak and the try to open your webpage.
 

Infopro

Well-Known Member
May 20, 2003
17,091
516
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Is there a way to restore that file?
Possibly, but you'd need to download a backup, open it locally and find the file in the root of the account. If backups have run since the file was overwritten it might not be worth saving though.

Or, if for example this was a joomla site using short URLs, you might be able to simply download joomla again from joomla.org and grab the .htaccess file from it and upload to your server.

GL
 

mychoicegames

Member
Jun 28, 2010
11
0
51
I do have a back up from February which with all the .htaccess files I believe which one will I need to restore?
 

Infopro

Well-Known Member
May 20, 2003
17,091
516
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
If the website in trouble is located at yourdomain.com, then the .htaccess file you want to replace would be located in the public_html directory of the backup.

If the website is for example installed in an addon domain, you would find the htaccess file here: /public_html/addondomainname/

Just to be sure you've got yourself covered, do not simply overwrite the htaccess file, rename the one on the server to preserve it in case it's needed later for reference. ;)


GL!
 

mychoicegames

Member
Jun 28, 2010
11
0
51
I thought I had the back up file, but it seems to me that I don't. I did a back up guess I overrighted the file that I needed. Is there any way to fix the site. Everything to my site appears to be a broken link. If thats what you call them.
 

Miraenda

Well-Known Member
Jul 28, 2004
243
5
168
Coralville, Iowa USA
cPanel Access Level
Root Administrator
What type of a site is it? If it is WordPress or Joomla and you let us know what exact type of site, we can try to provide an example .htaccess file it might have used. Otherwise, you may want to contact the host to ask them if they have a backup with the .htaccess in it (and do it quickly before their backup doesn't have the right copy either).

Of note, before making any changes to any account, you should always make a backup right before.
 

mychoicegames

Member
Jun 28, 2010
11
0
51
As far as I can see no.

I chatted with someone who kinda knows this stuff and this is what he said

so basically what happens is all of your links direct to things such as /playstation.html this would be find but the location of the file isnt there it is actually at index.php/playstation.html The thing is, I don't know how to fix it.
 

Infopro

Well-Known Member
May 20, 2003
17,091
516
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
As far as I can see no.
I'm not sure I understand. Can you download the full package again from their website and have a look in the main directory for a default .htaccess or an .htaccess.txt possibly?

I don't use magento and have no account there to download it, but you do I'm assuming. With that default file you might get going again.

Or, you might check your admin panel and try disabling short URLs.


I chatted with someone who kinda knows this stuff and this is what he said

so basically what happens is all of your links direct to things such as /playstation.html this would be find but the location of the file isnt there it is actually at index.php/playstation.html The thing is, I don't know how to fix it.
If this comment is accurate, it would seem to me the short URLs are working, but are configured wrong somehow.


Either way, magento forums might be your best hope here. This doesn't seem to be a problem with your cPanel installation.

GL!