skip to main content

{source}<?php
tab 30 of the Most Common SEO Myths & Why They Don’t Workuse Joomla\CMS\Uri\Uri;
tab 30 of the Most Common SEO Myths & Why They Don’t Work// Get the current view
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Work$input = $app->input;
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Work$view = $input->get('view');
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Work$layout = $input->get('layout');
tab 30 of the Most Common SEO Myths & Why They Don’t Work
tab 30 of the Most Common SEO Myths & Why They Don’t Work// Get the page title
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Work$pageTitle = $document->getTitle();
tab 30 of the Most Common SEO Myths & Why They Don’t Work
tab 30 of the Most Common SEO Myths & Why They Don’t Work// Initialize category title variable
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Work$categoryTitle = '';
tab 30 of the Most Common SEO Myths & Why They Don’t Work
tab 30 of the Most Common SEO Myths & Why They Don’t Work// Check if the view is an article or a category
tab 30 of the Most Common SEO Myths & Why They Don’t Workif ($view === 'article' && isset($article)) {
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Work// Get the category id from the article object
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Work$categoryId = $article->catid;
tab 30 of the Most Common SEO Myths & Why They Don’t Work
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Work// Load the category
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Work$category = \JCategories::getInstance('Content')->get($categoryId);
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Work$categoryTitle = $category->title;
tab 30 of the Most Common SEO Myths & Why They Don’t Work} elseif ($view === 'category') {
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Work// Get the category id
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Work$categoryId = $input->getInt('id');
tab 30 of the Most Common SEO Myths & Why They Don’t Work
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Work// Load the category
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Work$category = \JCategories::getInstance('Content')->get($categoryId);
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Work$categoryTitle = $category->title;
tab 30 of the Most Common SEO Myths & Why They Don’t Work}
tab 30 of the Most Common SEO Myths & Why They Don’t Work// 
tab 30 of the Most Common SEO Myths & Why They Don’t Work// echo "<pre>";
tab 30 of the Most Common SEO Myths & Why They Don’t Work// echo 'View: ' . htmlspecialchars($view) . '<br>';
tab 30 of the Most Common SEO Myths & Why They Don’t Work// echo 'Layout: ' . htmlspecialchars($layout) . '<br>';
tab 30 of the Most Common SEO Myths & Why They Don’t Work// echo "View later: " . htmlspecialchars($viewLater) . '<br>';
tab 30 of the Most Common SEO Myths & Why They Don’t Work 

tab 30 of the Most Common SEO Myths & Why They Don’t Work// $currentView = $app->get('current_view_for_sourcer', '');
tab 30 of the Most Common SEO Myths & Why They Don’t Work// $bodyClassMenu= $app->get('bodyClassMenu', '');
tab 30 of the Most Common SEO Myths & Why They Don’t Work 

tab 30 of the Most Common SEO Myths & Why They Don’t Work// echo 'Current View Passed: '.$currentView.'<br>';
tab 30 of the Most Common SEO Myths & Why They Don’t Work// echo 'Body Class Passed: '.$bodyClassMenu.'<br>';

tab 30 of the Most Common SEO Myths & Why They Don’t Work 

tab 30 of the Most Common SEO Myths & Why They Don’t Work// echo
"<br>";
tab 30 of the Most Common SEO Myths & Why They Don’t Work// echo "Current view: " . htmlspecialchars($input->get('view'));

tab 30 of the Most Common SEO Myths & Why They Don’t Work// echo 'Page Title: <h1>' . htmlspecialchars($pageTitle) . '</h1>';
tab 30 of the Most Common SEO Myths & Why They Don’t Work// echo "</pre>";

tab 30 of the Most Common SEO Myths & Why They Don’t Work//
tab 30 of the Most Common SEO Myths & Why They Don’t Work// Output the titles and view with conditional HTML elements
tab 30 of the Most Common SEO Myths & Why They Don’t Work
tab 30 of the Most Common SEO Myths & Why They Don’t Workecho '<div class="container">';
tab 30 of the Most Common SEO Myths & Why They Don’t Workecho '<div class="row">';
tab 30 of the Most Common SEO Myths & Why They Don’t Workecho '<div class="col-xs-12">';
tab 30 of the Most Common SEO Myths & Why They Don’t Workecho '<div class="holder">';
tab 30 of the Most Common SEO Myths & Why They Don’t Work
tab 30 of the Most Common SEO Myths & Why They Don’t Work//echo "blog/".$article->category_alias;
tab 30 of the Most Common SEO Myths & Why They Don’t Work$varURL = Uri::getInstance()->toString();
tab 30 of the Most Common SEO Myths & Why They Don’t Work$varURLParts = parse_url($varURL);
tab 30 of the Most Common SEO Myths & Why They Don’t Work$varCategoryFlag = null;
tab 30 of the Most Common SEO Myths & Why They Don’t Work
tab 30 of the Most Common SEO Myths & Why They Don’t Workforeach ($varURLParts as $component => $value) {
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Workif ($component === 'path') {
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Work$value = substr($value, 0, strrpos($value, '/'));
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Work}
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Work$arrURLComponents[$component] = ucfirst($component) . ": $value";
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Work$arrURLValue[$component] = $value;
tab 30 of the Most Common SEO Myths & Why They Don’t Work};
tab 30 of the Most Common SEO Myths & Why They Don’t Work
tab 30 of the Most Common SEO Myths & Why They Don’t Work//echo "<pre>";
tab 30 of the Most Common SEO Myths & Why They Don’t Work//var_dump ($arrURLValue);
tab 30 of the Most Common SEO Myths & Why They Don’t Work//echo "</pre>";
tab 30 of the Most Common SEO Myths & Why They Don’t Work
tab 30 of the Most Common SEO Myths & Why They Don’t Work//echo '<a href="'.htmlspecialchars($arrURLValue['path']).'">'.htmlspecialchars($arrURLValue['path']).'</a>';
tab 30 of the Most Common SEO Myths & Why They Don’t Work
tab 30 of the Most Common SEO Myths & Why They Don’t Workif ($view === 'article') {
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Workecho '<!--article--><div class="header"><a href="'.htmlspecialchars($arrURLValue['path']).'"> ' . htmlspecialchars($categoryTitle) . '</a></div>';
tab 30 of the Most Common SEO Myths & Why They Don’t Work} elseif ($view === 'category') {
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Workecho '<!--category--><h1 class="header"><a href="'.htmlspecialchars($arrURLValue['path']).'">' . htmlspecialchars($categoryTitle) . '</a></h1>';

tab 30 of the Most Common SEO Myths & Why They Don’t Work} 
else {
tab 30 of the Most Common SEO Myths & Why They Don’t Worktab 30 of the Most Common SEO Myths & Why They Don’t Workecho '<!--else--><h1 class="header">' . htmlspecialchars($categoryTitle) . '</h1>';
tab 30 of the Most Common SEO Myths & Why They Don’t Work};
tab 30 of the Most Common SEO Myths & Why They Don’t Work
tab 30 of the Most Common SEO Myths & Why They Don’t Workecho '</div>';
tab 30 of the Most Common SEO Myths & Why They Don’t Workecho '</div>';
tab 30 of the Most Common SEO Myths & Why They Don’t Workecho '</div>';
tab 30 of the Most Common SEO Myths & Why They Don’t Workecho '</div>';
?>
{/source}

30 Common SEO Myths, Why They Don’t Work, & Recommendations

In the world of SEO, there are numerous myths and misconceptions that can cloud our understanding of effective search engine optimization strategies. It’s essential to debunk these myths and separate fact from fiction to ensure you make informed decisions for your small business website. In this comprehensive guide, we will explore and dispel 30 common SEO myths, providing valuable insights and recommendations to help you navigate the complex landscape of search engine optimization. So, let’s dive in and unravel the truth behind these SEO myths to unlock the full potential of your online presence.

Conclusion

Remember, these are myths, and it's important to understand the truth behind them to develop effective SEO strategies. Additionally, if you come across something you aren't sure about, contact a local SEO expert for small businesses to get some guidance and help.

Image of the author - Chad J. Treadway

Written By: Chad J. Treadway |  May 31, 2023

Chad is our Chief Smarketing Officer. He will help you survey your small business needs, educating you on your options before suggesting any solution. Chad is passionate about rural marketing in the United States and North Carolina. He also has several certifications through HubSpot to better assist you with your internet and inbound marketing.