Google Webmaster Tools geeft dergelijke meldingen:
Pagina's met dubbele beschrijvingen in "meta"-tags
Dit o.b.v. pagina's met en zonder slash die hij als identieke pagina's ziet.
Als je URL met / intypt spring hij naar de url zonder slash. De htaccess er bij:
Heeft er iemand een tip hoe ik van deze vervelende melding af kom?Code:RewriteEngine On RewriteBase / RewriteRule ^(sitemap\.xml) - [L] RewriteCond %{REQUEST_URI} !^/admin/.*$ RewriteRule ^(.*)/$ /$1 [L,R=301] AddCharset UTF-8 .html AddCharset UTF-8 .php RewriteRule ^(.*)/c/(.*) categorie.php?categorieid=$2 [L] RewriteRule ^(.*)/p/(.*) product.php?productid=$2 [L] RewriteRule ^s/(.*)/(.*) pagina.php?paginaid=$2 [L] RewriteRule ^zoeken zoeken.php [L] RewriteRule ^winkelwagen winkelwagen.php [L] RewriteRule ^nieuws nieuws.php [L] RewriteRule ^contact contact.php [L] RewriteRule ^sitemap sitemap.php [L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f ExpiresByType application/javascript "access plus 432000 seconds" <IfModule mod_expires.c> ExpiresActive On ExpiresByType text/html "access plus 1 seconds" ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType image/x-icon "access plus 1 month" ExpiresByType text/css "access plus 1 month" ExpiresByType text/javascript "access plus 1 month" ExpiresByType application/x-javascript "access plus 1 month" ExpiresByType application/x-shockwave-flash "access plus 1 month" </IfModule> # BEGIN Gzip <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript </IfModule> RewriteCond %{REQUEST_URI} !(/$|\.) RewriteRule (.+) http://www.url.nl/$1/ [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{HTTP_HOST} !^\.localhost$ [NC] RewriteRule ^(.+[^/])/$ http://%{HTTP_HOST}/$1 [R=301,L]
- htaccess; dubbele beschrijvingen in "meta"-tags o.b.v. url met en zonder slash
-
29-01-2014, 20:57 #1Particulier
- Berichten
- 703
- Lid sinds
- 17 Jaar
htaccess; dubbele beschrijvingen in "meta"-tags o.b.v. url met en zonder slash
-
In de schijnwerper
Backlinks.nl - Groot assortiment | Bekijk NR. 1 voorbeelden <---AdvertentieruimteBacklinks plaatsen op websites met echte content én bezoekers?Advertentieruimte!!!!! Uniek portfolio met 544 .nl domeinnamen !!!!!Domein te koopErvaren freelance PHP/Javascript ontwikkelaar beschikbaarFreelance / Werk
Plaats een
- + Advertentie
- + Onderwerp
Marktplaats
Webmasterforum
- Websites algemeen
- Sitechecks
- Marketing
- Domeinen algemeen
- Waardebepaling
- CMS
- Wordpress
- Joomla
- Magento
- Google algemeen
- SEO
- Analytics
- Adsense
- Adwords
- HTML / XHTML
- CSS
- Programmeren
- PHP
- Javascript
- JQuery
- MySQL
- Ondernemen algemeen
- Belastingen
- Juridisch
- Grafisch ontwerp
- Hosting Algemeen
- Hardware Info
- Offtopic