IMPORTANT: Per accedir als fitxer de subversion: http://acacha.org/svn (sense password). Poc a poc s'aniran migrant els enllaços. Encara però funciona el subversion de la farga però no se sap fins quan... (usuari: prova i la paraula de pas 123456)

Crawling

Running a test a crawl on a web site is a smart task to complete on a regular basis. There are several actionable findings a tool like Xenu can uncover, and at a very low cost. Finding these simple, yet destructive problems can help webmasters improve the SEO health of their web sites. And that’s exactly the goal of an SEO Audit.

Again, I just covered a few insights you can glean from a test crawl. Try it out for yourself today. As I mentioned earlier, you never know what you’re going to find.

Vegeu l'article Crawling.

Inbound Link Analysis

Qüestions a tenir en compte?

Com afecta el canvi de URLs i/o redisseny d'una pàgina?

CMS

WordPress

Mediawiki

sitemap

Vegeu Mediawiki#sitemap

Short URL

Per poder activar les shortURLs he hagut de fer un munt de canvis. Primer de tot moure:

/var/lib/acacha_mediawiki/

a

/var/lib/acacha_mediawiki/w

Canviar la configuració de LocalSettings.php. Lo primer indicar el nou path instal·lació:

define('MW_INSTALL_PATH','/var/lib/acacha_mediawiki/w');

I assegurar-me que a tot arreu utilitzo el prefix $IP i no que el path no estigui hardcoded enlloc. I després he canviat les variables:

## The URL base path to the directory containing the wiki;
## defaults for all runtime URL paths are based off of this.
$wgScriptPath       = "/w";
$wgScriptExtension  = ".php";
$wgArticlePath      = "/mediawiki/$1";  
$wgUsePathInfo = true;

I finalment la configuració d'Apache com a Virtual Host

$ cat /etc/apache2/conf-available/mediawiki.conf
# Uncomment this to add an alias.
# This does not work properly with virtual hosts..

<VirtualHost *:80>
	ServerName acacha.org
	ServerAlias www.acacha.org
	DocumentRoot /var/lib/acacha_mediawiki
	
	php_value upload_max_filesize  20M

	RedirectMatch 301 /mediawiki/index.php$ http://acacha.org/mediawiki/Pàgina_principal
	RedirectMatch 301 /mediawiki/index.php/(.*) http://acacha.org/mediawiki/$1

	<Directory /var/lib/acacha_mediawiki/>
        	#If this is uncommented new files uploaded give a Forbidden Error. Example:
	        # http://acacha.org/mediawiki/upload/c/c0/Francesc_fores_identity.png --> SOLVED ADDING +SymLinksIfOwnerMatch above
	        Options +FollowSymLinks +SymLinksIfOwnerMatch
        	AllowOverride All

	        ## MEDIAWIKI SHORTURLS: http://www.mediawiki.org/wiki/Manual:Short_URL/Apache

        	# Enable the rewrite engine
	        RewriteEngine On
		#LogLevel alert rewrite:trace2

        	# Short url for wiki pages
	        RewriteRule ^/?mediawiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L,QSA]

        	# Redirect / to Main Page
	        RewriteRule ^/*$ %{DOCUMENT_ROOT}/w/index.php [L,QSA]

        	Require all granted
        
	</Directory>

	<Directory /var/lib/acacha_mediawiki/wiki_privada/>
		Options +FollowSymLinks
	</Directory>

	<Directory /var/lib/acacha_mediawiki/sitemap/>
                Options +Indexes
        </Directory>

	<Directory /var/lib/acacha_mediawiki/resources/assets/>
                Options +Indexes
        </Directory>



	# some directories must be protected
	<Directory /var/lib/acacha_mediawiki/config>
	        Options -FollowSymLinks
	        AllowOverride None
	</Directory>
	<Directory /var/lib/acacha_mediawiki/upload>
        	Options -FollowSymLinks
	        AllowOverride None
	</Directory>

	Options +FollowSymLinks	
 
 </VirtualHost>

Molt important la configuració:

RedirectMatch 301 /mediawiki/index.php http://acacha.org/mediawiki/Pàgina_principal
RedirectMatch 301 /mediawiki/index.php/(.*) http://acacha.org/mediawiki/$1

Per tal que els antics links encara funcionin i es redirigeixin a la nova URL.

Recursos:

Configurar el fitxer robots.txt:


Recursos:

Vegeu també

Enllaços externs