We use cookies
This site uses cookies from cmlabs to deliver and enhance the quality of its services and to analyze traffic..
SEO SERVICES
Conduct in-depth technical website audits, strategically develop website projections, and increase your website authority.
ASO SERVICES
Elevate Your App’s Presence with Our Expert ASO Services – Boost Visibility and Drive Downloads!
WRITING SERVICES
We offer a variety of writing services to suit different business necessities. Reach broader audiences or lead specific industries? We've got you covered!
Successful political campaigns begin with an effective SEO strategy for an optimized result in search engines
SEOlutions
A unified source of truth!
SEO & Digital Maternity Solution
SEO & Digital Maternity Solution: Leverage Cross-Platform Insights to Elevate Your Strategy with Expert Consultation
SEO & Digital Maternity Solution
Data Solution options:
Starting from Rp200 mio
Reinventing how a company get creative treatments
A new way to get your creative needs done. Agile team, efficient cost, and expedient way in a flexible yet scalable subscription plan!
Creative-as-a-Services
CaaS package options:
Based on Subscription
Pioneer in digital marketing software powerhouse
We’re excited to unveil our new range of Tech Solutions designed to drive your digital success. Whether you’re looking to enhance your website’s performance, streamline your tech stack, or unlock deeper insights from your data, we’ve got you covered.
Starting from Rp250 mio
Our Clients
Research and innovation center for digital transformation
Digital marketing combines technical skills and business knowledge at every stage. For marketing teams, improving budget management efficiency is crucial, as time is an invaluable resource that should be used wisely. At Sequence, we are dedicated to empowering you to optimize efficiency and strategic planning, ultimately enhancing the impact of your digital marketing efforts.
Subscription-based (IDR1,800/keyword)
Our Clients
BeyondSEO
References
SEO Tools for Webmasters
SEO Tools for Writers
SEO Tools
FIND THE SUITABLE PARTNERSHIP FOR YOUR COMPANY
Check out which cmlabs partnership program suits your company
WHITE LABEL SEO
for CorporateYour company is granted exclusive partnership rights to provide SEO services to our important clients, and we will provide a dedicated backend team to support your efforts.
AFFILIATE PROGRAM
for BizdevA new affiliate program is being introduced for skilled marketers and individuals with strong networks, offering commissions of up to 7% for generating profits independently.
DIGITAL AGENCY
for Marketing Partnerscmlabs is an essential partner for digital agencies, providing a unique selling proposition in Search Engine Optimization (SEO).
BACKLINK PARTNERSHIP
for Media / BloggerWe have a vast database of bloggers and media outlets across Indonesia, categorized by region and media type, giving our clients an edge in managing their media and SEO activities.
OFFICIAL TRAINING
We provide ongoing professional development and support to SEO professionals to ensure they are equipped to meet market demands.
JOIN AS CONTRIBUTOR
for Content WriterGreat opportunity for SEO Writers around the world. T&C applied!
ACADEMIC PARTNERSHIP
Through partnerships with universities in Indonesia, cmlabs has helped align academic curricula with industry demands.
Partnership
Sector & Industries
Tell us your SEO needs, our marketing team will help you find the best solution
As an alternative, you can schedule a conference call with our team
Schedule a Meeting?Contact
In accordance with the established principles of marketing discourse, I would like to inquire as to your perspective on the impact of SEO marketing strategies in facilitating the expansion of enterprises in relation to your virtual existence.
By continuing, you agree PT CMLABS INDONESIA DIGITAL uses your answers, account & system info to improve services, per our Privacy Policy
Survey
Cart
We use cookies
This site uses cookies from cmlabs to deliver and enhance the quality of its services and to analyze traffic..
Last updated: Aug 25, 2023
The .htaccess file is a configuration file used to manage the Apache web server. This file is a simple text file written in ASCII format.
Using the .htaccess file, you can set the server configuration for specific directories such as the site's root directory or subdirectories created to enable and disable the functionality of a running website.
The .htaccess file has several important functions for websites, ranging from configuring user permissions, handling errors, resetting URLs, redirecting certain URLs, and so on. The .htaccess function is as follows:
If you want to change the page you want to load first, then you can change the default homepage configuration via the .htaccess file. For example, when you want to change the start page from index.html to homepage.html, then you can change the homepage configuration using the following code:
DirectoryIndex homepage.html
You can also add multiple files in this configuration, so that if the web server doesn't find the file, it checks for the next file.
DirectoryIndex index.html homepage.html config.php
One of the functions of the .htaccess file is that it allows you to block certain IPs or IP ranges from visiting your website. To implement this function, you need to add the following commands in the .htaccess file.
Reject Specific IP
Using the following command, you can block any IP address you want. Just add the following command line in your configuration file.
Order Deny,Allow
Deny from 192.168.2.110
//code 192.168.2.110 is specific IPv4 address that being rejected
Reject IP List
You can also reject multiple IP addresses at once, the method is similar to the previous command. However, you need to create a list of IPs that you want to reject as follows:
Order Deny,Allow
Deny from 192.168.2.110
Deny from 192.120.120.120
Blocking Certain Domains
If you want to block a certain domain (eg domain_example.com) from accessing your website, then you can apply the command below. With this setting, websites linking to your web page will display a 403 - forbidden error when someone clicks on your URL via that domain.
SetEnvIfNoCase Referer “domain_example.com” bad_referer
Order Allow,Deny
Allow From ALL
Deny from env=bad_referer
Blocking or Allowing IP Ranges
You can also block or allow certain ranges of IP addresses that try to access your web pages. Notice the line of code that you can add in the following configuration file:
Order Deny, Allow
//command to block IP ranges, asterisk (*) represents all IP octets
Deny from 192.168.*.*
//command to allow IP range
Allow from all
The function of .htaccess is to help web owners give authority to anyone who has the right to access folders from a website. For example, setting a difference in access rights owned by visitors, website admins, and others. This aims to maintain the security of important files on the website, the commands that can be used are IndexIgnore */*, and others.
When the website is under maintenance, you can set a page redirect via the .htaccess file. In addition, you can also apply redirect practices to increase traffic to the desired web page. The commands that can be used are:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www.yourdomain.com [NC]
RewriteRule ^(.*)$ http://newdomain.com/$1 [L,R=301,NC]
Or you can use the following simpler code:
Redirect 301 /home/html/web/index.html https://www.domainbaru.com/home.html
What's unique about the .htaccess function is that it lets you create custom error pages. This may be necessary under certain conditions, for example when the website is under maintenance or other things. You can simply define your error page in the configuration file.
A number of error messages that may occur are 400 - Bad Request, 401 - Authorization Required, 403 - Forbidden, 404 - Not Found, 500 - Internal Server Error, and others. By creating an error page, you can show the professionalism of the web owner in dealing with website problems. Sample code you can use:
//Redirect error page with HTML file
ErrorDocument 403 /403.html
// Redirect error page with PHP file
ErrorDocument 404 /error.php?q=404
One of the functions of .htaccess is to support the authentication process on web pages, you can protect your directory by adding a username and password to access it. The code you can add to the .htaccess file is as follows:
AuthName “Your Folder”
AuthUserFile /path/to/password/file/.htpasswd
AuthType Basic
require valid-user
The first line is a command that tells the Apache web server that the website directory you want to password-protect is “Your folders”. The second line shows the directory where you saved the folder.
Then, the next line is the type of authentication you want to use, in the code above the type used is basic HTTP authentication. Whereas the last line is a command saying that you need valid credentials to access the directory.
WDYT, you like my article?
Couldn't find result for "Mulki" try to search with different keyword
Suggestion:
Free on all Chromium-based web browsers
Tell us your SEO needs, our marketing team will help you find the best solution
As an alternative, you can schedule a conference call with our team
Schedule a Meeting?In accordance with the established principles of marketing discourse, I would like to inquire as to your perspective on the impact of SEO marketing strategies in facilitating the expansion of enterprises in relation to your virtual existence.
By continuing, you agree PT CMLABS INDONESIA DIGITAL uses your answers, account & system info to improve services, per our Privacy Policy
In accordance with the established principles of marketing discourse, I would like to inquire as to your perspective on the impact of SEO marketing strategies in facilitating the expansion of enterprises in relation to your virtual existence.
By continuing, you agree PT CMLABS INDONESIA DIGITAL uses your answers, account & system info to improve services, per our Privacy Policy
Tools for SEO Specialists, Writers & Web Developers
Exclusively for cmlabs Members
Unlimited crawl on SEO Tools
Unlimited crawl on SEO Tools
Full access to SEO guideline and terms
Learn more about SEO at cmlabs resources
cmlabs is strive to help enterprises to step up their SEO activities. We called it end-to-end SEO through the product, tools and services (consist of SEO Consultant, SEO Content Writing, and Media Buying). Aside of that, cmlabs still have SEO tools that is designed for webmaster and writer to fulfill their needs. Here are several free access SEO Tools for you!
cmlabs Jakarta Jl. Pluit Kencana Raya No.63, Pluit, Penjaringan, Jakarta Utara, DKI Jakarta, 14450, Indonesia
(+62) 21-666-04470These strategic alliances allow us to offer our clients a wider range of SEO innovative solutions and exceptional service.
Psst! Hey there, SEO Stats and Tools SEO company! If you've ever planned of conquering the United States market, you've come to the right place!
These strategic alliances allow us to offer our clients a wider range of SEO innovative solutions and exceptional service.
Psst! Hey there, SEO Stats and Tools SEO company! If you've ever planned of conquering the United States market, you've come to the right place!