Help:Search Engine Optimization

Search Engine Optimization, or SEO, is a multi-discipline field that helps to make your site more visible and brings more visitors to your community through prime placement on search engine results pages (abbreviated as "SERPs"). SEO best practices are constantly changing and evolving; techniques that would have been impactful during the earliest days of the web have become table stakes and are essential to being indexed. The best way to climb the SERPs is to build unique, engaging content and share it online with others who are as passionate about the topic as you are. Google and other commercial search engines use complex algorithms that consider hundreds of factors before ranking pages by their relevance and usefulness. Communities that earn first page (or first position!) placement are considered authorities in their area.

Exactly how much influence each ranking factor has is kept secret by the search engines, and changed often to discourage those looking to game the system and to keep up with searchers' behavior, such as the increased use of mobile devices over time. These changes have made some strategies ineffective over time, but both new and established Fandom communities can benefit from some tried-and-true SEO best practices.

Before exploring the qualities search engines are looking for in a first position result, it is helpful to understand how a community's images or article pages end up in a search index in the first place.

Crawling and Indexation
Crawling is the first step in indexation. Search engines send out automated bots (also known as "spiders") that access each site like an extremely fast user, and scan page titles, note image names and placement, and check the usage of keywords common to other documents in their index.

Search engines use the data from crawls to decide which pages should or should not be added to their database. Remember that search results are an incomplete listing of the available documents on a particular topic, so they are not an accurate picture of the entire internet. Rather, search engine databases hold selected data so that billions of pages can be accessed in a fraction of a second.

So how can a community ensure that its pages are indexed and ranked above the rest? It begins with the content on your pages.

On-Page Elements
On-page SEO concerns include everything from how your URL is structured to how fast your pages load, but some of the most important page elements are in the hands of community members like you.

Keywords Usage and Placement
In earliest days of the internet, search engines broke queries into keywords components and searched for exact matches on the web. Today, Google utilizes semantic search to process the intention of a user's query and aid in disambiguation. This is why searches for "Spider-Man" and "Spider Man" have the same results, and the reason the query "Nashville" brings up things to do in Tennessee, while "Nashville Cast" leads to Connie Britton's filmography.

It was once a common SEO practice to include blocks of related terms on a single page to capture the bots' attention, but today this technique makes search engines think you are a robot! Modern search algorithms prefer natural human language and are on guard against sites that have thin or machine-generated content.

Consider the page being created or edited and ask: "If I wanted to find this page using a search engine, what words would I put in the search bar?" Those are the best terms to include in the article name. Include synonyms in page content where appropriate (e.g. Grand Theft Auto, GTA cars, GTA vehicles, cars in Grand Theft Auto), but each usage should seem natural.

However, be careful not to make the text too repetitive. Consider using synonyms where possible. Repeating the same phrase over and over can be unnatural and machine-like.

Content is deemed relevant when it is a close or exact match to searchers queries, so keyword research can be helpful when deciding which keywords to include.

File Names and Descriptions
Google and other search engines are getting better at understanding video and images, but detailed file names and descriptions send strong, clear signals to the bots. This best practice also helps blind and visually impaired users who use screen readers to access Fandom.



For example, the file name for this picture of Steve Rogers should include "Steve Rogers" and/or "Captain America." The image description could include more details like "Commander Steve Rogers in Avengers Vol 5 Issue 37."

Something even more useful to people with visual disabilities is alt text. It can be added when adding an image in source editing mode. Alt text is read by screen readers instead of images and further improves SEO, so you include more readers and optimize your wiki at the same time.

If your files are big, try to compress them before uploading them to Fandom. Large amounts of big files can slow down page loading and worsen the SEO.

Links
Internal linking improves user experience and helps search bots find and index content. Remember that search spiders access pages through links.

Imagine a visitor who is learning about this topic for the first time. Where are the natural places they would want to click to learn more? That is where you should add a link.
 * Don't go overboard. It is estimated that search bots follow 100-200 links (including those in the header and footer) before giving up.
 * Mix up the anchor text where possible throughout the community, even if you only link out to a single article just once per page. An article about Harry Potter might link to one about Voldemort from either "The Dark Lord" or "He Who Must Not Be Named."
 * Use the Special:DeadendPages page on your community to find articles without links (no dead ends!) and clean up any red links in Special:WantedPages.
 * Categories build the architecture of a community and help humans and bots understand the relationship between pages, so use the Special:UncategorizedPages page to find and clean up uncategorized pages.
 * Try to avoid plain, long lists of links. These and category pages tend to "cannibalize" eachother, so either use a list with short summaries, a table, or link to a category page.

Top navigation
When you edit your wiki's top navigation, prioritize wiki content, especially most recent releases and popular content. Prioritizing means placing them in first navigation tabs to the left. You can find what's most viewed and searched in the Analytics dashboard.

For example, if a wiki is about a TV show, the first tabs should contain information about the seasons (and that tab should have a link to the newest season), the show itself, the characters, the locations, etc. Of course, if types of content different than characters and locations are important and popular, then those should be used.

Keep the tab names clear. It should be obvious what users can find under each navigation tab.

Many wikis have an additional tab with important links to various pages about rules, administrators, guidelines and such. If you need to include it, that tab should be the last one.

CSS and JS
Avoid overloading your wiki's local CSS and JS pages. Don't import over 20 different fonts to customize each admin username separately or more Dev Wiki scripts than you'll actually use. Keep it limited to what you need. That includes not overdoing CSS and JS written by yourself, as well.

That doesn't mean you should not import anything or not customize your wiki (within the customization policy, of course). Simply consider whether you're importing and writing as much as possible on a whim, or adding code on purpose.

Remember to avoid adding popups and other intrusive elements with your JS to reduce your wiki pages' bounce rate.

Off-Page Concerns
Strange as it may seem, about half of the ranking potential of a community comes from factors outside of its direct control. Being the first to publish about a topic, earning (not purchasing) links from other respected sites, or becoming the topic of discussion on social media can have a significant impact on rankings.

It was once possible to guide the bots by posting links to a new community in directories, forums, and blog comments sections, but today most of those sites automatically add a  attribute that tells search bots not to pass the value of that link back to your community.

Best practices for individual communities are to support and encourage new contributors and focus on building quality content, and to let natural external linking build from there.

Related blog posts

 * Intro to SEO
 * Search Suggest, Trends, and Content Coverage
 * The Importance of Images
 * Using Keywords Without Stuffing or Spamming
 * Fandom's Best Practices Help page and blog document SEO best practices extensively

Further help and feedback
ca:Ajuda:Augmentar el ranking del teu wiki a Google de:Hilfe:Suchmaschinenoptimierung es:Ayuda:SEO fi:Ohje:Hakukoneoptimointi fr:Aide:Optimisation pour les moteurs de recherche hi:सहायता:खोज इंजन ऑप्टिमाइज़ेशन it:Aiuto:Search Engine Optimization ja:ヘルプ:検索エンジン最適化（SEO） ko:도움말:검색 엔진 최적화 nl:Help:Zoekmachineoptimalisatie pl:Pomoc:Optymalizacja dla wyszukiwarek internetowych pt:Ajuda:Otimização para Sites de Busca ru:Справка:Поисковая оптимизация tr:Yardım:Arama Motoru Optimizasyonu uk:Довідка:Пошукова оптимізація vi:Trợ giúp:Tối ưu hóa bộ máy tìm kiếm zh:Help:搜尋引擎最佳化