Should we noindex our JSON files? Digital Media Digital Marketing Search Engine Strategies by Dani We use a lot of AJAX that loads JSON files that return an application/json mime type. In some instances, these JSON files are used to assemble elements on the page, so we don't want to hide them from Google because we want Google to see the page fully rendered. My question is whether we should be adding an X-Robots-Tag: noindex HTTP header to … Display specific html tag on specific pages Programming Web Development by ianhaneybs I want to display different html tags on the php page they are visiting, for example on the homepage and the computer shop basildon page I want the html tag `<section class="testimonal-two pt-0">` and on all other pages I want the code `<section class="testimonal-two">` Below is the code I have so far and it works… Re: Display specific html tag on specific pages Programming Web Development by ianhaneybs Just got it working with the following code <?php $currentpage = $_SERVER['REQUEST_URI']; if($currentpage=="/" || $currentpage=="/index.php" || $currentpage=="/index" || $currentpage=="" || $currentpage=="/computer-shop-basildon.php" || $currentpage=="/… Re: Display specific html tag on specific pages Programming Web Development by Dani Glad you got it figured out. Here is a cleaner way of presenting the above code so it doesn't look so messy: <?php // Retrieve the current page $currentpage = $_SERVER['REQUEST_URI']; // Most pages have this CSS class $class = 'testimonial-two'; // Array of pages $array = array( '/',… Re: Display specific html tag on specific pages Programming Web Development by ianhaneybs Thank you so much for the code Dani, that does look a lot cleaner and better than what I have Re: How to check if websites is connected to google analytics? Digital Media Digital Marketing Search Engine Strategies by Admin907 **How to Check if a Website is Connected to Google Analytics?** To check if a website is connected to Google Analytics, follow these steps: **View Page Source:** Right-click on the webpage and select "View Page Source" or press Ctrl+U (Windows) / Cmd+U (Mac).** **Search for Analytics Code:**** In the source code, press Ctrl+F (… Re: The Application of Greedy Algorithm in Computer Monitoring Software Hardware and Software by Dani > Maybe the tag system changed but in the past I could create a new tag if there wasn't one. Only non-newbie members can do that. Please visit our [tagging guidelines](https://www.daniweb.com/welcome/tagging). Re: Do backlinks to disallowed URLs help the domain overall? Digital Media Digital Marketing Search Engine Strategies by Dani > but what meta name="robots" do the have in their html head It doesn't matter. If a URL is disallowed via robots.txt, then Googlebot never crawls the page to discover what is or is not in any meta tags in the page's HTML. Regardless, the `<meta name="robots" content="noindex">` tag tells Google to not … Re: How to check if websites is connected to google analytics? Digital Media Digital Marketing Search Engine Strategies by simhakidsden It sounds like there might be a discrepancy between the information provided by the Site Kit plugin and what Bing Webmaster Tools is displaying. Here's what you can do: Double-check the Site Kit plugin settings to ensure that it's properly connected to your website's analytics account. Sometimes, re-authenticating or reconnecting the plugin can … Video is not the main content of the page Digital Media Digital Marketing Search Engine Strategies by Read a Book Hello everyone, i am not able to fix this issue in the Search Console `Video is not the main content of the page` but actually it is! When you enter in my product page the first thing that appears is the video it self! (hosted on imgur platform) I even added additional Schema video tags but that seems is useless. here is the code i am … Re: Video is not the main content of the page Digital Media Digital Marketing Search Engine Strategies by Read a Book But i am generating the JSON code dynamically. If there is no video than i hide the VideoObject tag with if statement. Should i just remove the `itemscope itemtype="http://schema.org/VideoObject"` Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Read a Book > Make sure that every page has the correct link rel=canonical Where should i place this tag ? > Ensure there are no internal links anywhere in your site that use this wrong version of the URL. I ensured and updated the search.php file which was redirecting to `non-www` version, now is fine. > Ideally, implement 301 … Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Dani Make sure that every page has the correct link rel=canonical html tag set to tell Google what the one and only URL to the page is. Ensure there are no internal links anywhere in your site that use this wrong version of the URL. Remember, Google is finding this wrong URL somewhere! It’s not making it up :) Ideally, implement 301 redirects… Re: Backlink Indexing issue Digital Media Digital Marketing Search Engine Strategies by Dani Make sure the backlinks are on pages that are not noindexed (they neither have a meta noindex tag nor a noindex http header), as well as the pages’ URLs not matching any rule on their website’s robots.txt file. Additionally, make sure that the page on your own website the backlink points to doesn’t match a rule on your site’s own robots.txt … Re: Video is not the main content of the page Digital Media Digital Marketing Search Engine Strategies by Read a Book BUMP. Anyone can help with this issue ? :/ Re: Video is not the main content of the page Digital Media Digital Marketing Search Engine Strategies by Dani I’ll take a look at this tomorrow. I’m currently in bed :) Re: Video is not the main content of the page Digital Media Digital Marketing Search Engine Strategies by Dani You have the itemtype set to a VideoObject but, as you point out, only sometimes is there actually an .mp4 file. The rest of the time, it's a static image such as a png, jpg, or jpeg. Google probably doesn't trust your meta tags since they are inaccurate half the time. Re: Video is not the main content of the page Digital Media Digital Marketing Search Engine Strategies by Dani Yes, if the page does not contain video content, then remove `itemscope itemtype="http://schema.org/VideoObject"` I'm so sorry for not responding sooner. I just saw your post now. Re: Tag Cloud Generators? Digital Media Digital Marketing Search Engine Strategies by jafrain_jaff Tag cloud generator is a block to generate most popular keyword and the frequency of the website. It analyzes those keywords which user can type for searching the website through Google. And yes it is very reliable and I recommend you to go for: http://www.scotiasystems.com/keyword-tag-cloud/keywordcloud.php Re: tag printing Community Center by fpsasm tag, as in barcode? or as in a small piece of "paper" with a few characters? Tag System Programming Databases by delta_frost I wish to implement a tag system for a gallery,I have a huge number of images and all of them are to be associated with one or more tags. The number of tags is also large,but not exceeding say 500,isn't constant.Tag texts may also be large in certain cases. What is the best way to implement such a tag system performance-wise(out of the following or… tag <? Programming Web Development by dourvas hallo there i had built a bunch of webpages and they ve been working fine for months. yestarday i installed this website to another computer after i instaled easyphp 5.4.6 (Apache 2.4.2, mysql 5.5.27 and php 5.4.6). it seems that nothing is working as it should. after i debug my code i found out that the tag <?, that i used a lot, can not be … tag system Programming Databases by jboog I'd like to add tags to my app. I have several different resources I would want to apply tags to, such as blogs, picture galleries and a few others. More efficient to add tag columns to each resource table or create a seperate table for tags that refrences each resource. I can't decide on the trade off. its a web app written in php5 and mysql5 I… Re: tag system Programming Databases by binaryten [quote=jboog;316983]I'd like to add tags to my app. I have several different resources I would want to apply tags to, such as blogs, picture galleries and a few others. More efficient to add tag columns to each resource table or create a seperate table for tags that refrences each resource. I can't decide on the trade off. its a web app written … Re: tag system Programming Databases by dezignwork I am in process of doing something similar for one of my web sites. I would add another question here for anyone to discuss. Is there a better design that allows to group tags so that they don't grow exponentially over time. Imagine tags like: tag, tags, the tags, tagg, etc. Any ideas? Tim Tag Handler, HttpSessionBindingListener, Application Scope interactoin Programming Web Development by sciwizeh I'm trying to list currently online users on a pet project I'm working on. I've found a few ways to do it, but I'm having difficutly getting the one I chose to work properly. The basic idea was to use an HttpSessionBindingListener on the users information to add it to a list in the application scope, and remove it when the session was terminated.… Tag archive page Programming Web Development by reco21 Hello, I'm making a tagging system for a script. The tagging system is much like the one here. be it's not normalized like this one. It's a single table in my database with three columns. uid | id | name The 'id' field is not auto increment. It is a field which holds the corresponding tables unique id. Everything works well. I … Re: Tag archive page Programming Web Development by pritaeas Problably something like: [code] $tag = $_GET['tag']; // tags.php?tag=php $query = "SELECT * FROM tags WHERE name='$tag'"; // slightly different, you know what should be here $result = mysql_query($query); if ($result) { while ($row = mysql_fetch_assoc($result)) { // output your data here. } } [/code] Re: Tag archive page Programming Web Development by pritaeas I think you answered your own question already. A tags.php file should work just fine. You can get the tag through the URL. So, just make your tags clickable with an A tag, and point it to the tags.php?tag=bookreview tag that shows hand on mouseover Programming Web Development by hinde I need a tag that doesn't go anywhere when I click on it but will show the little hand with index finger outstretched like I am hovering over the text teh tag applies to. I googled for a while, but could not find anything related to what I am looking for. I need this because I am writing a file that will execute a javascript function when I click…