You have created a free account with us, added a domain and created a website. However, one or more of your pages return a 403 error and you can find out what the problem is. In this article, we will talk about what is causing it and how to fix it.
What is causing the error?
The most common reason for the 403 error on the free plan is our content filtering. Due to a high number of abuses conducted on our free hosting servers, we have enabled automatic content filtering. This is stated in our Terms of Services as well:
5. Your responsibilities
g. YOU acknowledge and agree that based on its sole discretion awardspace.com might filter abusive words and/or links due to security reasons (i.e. words or links of PayPal, eBay, AOL, Amazon [not limited to]).
As such, your page is most likely containing one of the forbidden words in our list.
The second reason for having a 403 error is when the directory for your domain/subdomain is deleted.
How to fix the error if your domain/subdomain directory is deleted?
First, you will have to go to your File Manager and check if the domain/subdomain directory is there. The name of your directory should match your domain/subdomain name. If the directory is missing you have to recreate it. This can be done either through the File Manager or the Domain Manager.
If you are not sure how to work with our File Manager you can check our tutorial here.
If recreating the directory does not resolve the problem please check if the pointer for the domain/subdomain is set correctly. You can do this from the Domain Manager > Settings > Pointers and check if the Hosting Path (Local) is the correct directory and click Save Path.
How to fix the error if your page contains a forbidden string?
If you experience this issue, you must first contact our technical support team and they will notify you what are the forbidden strings on your pages. You can contact the technical support team by opening a Trouble Ticket or sending us an email to firstname.lastname@example.org.
You can refer to our article for our Trouble Ticket section if you need help with submitting your ticket.
Now that you know what are the forbidden strings you will have to go through the code of your website and remove it from there. There are couple of ways that can be used for editing your code and removing the strings.
- Editing your pages via the File Manager
- Editing your page locally on your device and then uploading it again
Once the forbidden string(s) is removed the 403 error will be automatically resolved. Be advised that this method would work only for websites, which store their content inside a file.
If your website content is stored inside your database, you will have to search for the forbidden string inside the database. We will review how this is done further in this article.
Note: Make sure to use the Find option for your browser or your local text-editing tool when searching for the forbidden string.
How to search and remove a forbidden string inside a database?
As mentioned above, some websites store their content inside a database. A similar website would be one built with WordPress. To search and remove the forbidden string inside a database follow the steps bellow:
- Open your Database Manager
- Open the phpMyAdmin for your website database
- Once inside the phpMyAdmin click on the Search tab
- Inside the search tab enter the string which you would like to find
- Then select the tables in which you would like to search (If you are not sure you can select all tables)
- Click Go
- The phpMyAdmin will return result of the tables and the data that contains the forbidden string
- Edit the role that contains the string and remove it
- Once you have done that the 403 error will be resolved
Can I remove the content filtering for my account?
As every other restriction on our free hosting plan in order to remove it, you will have to upgrade to one of our paid hosting plans. Once the order is approved and your hosting plan is upgraded your website will start working.