Jump to content
Sign in to follow this  

Eroare google sitemap

Recommended Posts

Salut, am si eu o problema cu sitemap-ul cand il adaug in webmaster tools,ma avertizeaza ca produsele din sitemap.xml nu contin www-ul. am link-urile de forma http://numesite.ro/12-produs si ar trebui sa fie de forma http://www.numesite.ro/12-produs

Am regenerat .htaccess-ul si am dat update la sitemap dar degeaba.Pe un alt site tot pe prestashop sitemap-ul este ok si apare www-ul in link,rog daca se poate sa imi explice si mie cineva care este cauza.


Share this post

Link to post
Share on other sites

In ideea ca iti vor ramane link-urile in genul http://numesite.ro/12-produs , incearca sa redirectionezi in .htaccess din http://www spre http:// ca sa-ti ia sitemap-ul.

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.siteulmeu\.ro$ [NC]
RewriteRule ^(.*)$ http://siteulmeu.ro/$1 [L,R=301]

Din cate stiu eu singura diferenta intre tipurile de link-uri e de gen estetic, acel www nu ajuta cu nimic la SEO.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More