GuideWeb development
How to Create a Business Website in Morocco: The Complete Guide (2026)
Learn how to create a business website in Morocco: plan it, pick languages, domain and hosting, speed, CMI payments, Law 09-08 and SEO, step by step.
Read the guide
Most Moroccan customers look you up online before they call, walk in or place an order. If they can’t find you, or what they find is slow, outdated or confusing, they move on to the next name in the results.
This guide shows you how to build a business website in Morocco that does the opposite: it gets found, loads fast, earns trust and turns visitors into calls, bookings and orders.
It’s written for Moroccan business owners and managers: restaurant owners, clinic directors, shop owners, consultants, agencies. You don’t need to be technical. You do need to make a handful of good decisions, and this guide tells you which ones matter.
We build websites for a living at OneK, a software studio in Tangier. Everything below comes from that daily work, backed by public sources wherever a number is involved.
In this guide you’ll learn:
- Why a website still beats a social media page alone for a Moroccan business
- How to decide what your website must do before you spend anything
- How to handle French, Arabic and English without a mess
- How to pick a domain, hosting and basic security
- How to design pages and write content that convert visitors
- How to make your site fast, and why speed costs you customers when you don’t
- How online payments work in Morocco, from CMI to multi-currency
- What Law 09-08 and the CNDP expect from you
- How to get found on Google and launch without embarrassing surprises
Let’s start with the market you’re selling into. Morocco is online.
35.3M
internet users in Morocco (Jan 2025)[1]
92.2%
of the population online[1]
21.3M
social media user identities[1]
The audience is already there
Morocco counted 35.3 million internet users at the start of 2025, which is 92.2% internet penetration.[1] Your customers are not a niche online segment. They are nearly everyone.
Social media is huge too: 21.3 million active social media user identities, equal to 55.5% of the population in January 2025.[1] Note the wording: these are identities, not necessarily unique people, because one person can hold several accounts.
Social media is not a website
An Instagram or Facebook page is useful. But you rent it. The platform controls the layout, the reach and the rules, and it can change any of them overnight.
A website is the one place you own. Here’s what it gives you that a social page can’t:
- Search visibility. People type “dentist near me” or “restaurant in Tangier” into Google, not into your Instagram bio.
- Credibility. A real domain, clear contact details and proper pages signal a serious business.
- Control. You decide the message, the structure, the offers and the conversion path.
- Data. You learn which pages people read, where they drop off and what they search for.
- Sales. You can take bookings, quote requests and payments without a chat thread that gets lost.
What this looks like in practice
Picture a restaurant in Tangier. A tourist searches for dinner, finds the menu on Instagram, then can’t tell if the place is open, where to park or whether it takes reservations.
Now picture a website with the menu, opening hours, a map, a reservation button and a WhatsApp link. That’s the difference between a browsing visitor and a table booked.
Or take a clinic in Rabat. New patients want to see the doctors, the specialties, the address and a way to book. A website answers all four before the phone rings.
OneK built drmahtategyneco.ma for a gynecologist in Kénitra along those lines: a clear presentation of the practice and an easy way to get in touch.
Most failed websites fail before a single page is designed. The owner never decided what the site was for.
Planning is the cheapest part of the project and the one that saves the most money later.
Start with the job, not the design
Ask one question: what should a visitor do on this site? Call you? Book a visit? Buy a product? Request a quote?
Your answer determines the type of site you need.
- Showcase
Present your business, services and contact details so people trust you and get in touch.
Brochure website
- Sell online
List products, take orders and accept card payments with delivery or pickup options.
E-commerce store
- Run a service
Handle logins, bookings, dashboards or workflows that go beyond simple pages.
Custom web app
The three common types
Brochure website. A handful of pages: home, services, about, contact. This fits a consultant, a law firm, a small clinic or a local restaurant.
E-commerce store. A catalog, a cart, a checkout and payment. This fits a shop in Casablanca that wants to sell beyond its neighborhood. OneK worked on maisonrimal.com, a fashion e-commerce site, which is the kind of project where product pages, speed and checkout matter most.
Custom web app. Anything with accounts, bookings, dashboards or business logic. A training center with student portals is a good example.
If you aren’t sure which one you need, start smaller. You can always add a store or a booking module later if the foundation is solid.
Plan your pages and your goals
Write down the pages you need and the single action each page should push.
For a restaurant in Tangier it might look like this:
- Home: who you are, a hero photo, a reserve button
- Menu: dishes, categories, dietary notes
- Gallery: the room, the food, the terrace
- Contact: map, hours, phone, WhatsApp
For a clinic in Rabat:
- Home: the practice in a sentence and a booking button
- Doctors and specialties: one section per doctor or service
- Practical info: address, access, opening hours, what to bring
- Contact and booking: a short form and a phone number
Your planning steps
Define the goal
Write one sentence: what should a visitor do, and how will you know it worked?
Know your visitor
Describe who searches for you, what they ask, which language they use and which device.
List the pages
Keep only pages that help the goal. Every extra page is more to write, translate and maintain.
Collect your content
Gather logo, photos, prices, descriptions and testimonials before design starts, not after.
Set the scope and owner
Decide what is in version one and who on your side approves decisions and answers questions.
Budget and timeline: be honest about the variables
We won’t quote you a number here, because cost depends on scope: the number of pages, languages, features, integrations and how much content you can supply.
What we can say is where budgets go wrong. Unclear scope, late content and endless revisions cost more than any feature.
Ask every provider what’s included, what isn’t, who owns the code and the domain, and what happens after launch. If you’re hiring a design partner, read our guide to choosing a UI/UX agency first.
Language is one of the biggest decisions on a Moroccan website, and one of the most often botched.
Your customers use French, Arabic and English, sometimes in the same conversation. The right mix depends on who you serve.
Match language to audience
Don’t translate everything out of habit. Choose languages based on who actually buys.
- A clinic in Rabat serving local patients will likely need French and Arabic.
- A restaurant in Tangier with tourist traffic will likely add English.
- A shop in Casablanca selling to a broad local market should consider French and Arabic first.
- A B2B service targeting foreign clients may lead with English or French.
Start with the language your best customers actually use when they contact you. Look at your WhatsApp messages and emails. They tell you more than any guess.
Arabic needs a right-to-left layout
Arabic reads right to left. That isn’t just text alignment. The whole layout mirrors: menus, buttons, icons that point a direction, form labels, even the order of steps.
A site that drops Arabic text into a left-to-right design looks broken to an Arabic reader. Ask your developer how they handle right-to-left layouts, fonts and mixed-direction content before you commit.
Use separate URLs for each language
Here’s the technical rule that matters for Google. For multilingual sites, use separate URLs per language and add hreflang annotations.[8]
In practice, that means something like this:
/fr/for French pages/ar/for Arabic pages/en/for English pages
Hreflang tells Google which version belongs to which audience, so a French speaker lands on the French page and an Arabic speaker on the Arabic one.
Avoid showing different languages on the same URL based on a button or a cookie. Search engines can’t reliably index what only appears after a click.
These are the foundations. They’re not exciting, but a mistake here can lock you out of your own business name.
.ma, .com or both
The .ma domain is Morocco’s country-code domain, managed by ANRT. It signals clearly that you are a Moroccan business, which helps local trust.
A .com is familiar worldwide and works well if you plan to serve clients abroad. Many businesses register both and point one to the other.
Our examples show the mix: drmahtategyneco.ma is a local practice on a .ma, while maisonrimal.com is a fashion brand on a .com.
Own your domain
This is the mistake we see most. A freelancer or agency registers your domain in their own name, then disappears or demands a ransom.
Make sure the domain is registered in your name, with your email as the contact. Keep the login details yourself. You can still let your provider manage it for you.
Hosting: what it really means
Hosting is the computer that serves your website to visitors. Its quality affects speed, uptime and security.
What to ask any hosting provider or agency:
- Where are the servers, and are they close to your visitors?
- Are there automatic backups, and how do you restore one?
- What happens if traffic spikes during a promotion?
- Who monitors the site and fixes problems?
Cheap shared hosting can be fine for a small brochure site. An online store or a web app usually needs more reliable infrastructure.
HTTPS is not optional
HTTPS encrypts the connection between your visitor and your site. You can see it as the padlock and the https:// in the address bar.
Browsers warn visitors about sites without it, and it’s essential if you collect any form data or take payments. An SSL certificate is the thing that enables HTTPS, and many hosts include one for free.
A good-looking site that doesn’t get people to act is a brochure nobody reads. Design exists to guide visitors to one next step.
Design for mobile first
Many of your visitors will arrive on a phone, others on a laptop. Design the mobile version first, then expand to larger screens, so the site works well on both.
Check these on a real phone, not just a resized browser window:
- Text is readable without zooming.
- Buttons are large enough to tap with a thumb.
- Menus are simple and don’t hide key pages.
- Phone numbers and WhatsApp links open the right app on tap.
Make the first screen do the work
Within moments, a visitor should know what you do, who it’s for and what to do next. That’s your homepage’s first screen.
A strong first screen has:
- A clear headline saying what you offer and where.
- One supporting sentence.
- One main button: Book, Call, Order or Get a quote.
- A real photo of your place or your work.
For a clinic in Rabat, that might be “Gynecology and prenatal care in Rabat” with a “Book an appointment” button. No riddles, no slogans that could belong to any business.
Use WhatsApp thoughtfully
WhatsApp is widely used by Moroccan businesses to talk to customers. Use that to your advantage.
Add a WhatsApp button that opens a chat with a pre-filled message, such as “Hello, I’d like to book a table.” Place it where a visitor decides: on the contact page, product pages and the mobile header.
Don’t make WhatsApp your only way in. Some people prefer a form or a phone call, and a form gives you a record you control.
Write copy that sells
Write for your customer, not for yourself. Replace “we are a leading provider of solutions” with what they get.
- Lead with the problem you solve.
- Use short sentences and plain words.
- Say what makes you different, with specifics only you can claim.
- Answer the questions people actually ask: price range, location, timing, process.
- End every page with a clear next step.
Avoid the common traps
Many sites fail in predictable ways: too much text on the homepage, auto-playing sliders, tiny buttons, hidden contact details and heavy images. Read our list of web design mistakes to avoid before you approve a design.
Speed isn’t a technical detail. It’s a business metric. Slow pages lose visitors before they read a word.
What the research shows
Google/SOASTA research from 2017, reported by Think with Google and Deloitte, measured how load time affects bounce.[2][3] As page load time goes from 1 second to 3 seconds, the probability of bounce increases 32%.[2][3]
Notice what that figure is. It’s a relative increase in the probability of bouncing, not a bounce rate. It doesn’t mean 32% of visitors leave. It means the chance that a visitor leaves is 32% higher than it was at the faster speed.
Show data
| 1s → 3s | +32% |
|---|---|
| 1s → 5s | +90% |
| 1s → 6s | +106% |
| 1s → 10s | +123% |
Source: [2]
The pattern is the point: the slower the page, the more likely visitors are to give up. From 1 second to 5 seconds the probability rises 90%, to 6 seconds it rises 106%, and to 10 seconds it rises 123%.[2][3]
Core Web Vitals: Google’s speed scorecard
Google measures real-world experience through Core Web Vitals. Three metrics matter most, and each has a “good” threshold.[7]
| Metric | What it measures | Good |
|---|---|---|
| LCP (Largest Contentful Paint) | How quickly the main content appears | 2.5 s or less[7] |
| INP (Interaction to Next Paint) | How quickly the page responds to taps and clicks | 200 ms or less[7] |
| CLS (Cumulative Layout Shift) | How much the layout jumps around while loading | 0.1 or less[7] |
You can test your own pages for free with Google’s PageSpeed Insights. Test both the mobile and desktop results.
How to fix it
You don’t need to be an engineer to improve speed. Ask your developer to check these.
Images
- Resize images to the size they’re displayed at.
- Use modern formats like WebP or AVIF.
- Lazy-load images below the first screen.
- Set width and height on images so the layout doesn’t jump.
Scripts and hosting
- Remove plugins and scripts you don’t use, and defer chat widgets and trackers.
- Use caching and a CDN, and choose a server that responds quickly under load.
Your technology choice matters
How a site is built affects its speed ceiling. Some approaches generate lightweight pages by default, while others pile on code. If you want to understand the options, read our overview of web development languages.
If you sell online, payment is where trust is won or lost. Customers want a checkout that is familiar, secure and clear.
This chapter is for online shops, booking deposits and any business that wants to take cards on its site.
How card payments work here
In Morocco, online card payments typically run through CMI, the country’s card payment processor. Your bank or payment provider usually sets up your merchant account and the connection to your website.
The process involves a few parties: you, your bank, the payment gateway and the customer’s card network. Your developer connects the checkout to the gateway, so card details never sit on your own server.
The market is moving
Foreign-card payments are a growing part of Moroccan e-commerce. Foreign-card payment volume through CMI exceeded 26 billion dirhams in 2024, up 36% year on year.[4]
That matters if you serve tourists, the diaspora or international customers. A hotel, a guesthouse in Tangier or a craft shop with overseas buyers can reach people who pay with cards issued abroad.
Multi-currency is here
In 2025, CMI launched multi-currency payment, a form of dynamic currency conversion, on Moroccan e-commerce sites.[4] In plain terms, a foreign customer can see and pay in their own currency instead of doing mental math in dirhams.
Ask your bank or provider whether multi-currency is available for your merchant account, and what the conditions are. Availability and terms can differ by provider.
Fees are changing
Cost matters to any merchant. Bank Al-Maghrib capped the domestic interchange fee at 0.65% of card transactions, and CMI reduced its commissions for about 55,000 merchants.[5]
Your own rate depends on your contract, so don’t assume these headline figures apply to you directly. Ask your bank for the complete fee schedule, including setup, monthly and per-transaction charges.
Make checkout painless
Whatever methods you offer, the checkout experience decides whether people finish.
- Show the full price, including delivery, before the last step.
- Offer guest checkout, so people don’t have to create an account.
- Keep forms short and mobile-friendly.
- Display trust signals: HTTPS, clear return policy, visible contact details.
- Send a confirmation email and message right after payment.
The moment your site collects a name, a phone number or an email, you are handling personal data. In Morocco, that’s governed by Law 09-08 and supervised by the CNDP.
What counts as personal data
Personal data is any information that can identify a person. On a typical business website, that includes:
- Names, emails and phone numbers submitted in contact or booking forms
- Customer accounts and order details on an online store
- Information that visitors give you in chat or on WhatsApp through your site
- Data collected through cookies and analytics tools
A clinic in Rabat handles especially delicate information. Health details are sensitive, and the rules are stricter for sensitive data.
Declaration and authorization
Under Law 09-08, processing personal data generally requires a prior declaration to the CNDP.[6] Sensitive data needs authorization rather than a simple declaration.[6]
If you use visitor data to build profiles, you need prior authorization.[6] That applies when you go beyond basic contact handling, for example by tracking people to segment and target them.
Cookies: a simplified declaration
Cookies are small files placed on a visitor’s device. Analytics, advertising pixels and some chat tools use them.
In November 2025, the CNDP adopted a simplified declaration model for cookies placed on a visitor’s device, in deliberation D-939-2025.[6] The declaration is filed through the CNDP-FORMS platform.[6]
If your site uses analytics or advertising tools, ask your developer or legal adviser whether this simplified declaration applies to you and how to file it.
Practical habits that help
Whatever the exact legal path, good habits reduce your risk and build customer trust.
- Collect only the data you need. If you don’t need a date of birth, don’t ask.
- Say clearly why you collect data and what you do with it.
- Publish a privacy policy in the languages of your site.
- Show a clear cookie notice if you use non-essential cookies.
- Store data securely, limit who can access it and delete it when it’s no longer needed.
- Choose tools and providers carefully, and know where they store your data.
A website nobody finds is a billboard in a closed warehouse. This chapter covers how to get found on Google, and how to launch cleanly.
Local search first
Most Moroccan small businesses win customers locally. Start with Google Business Profile, a free listing that shows your business on Google Search and Maps.[9]
Here’s how to make it work:
- Claim your listing and verify it.
- Fill in every field: name, address, hours, phone, website, categories.
- Add real photos of the premises, the team and your work.
- Keep your name, address and phone number identical on your site and everywhere else.
- Reply to reviews, good and bad, politely.
A restaurant in Tangier or a clinic in Rabat can get more value from this single free listing than from many expensive tactics.
On-page basics
Search engines read your pages the way a careful visitor does. Make each page clear and specific.
- One main topic per page. A page about “dental implants in Casablanca” beats a vague “services” page.
- Descriptive titles and meta descriptions. They are your ad in the search results.
- Clear headings. Use them to structure the page, not to decorate it.
- Descriptive image names and alt text. They help search engines and accessibility.
- Internal links. Link related pages so visitors and crawlers find them.
Write for the questions people ask
Think about what your customers type. “Pediatrician open Saturday Rabat.” “Best couscous in Tangier.” “Buy kaftan online Morocco.”
Build pages that answer those questions honestly and in detail. Cover prices in terms of what influences them, opening hours, process and what to expect.
Don’t launch blind
Launch day should be boring. Everything has been tested, and you know who fixes what if something breaks.
Test on different phones and browsers, in every language. Click every link, submit every form and make a test purchase if you sell online. Then walk through the list below.
Launch checklist
- Domain is registered in your name and set to auto-renew
- HTTPS works on every page with no browser warnings
- Every form, phone link and WhatsApp button has been tested on a real phone
- All languages are reviewed by a native speaker and linked with hreflang
- Pages meet the Core Web Vitals thresholds on mobile
- Test purchase or booking completed end to end, including the confirmation email
- Privacy policy and cookie notice are published, and CNDP steps are checked
- Google Business Profile is claimed, verified and links to the site
- Search Console and analytics are installed and tracking key actions
- Backups are running, and you know who to call if something breaks
Conclusion
A business website in Morocco isn’t about having a pretty homepage. It’s about a clear goal, the right languages, a solid foundation, a fast and simple experience, safe payments, respect for data rules and a plan to be found.
Do those things in order and your site becomes the hardest-working member of your team. Skip them and it becomes an expensive business card.
Want a partner who handles planning, design, development and SEO under one roof? Take a look at OneK’s services, then Contact OneK and tell us what your business needs.
Sources
- Digital 2025: Morocco — DataReportal, 2025
- Milliseconds Make Millions — Deloitte (citing Google/SOASTA, 2017)
- Page load time statistics — Think with Google
- E-commerce : le CMI lance un service de paiement multidevises — Finances News Hebdo, 2025
- Paiement électronique : le CMI réduit ses commissions auprès de 55.000 commerçants — TelQuel, 2024
- Délibération D-939-2025 : déclaration simplifiée des cookies — CNDP, 2025
- Web Vitals — web.dev (Google)
- Tell Google about localized versions of your page — Google Search Central
- Google Business Profile — Google
Want this done for your business?
OneK designs, builds and grows websites and apps for businesses in Tangier and across Morocco.


