Questions tagged [seo]

Note: General SEO questions are off-topic. Only programming-related SEO questions are acceptable on Stack Overflow. Non-programming SEO questions should be asked on Webmasters.SE at https://webmasters.stackexchange.com. If someone has directed you here to read this warning, go back and delete your question.

Search engine optimization, or SEO, is a methodology for helping websites to improve search engine rankings.

Most search engines return results based on relevance to a set of input keywords, or a query, provided by a client (typically a user visiting a search engine's website). Ranking well in any given search for a popular keyword can mean more traffic for a website, which translates into pageviews, comments and most importantly, sales.

Most SEO questions are off-topic

Questions must relate to programming to be on-topic. This means you must have a specific programming problem you are trying to resolve.

On-topic examples include:

Off-topic examples include:

  • Will using a specific programming technique harm my rankings in search engines?

Most SEO questions fall into the category of how to get better rankings or what tactics can be employed to improve robots crawling a site. These and other general SEO questions that are not specifically about programming should be asked on the Pro Webmasters Stack Exchange site. The questions should include the SEO tag. See this discussion on Meta Stack Overflow for details.

WordPress-related SEO questions should be tagged as or . However, generic SEO questions with regards to WordPress belong on WordPress.

Related Tags

Books

7850 questions
28
votes
11 answers

Meta tag vs robots.txt

Is it better to use meta tags* or the robots.txt file for informing spiders/crawlers to include or exclude a page? Are there any issues in using both the meta tags and the robots.txt? *Eg: <#META name="robots" content="index, follow">
keruilin
  • 16,782
  • 34
  • 108
  • 175
28
votes
5 answers

AngularJS SEO for static webpages (S3 CDN)

I've been looking into ways to improve SEO for angularJS apps that are hosted on a CDN like Amazon S3 (i.e. simple storage with no backend). Most of the solutions out there, PhantomJS, prerender.io, seo.js etc., rely on a backend to recognise the…
advert2013
  • 9,734
  • 3
  • 24
  • 35
28
votes
2 answers

What is the purpose of meta tag MSSmartTagsPreventParsing?

What does it do? is there any benefit to adding this in the for all browsers?
Jitendra Vyas
  • 148,487
  • 229
  • 573
  • 852
27
votes
2 answers

html5: titles in sectioning elements - document outline and SEO implications

The html5 spec says that: The outline for a sectioning content element or a sectioning root element consists of a list of one or more potentially nested sections. A section is a container that corresponds to some nodes in the original DOM tree.…
Donald Jenkins
  • 3,485
  • 8
  • 33
  • 35
27
votes
2 answers

Is including harmful for pages with hashbang?

Google says about this meta tag: The following important restrictions apply: The meta tag may only appear in pages without hash fragments. Only "!" may appear in the content field. The meta tag must appear in the head of the document. Source:…
Christoph
  • 26,519
  • 28
  • 95
  • 133
26
votes
2 answers

Doing links like Twitter, Hash-Bang #! URL's

Possible Duplicate: What’s the shebang/hashbang (#!) in Facebook and new Twitter URLs for? I was wondering how Twitter works its links. If you look in the source code, you use the links are done like /#!/i/connect or /#!/i/discover, but they…
ixchi
  • 2,349
  • 2
  • 26
  • 23
26
votes
5 answers

Is text-indent: -9999px a bad technique for replacing text with images, and what are the alternatives?

This article say we should avoid using this technique. This one says it's awesome. Is it true that Google looks inside CSS files for text-indent: -9999px; and punishes you? :| I'm using that property a lot to hide text. For example, I have a button…
Alex
  • 66,732
  • 177
  • 439
  • 641
26
votes
8 answers

How can I create custom SEO-friendly URLs in OpenCart?

How can you customize system URLs in OpenCart? For example, I would like http://example.com/index.php?route=checkout/cart to be displayed as http://example.com/cart I know OpenCart provides SEO URLs for products, categories, manufacturers and…
nachito
  • 6,975
  • 2
  • 25
  • 44
26
votes
8 answers

Does google index pages with hidden divs?

I am starting to redesign and develop a site that contains a lot of text and I am thinking of ways to organize the information on the site so that it looks cleaner. On some parts of the site I would like to implement a jquery toggle effect where…
Yin
  • 371
  • 1
  • 4
  • 9
26
votes
5 answers

tag for Google

I would like to tell Google not to index certain parts of the page. In Yandex (russian SE) there's a very useful tag called . How can it be done with Google?
teslasimus
  • 1,238
  • 5
  • 15
  • 23
26
votes
5 answers

How do I allow Google to index login-required parts of my site?

It seems like Google can index certain sites or forums (I can't name any offhand as its been months since I last saw one) and when accessing you are prompted with a request to register or login. How would I make my site open for Google to index and…
user34537
26
votes
15 answers

Remove index.php?route=common/home from OpenCart

I currently have User SEO URL's set to Yes in OpenCart Admin. System -> Settings -> Store -> Server -> User SEO URL's So far, all tags and SEO links are working; the command has done the desired effect. However for the homepage and a few other…
TheBlackBenzKid
  • 26,324
  • 41
  • 139
  • 209
25
votes
6 answers

PHP vs JavaScript For Dynamic HTML Pages

Typically when I put together dynamically generated HTML markup, I've been using PHP to store the information and then looping through that to create elements on the page. One example is navigation; create an array of objects and then loop through…
Eric
  • 2,061
  • 8
  • 28
  • 37
25
votes
4 answers

How many keywords are ideal for the META keywords tag?

The answers to a previous question pointed out that the keywords meta tag in HTML is used by some search engines, such as Yahoo! and Ask. Now, I know not many of us have direct knowledge of the algorithms behind different search engines, but in…
Herman Schaaf
  • 46,821
  • 21
  • 100
  • 139
25
votes
4 answers

Angular2 - SEO - how to manipulate the meta description

Search Results in google are displayed via TitleTag and the Tag. The -Tag is editiable via Angular2 how to change page title in angular2 router What's left is the description. Is it possibile to write a…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/seo" class="post-tag grid--cell" title="show questions tagged 'seo'" rel="tag">seo</a> <a href="../../questions/tagged/angular" class="post-tag grid--cell" title="show questions tagged 'angular'" rel="tag">angular</a> <a href="../../questions/tagged/meta-tags" class="post-tag grid--cell" title="show questions tagged 'meta-tags'" rel="tag">meta-tags</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Mar 07 '16 at 11:17">asked Mar 07 '16 at 11:17</time> <a href="../../users/6028611/ronald-padur" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/6028611.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Ronald Padur" /> </a> <div class="s-user-card--info"> <a href="../../users/6028611/ronald-padur" class="s-user-card--link">Ronald Padur</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">369</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="3 silver badge">3</li> <li class="s-award-bling s-award-bling__bronze" title="8 bronze badge">8</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/seo_page=4" rel="prev" title="Go to page 4">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/seo_page=1" rel="" title="Go to page 1">1</a> <a class="s-pagination--item" href="../../questions/tagged/seo_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/seo_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/seo_page=99" rel="" title="Go to page 99">99</a> <a class="s-pagination--item" href="../../questions/tagged/seo_page=100" rel="" title="Go to page 100">100</a> <a class="s-pagination--item" href="../../questions/tagged/seo_page=6" rel="next" title="Go to page 6"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>