Such problems occur much more often. In particular, if the site was moved from the web developer's local server to the hosting, as happened with the Virtue Mart platform. It systematically experiences problems when clicking the "Buy" button.
Error 403 when loading the page
However, instead of a page with order travel agency email list details, the user sees a 403 error. It is unlikely that he will think about what to do, he will simply make a purchase in another store. Therefore, in the field of online trade, such problems are simply an unaffordable luxury.
Access denials to individual pages of the site are caused by incorrect settings specified in the root of the site. To manage the rights required to open the resource, the CHMOD program is used, which has a user-friendly interface. There are three levels of access to each directory and any file on the site:
site owner or superuser;
group of trusted persons (administrators);
site visitors.
Using the CHMOD program, you can set the actions that certain users are allowed to perform on pages and folders:
read – indicated by the number 7 or the letter “r”;
edit (change) – number 7 or letter “w”;
to perform – number 7 or letter “x”.
If a file has been assigned access rights 777 (in letter code: rwx–rwx–rwx), this means that any Internet user can perform actions with it on par with the site owner – change, delete, edit data.
How to create a selling price list so that customers will prefer you over your competitors.
The most common access mode is 755 (in letter notation: rwx–rx–rx). This means that only the superuser can edit the file, while administrators and site visitors can only read and execute it. The letter "w" for the superuser allows him to get unlimited access to the site. The "r" sign, if it is missing from the owner's set of rights, will deprive even him of access to the site. And without the "x" mode, no visitor will be able to place an order and will see a browser error 403, as in the case of the above-mentioned Virtue Mart.
In the CHMOD program, all folders and files are presented in the form of a table. To change the access mode, just click on the corresponding cell next to the name. If you don't know which mode to choose, specify 755, it is suitable for most cases.
Download a free selection of tools for calculating KPIs and increasing marketing metrics
Alexander Kuleshov
Alexander Kuleshov
General Director of Sales Generator LLC
Read more posts on my personal blog:
Over the past 7 years, we have conducted over 23,000 comprehensive website audits and I have learned that all of us as leaders need clear and working algorithms for our marketing and sales.
Today we will share with you 6 of the most valuable documents that we have developed for our clients.
Download for free and implement today:
Step-by-step guide to creating marketing KPIs
Template for calculating KPIs for a marketer
9 Examples of Universal Selling Commercial Proposals
Upgrade your CPs to close more deals
How to make KPI for the sales department so that profits grow by 20% or more?
Step-by-step template for calculating KPIs for OP managers
Checklist of 12 main indicators for website promotion
Find out what metrics are needed to properly optimize your website
40 Services for Working with Blog Content
We have collected the best services for working with content
How to define your target audience without mistakes?
A proven guide to defining a company's target audience
Download the collection for free
pdf 8.3 mb
doc 3.4 mb
Already downloaded
153438
We provoke 403 ourselves
We have found out what error 403 means. Now let's figure out how to reproduce it ourselves. For example, you want to restrict access to a user or a group of users based on one or another criterion. The .htaccess file will help with this. In the standard Joomla CMS distribution, it is called htaccess.txt. Assign a new name to it by putting a period at the beginning of the title. You can also use the Notepad ++ program, in which you need to write the following:
We provoke 403 ourselves
This command will restrict access to the file for all users whose IP differs from the specified one. As you remember, the Internet protocol of most users is dynamic, so restrictions should be specified in the Deny directive. Fill the third and fourth groups of digits in the IP address with zeros. You can block users from a specific country. For example, if you specify 81.4.0.0/14, then all users whose Internet protocol begins with 81.4 will not be able to access the resource; the number 14 after the slash indicates blocking.
Browser says "Error 403" when user tries to load a specific page
-
- Posts: 274
- Joined: Mon Dec 23, 2024 3:51 am