Last active
May 15, 2020 05:43
-
-
Save keisuke2236/6656136be5a4ce10cac610f6c73bbfa1 to your computer and use it in GitHub Desktop.
【2017年度版】Webエンジニアでも最低限押さえておきたい、SEO施策のまとめと実装 ref: https://qiita.com/rorensu2236/items/a2cd209af4dda59557a5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine On | |
RewriteRule http://phocase.jp/([0-9]+)/$ http://phocase.jp/?color=$1 [L,NC] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1> | |
<img src="/images/iphone6_white.jpg" alt="女性に人気の白いiPhone6スマホケース一覧" /> | |
</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
throw new NotFoundException(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
... | |
<link rel="alternate" href="http://sp.example.com/" /> | |
... | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<title>ページタイトル</title> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
... | |
<link rel="canonical" href="http://www.example.com/" /> | |
... | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require_once './publisher.php' ; | |
$publisher = new Publisher('http://pubsubhubbub.appspot.com/'); | |
$publisher->publish_update('http://example.com/article/1'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
User-Agent: * | |
Disallow: /*/matome/ | |
Disallow: /ajax/*.json | |
Disallow: /image/ | |
Disallow: /search |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section itemscope itemtype="http://schema.org/Game"> | |
<h1>モンスターハンターゲームシリーズ</h1> | |
<span itemprop="name">モンスターハンターダブルクロス</span> | |
<p itemprop="description">6大メインモンスターがいる最新モンハンシリーズ</p> | |
<div itemprop="author" itemscope itemtype="http://schema.org/Corporation | |
"> | |
<p itemprop="name">CONAMI</p> | |
<p itemprop="email">example@conamikan.jp</p> | |
</div> | |
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
... | |
<link rel="canonical" href="http://example.com/" /> | |
... | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
「URLの長さはランキングには関係しないがURLの発見に 役立つことがある」 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://example.com/iphone7?page=1 | |
http://example.com/iphone7?color=red&page=2 | |
http://example.com/iphone7?page=3 | |
http://example.com/iphone7?page=4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src="puppy.jpg" alt=""/> | |
<img src="puppy.jpg" alt="子犬 犬の赤ちゃん | |
小さな子犬 レトリーバー ラブラドール ウルフハウンド | |
セッター ポインター ジャックラッセル テリヤ | |
ドッグ フード ドッグフード 安い 子犬の餌"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://phocase.jp/iphone7/cute/?color=3&material=3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src="puppy.jpg" alt="子犬"/> | |
<img src="puppy.jpg" alt="持ってこいをするダルメシアンの子犬"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//page=の表記 | |
http://example.com/iphone7?color=red&page=1 | |
http://example.com/iphone7?color=red&page=2 | |
http://example.com/iphone7?color=red&page=3 | |
http://example.com/iphone7?color=red&page=4 | |
//p= と省略した表記 | |
http://example.com/foo.html | |
http://example.com/foo.html?p=2 | |
http://example.com/foo.html?p=3 | |
//URLの一部に含まれる表記 | |
http://example.com/foo/1/ | |
http://example.com/foo/2/ | |
http://example.com/foo/3/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<meta name=”robots” content=”noindex”> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://phocase.jp/iphone7/?color=3&material=3&category=cute |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment