seo

Creating an array of products in JSON-LD

不想你离开。 提交于 2019-12-11 02:07:52
问题 Can someone spot what's wrong with my code below? (It doesn't validate in the Google Structured Testing Tool.) I'm trying to create the JSON-LD code to add to a page that has multiple products for sale. <script type="application/ld+json"> { "@context": "http://schema.org", "@graph": [ { "@type": “Product”, "name": “tshirt", “description”: "test copy 1.”, “image”: “image.jpg” }, { "@type": “Product”, "name": “tshirt 2", “description”: "test copy 2.”, “image”: “image2.jpg” } ] } </script> Any

Background images and SEO

半城伤御伤魂 提交于 2019-12-11 01:47:30
问题 At the moment I have on my website some images which are defined in the CSS file as a background image. The code looks like this. The HTML: <a href="http://domain.com" title="Website Title" class="image"></a> The CSS: .image { background: url("../img/deelnemende-organisaties/arcadis.png") no-repeat; } Due to some other CSS3 effects with this background it isn't possible to change the background to a normal <img> tag. Now I was wondering what is the best way to use background images and

For each language another permalink (Wordpress+qTranslate)

一曲冷凌霜 提交于 2019-12-11 01:34:41
问题 I need a plugin for wordpress who makes it possible to have for each language another permalink. I need this for pages in wordpress (and with compatibility with qTranslate). For example: DE: http://example-page.com/de/treten-sie-mit-uns-in-kontakt EN: http://example-page.com/en/contact-us Thanks 回答1: qtranslate slug could do the trick. http://wordpress.org/extend/plugins/qtranslate-slug-with-widget/ 来源: https://stackoverflow.com/questions/10304527/for-each-language-another-permalink

Can I have SEO friendly urls in Struts?

こ雲淡風輕ζ 提交于 2019-12-11 00:06:37
问题 I want to have SEO friendly urls in my application, which will be built in java/j2ee using Struts (1/2). I have some classifications as follows county/countryname county/state/statename county/state/locality/localitname I guess above URLs will be seo friendly? How can I have such URLs with Struts instead of something like /county='xyz' ? 回答1: use urlrewrite library, it will integrate nicely with most of the java web frameworks. example from here: In the following example requests for /world

Ajax Loaded meta Tags

蹲街弑〆低调 提交于 2019-12-11 00:02:05
问题 Im quite new to the wonders of ajax. I've been playing around with stuff etc. To elaborate, i have a simple 5 page website where every page is the same except for the content. Pretty generic scenario. So what i've done, is just added the content for each page using ajax. Meaning that in my website folder, i have ONE .php file. (kind of like a master page.) and all the content changes are just in smaller .html files that are loaded. For Seo, Each page needs meta tags etc... But if i have ONE

htaccess RewriteRule *.php to /*/

元气小坏坏 提交于 2019-12-10 23:57:14
问题 I just can't find correct solution for what I need, so I hope someone will be able to help me here. I now have website with this files: /admin/ /images/ /js/ about.php index.php news.php questions.php So my URLs now are: www.mydomain.com/about.php www.mydomain.com/news.php ... I would like to have www.mydomain.com/about/, www.mydomain.com/news/,... I have tried many things which I found but none of them works like it should or it messes something else up. The closest I got to is this:

How to set breadcrumbs for an article in Schema.org?

我的梦境 提交于 2019-12-10 23:37:41
问题 Using Schema.org, I would like search engines to read the breadcrumbs of my articles. However, BreadcrumbList is part of a WebPage but not a part of an Article. I can add a WebPage object to each article, but it seems a bit redundant and I'm not sure how search engines would treat it. What is a right way of implementing both breadcrumb and article objects? Real life examples would be great. 回答1: Articles and web pages are different entities. For various reasons it makes sense not to blur the

can google crawl javascript generated links? [closed]

风流意气都作罢 提交于 2019-12-10 23:28:59
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I know that this question has been asked many times ( but in different varuations), but I got totally confused... I have a website with a right panel displaying some content - a set of links to news/inner articles. This is the same list for all site's pages. Thus, every time there is a new link/line in th news

Hide html only when Javascript is available

て烟熏妆下的殇ゞ 提交于 2019-12-10 21:31:42
问题 I guess this is more about SEO than wanting to support browsers with Javascript disabled. I have Javascript/jQuery code that reads in some html and basically displays it much nicer. The html is actually removed (with jQuery's .remove() function) during the process. So I hide the html so there aren't any visual artifacts as the page loads. But now I want to only hide it if Javascript is enabled. I guess the easiest thing is to have some Javascript in <head> that adds the display: none css rule

SEO dynamic sitemap [closed]

廉价感情. 提交于 2019-12-10 20:45:38
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Lets say we have Twitter, and every profile needs to get indexed in search engines, how does Twitter handle their sitemap? Is there something like "regex" sitemap for domain or do they re-generate a sitemap for each user? How does this work, for pages that you don't know, so dynamic pages? Look at Wikipedia for