Difference between pages "Portage Dynamic Slot" and "SEO"

(Difference between pages)
 
m
 
Line 1: Line 1:
Portage-2.3.1 in the experimental tree contains support for dynamic slots.
+
[https://en.wikipedia.org/wiki/Search_engine_optimization Seo] stands for search engine optimization.  This page is dedicated to helping improve your page rank on search engines.
  
{{fancynote|If you plan to use dynamic slots, please read this page in its entirety, especially the [[#Requirements|Requirements]] below, to ensure you are using dynamic slots correctly.}}
+
== Domains ==
 +
When selecting a domain name, try to choose a short domain name, omitting words like "the" the longer the url, the harder it is to remember, and this affects page rank.
  
== Traditional SLOT ==
+
http://www.yes.com is excellent
 +
http://www.nooooooooooooooo.com is bad....
  
Historically, Portage has supported SLOTs, which are defined statically in the ebuild and allow certain package versions to be installed alongside other versions of the same package. For example, <tt>libpng-1.4.2</tt> could have a <tt>SLOT</tt> of <tt>"1.4"</tt> while <tt>libpng-1.5</tt> could have a <tt>SLOT</tt> of <tt>"1.5"</tt>. This indicates that these ebuilds can be installed alongside each other.
+
Domain registration duration impacts SEO, if you intend to have the site a long time, register several years rather than a short period of time, as this will improve SEO.
  
It has been the policy of Gentoo Linux to only allow <tt>SLOT</tt> to be set statically in the ebuild, and not vary (via code) within the ebuild. Traditionally, within a single ebuild it must always be the same, non-variable value.
+
=== Canonical Urls ===
 +
your sites urls should have 1 or the other url re-writing, and 301 permanent redirecting so search engines do not see duplicate content. You are not penalized for url length by adding a www. subdomain.
  
== Dynamic SLOT ==
+
<console>###i## curl -I http://funtoo.org/Welcome</console>
  
Funtoo dynamic slot functionality changes this policy and allows <tt>SLOT</tt> to vary. This is useful for custom builds of an application whose paths are defined by an external variable passed in to Portage.  
+
<console>###i## curl -I http://www.funtoo.org/Welcome</console>
  
Here is an example of how dynamic slot works in an ebuild, and shows how it is intended to be used -- to allow custom versions of ebuilds to be built alongside non-custom versions:
+
==== php? ====
 +
Question marks are bad.  Most search engines freak out about indexing anything past a ? so use url rewrites to remove index.php? and leave just site.com/Main_Page
  
<pre>
+
==== Url spaces ====
SLOT="$PV"
+
You should prefer - over _ to represent spaces.  MediaWiki is flawed in design preferring _ over -.  This is an older SEO problem, yet it still persists in affecting your page ranking.  [[web-server-stack]] is an example of an SEO friendly url with spaces.
IUSE="custom"
+
  
pkg_setup() {
+
== Server Speed ==
    if use custom && has "${EBUILD_PHASE:none}" "unpack" "prepare" "compile" "install"; then
+
How fast your page loads significantly impacts seo.  Installing a caching reverse proxy, and testing that it hits close to 100% of the time is a good idea.  It prevents your server from rebuilding pages, hitting the processor, and also speeds up page delivery to move the bottle neck from the php building to the internet connection speed.  see: {{Package|www-servers/varnish}}
        if [ -n "$CUSTOM_CONFIG" ]; then
+
            SLOT="$PV-${CUSTOM_CONFIG##*/}"
+
        else
+
            die "Please define CUSTOM_CONFIG to use 'custom' USE variable"
+
        fi
+
    fi
+
}
+
  
src_compile() {
+
== Meta Description/Keywords/Tags ==
    econf --prefix=/usr/$SLOT --special_options=$CUSTOM_CONFIG || die
+
Meta information is parsed directly by search engines.  with these in place they will be displayed rather than the initial text of your canonical landing page.
    emake || die
+
=== Dublin core ===
}
+
Dublin core is a system that generates meta information dynamically.
  
src_install() {
+
== External Links ==
    emake install DESTDIR="$D" || die
+
Posting links around is ok so long as it is organic, and not spammy.  addthis share widgets improve SEO as they produce many backlinks that are not a bot dumping anywhere, and everywhere.  addthis produces twitter/facebook/g+/redit etc share links, and has an analytic service.
    insinto /usr/$SLOT
+
    doins foo
+
}
+
</pre>
+
  
Above, the ebuild has a USE flag called "custom". When it is set, the ebuild looks for a variable called <tt>CUSTOM_CONFIG</tt> in the environment (this would typically be exported into the current shell.) The name of the <tt>CUSTOM_CONFIG</tt> file is used to modify <tt>SLOT</tt>, so that if <tt>CUSTOM_CONFIG</tt> pointed to <tt>/foo/bar/oni</tt>, and the ebuild version was <tt>1.0-r1</tt>, then <tt>SLOT</tt> would be set to <tt>1.0-oni</tt>.
+
== SiteMaps & robots.txt ==
 +
Sitemaps generate xml pages that tell crawlers about your sites content pages, and robots.txt tell crawlers about pages they're not allowed to index.  In a few iterations ill look up how to make a robots that allows everything, as if its not even there, and an external site map generating service.
  
Also note that this ebuild takes care to ensure that the ebuild modifies all paths so that the files in this ebuild will not conflict with the paths in other versions of this ebuild. This is how dynamic slot is intended to be used. I plan to use this functionality in Funtoo Linux to support custom kernel ebuilds.
+
===testing, and evaluating===
 +
==== free analysis ====
 +
* http://www.seomastering.com/ (shows estimated page value in USD)
 +
* http://seositecheckup.com/ (throttled to 1 check every 30 minutes)
 +
* http://www.site-seo-analysis.com/
 +
* http://www.seoworkers.com/tools/analyzer.html
  
== Requirements ==
+
==== free with required registration ====
 +
* http://www.site-analyzer.com/
  
* A default <tt>SLOT</tt> value must be defined in the main body of the ebuild, as normal, and just like a traditional <tt>SLOT</tt>, it must not vary within an individual ebuild. This value is cached in the metadata.
+
==== pay with free trial ====
* <tt>pkg_setup</tt> can be used to override <tt>SLOT</tt> but this should not be the default behavior. It should be enabled via USE variable.  
+
free 1 site per week testing
* <tt>pkg_setup</tt> should override the SLOT only in certain required phases that reference the dynamic SLOT. Use <tt>EBUILD_PHASE</tt> for this, as in the example.
+
* http://www.woorank.com/
* Ensure that files in your ebuild are installed to different locations so that they do not conflict with any other installed versions of this ebuild.
+
* Typically, you would ''not'' use dynamic slot for standard ebuilds that other ebuilds depend on. It is generally intended for "custom" versions of ebuilds that need to vary based on local user settings. However, your ebuild can build in a "standard" mode without dynamic slot enabled via USE, and build in a "custom" mode when dynamic slot ''is'' enabled.
+
  
== Implementation ==
+
==== unsorted goodies ====
 
+
*http://www.webpagetest.org/
Dynamic Slot functionality has been implemented by making the following changes to Portage:
+
*http://www.seocentro.com/tools/seo/seo-analyzer.html
 
+
*http://www.seoptimer.com/
* https://github.com/funtoo/portage-funtoo/commit/537e239c610b3af5d2c860f27018cf7934fb6e00
+
*https://www.found.co.uk/seo-tool/
 
+
*https://zadroweb.com/seo-auditor/
 
+
*http://www.wpromote.com/seo/seo-audit-tool
[[Category:Portage]]
+
*https://marketing.grader.com/
[[Category:Labs]]
+
*http://www.alexa.com/

Latest revision as of 07:54, December 19, 2014

Seo stands for search engine optimization. This page is dedicated to helping improve your page rank on search engines.

Domains

When selecting a domain name, try to choose a short domain name, omitting words like "the" the longer the url, the harder it is to remember, and this affects page rank.

http://www.yes.com is excellent http://www.nooooooooooooooo.com is bad....

Domain registration duration impacts SEO, if you intend to have the site a long time, register several years rather than a short period of time, as this will improve SEO.

Canonical Urls

your sites urls should have 1 or the other url re-writing, and 301 permanent redirecting so search engines do not see duplicate content. You are not penalized for url length by adding a www. subdomain.

# curl -I http://funtoo.org/Welcome
# curl -I http://www.funtoo.org/Welcome

php?

Question marks are bad. Most search engines freak out about indexing anything past a ? so use url rewrites to remove index.php? and leave just site.com/Main_Page

Url spaces

You should prefer - over _ to represent spaces. MediaWiki is flawed in design preferring _ over -. This is an older SEO problem, yet it still persists in affecting your page ranking. web-server-stack is an example of an SEO friendly url with spaces.

Server Speed

How fast your page loads significantly impacts seo. Installing a caching reverse proxy, and testing that it hits close to 100% of the time is a good idea. It prevents your server from rebuilding pages, hitting the processor, and also speeds up page delivery to move the bottle neck from the php building to the internet connection speed. see: Varnish

Meta Description/Keywords/Tags

Meta information is parsed directly by search engines. with these in place they will be displayed rather than the initial text of your canonical landing page.

Dublin core

Dublin core is a system that generates meta information dynamically.

External Links

Posting links around is ok so long as it is organic, and not spammy. addthis share widgets improve SEO as they produce many backlinks that are not a bot dumping anywhere, and everywhere. addthis produces twitter/facebook/g+/redit etc share links, and has an analytic service.

SiteMaps & robots.txt

Sitemaps generate xml pages that tell crawlers about your sites content pages, and robots.txt tell crawlers about pages they're not allowed to index. In a few iterations ill look up how to make a robots that allows everything, as if its not even there, and an external site map generating service.

testing, and evaluating

free analysis

free with required registration

pay with free trial

free 1 site per week testing

unsorted goodies