Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 WordPress for Ecommerce Templates
 .htacess causing issues
Author « Topic »  

JustDucky923
Ecommerce Template Guru

USA
1332 Posts

Posted - 11/19/2020 :  07:36:25  
One of my sites: https://www.alkydigger.net/ is having an issue with all of the store pages. The basic site itself is up and running (WordPress); however all of the store pages come with a:

Error 403 - Forbidden

You don't have permission to access the requested resource. Please contact the web site owner for further assistance.

This same thing happened about two weeks ago and one of their IT people got it working by doing the following (here is their email to me):

I got the Alky backoffice working.

Kelly, I reset file and folder permissions under the public_html root folder but it did not get it working. I had to delete the htaccess file completely to
get it back up and running. However, can you double check to see if any of the settings in this file is needed for the site to work properly? If there is a setting or 2 needed, I can recreate the file with the settings that need to be in there.

Here is the syntax of the .htaccess file
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
<FilesMatch ".*\.(phtml|php|PhP|php5|suspected)$">
Order Allow,Deny
Deny from all
</FilesMatch>
<FilesMatch "(index).php$">
Order Allow,Deny
Allow from all
</FilesMatch>

# END WordPress

No changes were made on my end and no updates recently of either WordPress or any plugins.

Can anyone tell me why this would happen and what could be causing it?

Vince
Administrator

42459 Posts

Posted - 11/20/2020 :  02:31:52  
Hi JustDucky
This part is for WordPress...

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

But for this, did you make any changes in the hosting control panel? This looks like auto generated content from something like that.

<FilesMatch ".*\.(phtml|php|PhP|php5|suspected)$">
Order Allow,Deny
Deny from all
</FilesMatch>
<FilesMatch "(index).php$">
Order Allow,Deny
Allow from all
</FilesMatch>

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

JustDucky923
Ecommerce Template Guru

USA
1332 Posts

Posted - 11/20/2020 :  08:12:50  
It appears that the site has been hacked. They have their IT person working on it. They just emailed me and asked me to reset the password the vsadmin, but I have no access to it. I just get the 403 error when I try to visit it. So I tried uploading the password.php file and when I browse to that, I get the same error.

Is there any other way to gain access?

Vince
Administrator

42459 Posts

Posted - 11/20/2020 :  12:23:39  
Hi JustDucky
Sorry to hear that you got hacked but if all these files are throwing a 403 then that will be to do with the permissions that your host has given the files. Can you get in touch with them to sort it out?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000