11,530 Posted Topics
Re: Yes, it's possible, but how to do it depends on if you are using Nginx or Apache. If it's Apache, you will need to add a mod_rewrite rule to an .htaccess file and upload it to the domain root. The contents of the .htaccess file would look something like this: … | |
Re: Were you also hit by the [Google Helpful Content Update](https://developers.google.com/search/blog/2022/08/helpful-content-update) that ran the week before the September core update? I saw a big win from the helpful content update, and then it crashed right back to where it started after the core update. Unfortunately, Google hasn't announced anything specific that … | |
Re: Did the code you provided not work? I haven't tested it, but it should give you the two numbers in the variables $first and $second. I think a problem you might be running into is that the & character has a special meaning in URL query strings. For example, a … | |
Re: I coded DaniWeb in php and can help you with any questions you may have. | |
Re: Your webpage has the line: <meta name="robots" content="noindex"> in the `<head> ... </head>` section. Remove that line and Google will be able to index that page. | |
Re: I'm not sure, but [maybe this could help you?](https://php-decimal.io/#introduction) | |
Re: Because it gives businesses an opportunity to engage with their customers and prospective customers, and learn and understand their needs and wants, in a way that was never achievable before. And it gives customers an opportunity to feel heard by big brands. | |
Re: [Here you go](https://www.daniweb.com/digital-media/digital-marketing/search-engine-strategies/threads/538406/what-is-search-engine-optimization-strategies) | |
![]() | Re: I would do if (...) { } else if (...) { } else if (...) { } else { } It's not good practice to short circuit the page by calling exit; in the middle of an if-else block. You might also wish to look into [try/catch blocks](https://www.php.net/manual/en/language.exceptions.php) for errors. |
Re: I have no experience with Java or Derby. But your code seems to connect to a database whose files are stored at a path on the C:\ drive. That type of file system convention doesn’t exist on macOS, which is Unix-based. Instead, try replacing the path with something like /home/username/softechdb. | |
Re: I think guest posting still works, for now, but Google is getting smarter about whether it’s spun content for backlinks, or whether the guest poster is actually a leader in the field that the blog is about and of importance to the audience. I think that guest blogs do carry … | |
Re: rproffitt provided a link to the code for a simple encryption function. However, there are also many pre-existing python encryption libraries. https://docs.python.org/3/library/crypto.html You can also check out https://www.pycryptodome.org/src/introduction | |
www.domain.com/favicon.ico is showing up as a Soft 404 in my GSC Coverage report. I can't imagine blocking it with robots.txt because it seems as if bots might want to access it from time to time. Suggestions? Or should I just ignore? | |
Re: I would just use Google or Yelp or whatever the local equivalent is. | |
Re: Congratulations on graduating and good luck! Now that school is behind you, are you submitting your resume to different places to start out your career? | |
| |
Has anyone ever come across any authoritative statement from Google on their official position of whether RSS feeds should be noindexed or not? | |
The Coverage section of Google Search Console shows 206K valid URLs, of which 174K are submitted and indexed, nearly all of which are Q&A pages. The remaining 32K are indexed, but not submitted in sitemap. However, the Core Web Vitals section only shows data on 28K URLs. In the Enhancements … | |
The number of known pages in Google Search Console blocked by robots.txt in the Coverage report just recently started going down. Over the course of this month, it went down from about 400K pages to 200K pages. No changes to robots.txt file in 6+ months nor any big structural changes, … | |
If a page is noindexed, but includes a meta reference to an AMP version, is this a mixed signal? Is the AMP version checked to see if it’s noindexed as well? Are there situations where you would want to index the AMP version but not the desktop version? Is Google … | |
Re: For me it's been posting long form tutorials and then linking to them from social media. | |
Re: I used Ahref's free [keyword difficulty checker](https://ahrefs.com/keyword-difficulty) to see that "peak milk" is a really easy keyword to rank for, so I think that's definitely a very realistic goal. However, your website doesn't mention it at all or talk about it anywhere, so I don't think you'd be able to … | |
Re: I think the question is obvious. Cloud kitchens (or ghost kitchens) are commercial kitchens that don't have a sit down restaurant. Rather, they rely 100% on food delivery apps such as Grubhub or Doordash to bring the food straight to your door. In the app, you order delivery from a … | |
Re: What is your website? Also, can you explain what you mean by "responsive"? When a web design is responsive, it usually means that the design renders nicely at any browser resolution and across phones, tablets, and desktops. On the other hand, responsiveness can also be related to speed. Google's algorithm, … | |
Re: What do you mean by a Mario game? Do you mean a game with a little graphical guy that walks across the screen? If so, that's a pretty involved project. Pretty much any fully functioned app nowadays that does anything will include classes and some level of abstraction. | |
Re: Hi Frank and welcome to DaniWeb! What made you choose Python? Do you have any previous programming experience? | |
Re: Well is that code the entire thing? The </urlset> is never closed. Also, why is the <loc> and all wrapped in `![CDATA[]]`? Typically that is only done when you have paragraph blurbs of text that you wish to escape. I suspect that they just thought it can't hurt to escape … | |
| |
Re: There can be an infinite number of levels of sitemap index files pointing to sitemap index files pointing to sitemap files. Luckily, the BJ_Crawler class you described over in [your other thread](https://www.daniweb.com/programming/web-development/threads/538867/php-xml-sitemap-crawler-tutorial-sought) already uses recursion to currently handle an unlimited depth, so you don't need to handle this on your … | |
Re: > No need to write php code for the crawler to sniff out the SiteMap url as the site owner's will submit on the "Link Submit" form the url of their sitemaps. Many sites, DaniWeb included, also include a link to the sitemap file in our [robots.txt](https://www.daniweb.com/robots.txt). That being said, … | |
Re: Nowadays, modern PHP code tends to be very OOP-focused, so I think the long term goal should be to step-by-step learn OOP so that you can come to appreciate the many benefits it offers, and be more comfortable when you end up exposed to it in the wild. (Which will … | |
A lot of times when doing guest posting outreach, it's the recommended strategy to link to content pages (e.g. specific blog articles, etc.) as opposed to your primary landing pages. It's my understanding that the reason for this is because your link is more likely to be flagged as spammy … | |
Re: Aww, I'm really sorry. What a bummer. What brand computer is it? I assume it's a desktop? What parts did you swap out 2 months ago? | |
Re: Hi and welcome to DaniWeb!! What type of SEO do you typically focus on? Ecommerce sites? Publications? Do you have a specific niche? | |
Re: So I saw your private message about needing to be verified for a dating app of some sort. I'm not quite sure what you're referring to. I suppose a way to verify your age is with your driver's license? | |
Re: Giampives, are you getting a "friendly" error message saying it's not compatible? Or is it just erroring in the middle of the install? | |
Re: Why does your dishwasher need wifi? I can understand with things like an oven, because we use that here so it automatically knows the precise cooking temperature and duration for any food. But a dishwasher? | |
I’m using the UA tag to populate both my original UA account as well as GA4, and the users and page view difference is absolutely astounding. Probably like a 20% discrepancy in UA’s favor. UA is set to exclude bots. Is anyone else having a similar experience? | |
In 2022 (as opposed to a few years ago, when Google was really prioritizing AMP in the SERPs), does it make sense to use AMP pages for a content-based site, but *not* news-based site (e.g. Google News is not relevant) if you can achieve all good core web vitals metrics … | |
Search Appearance in Google Search Console performance report shows a line item "Education Q&A". Does anyone know how this differs from "Q&A rich results"? Education Q&A has a really good search position compared to Q&A rich results, which is the majority of our pages. When I look at top pages, … | |
I am using GAM as so: <script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script> <script> window.googletag = window.googletag || {cmd: []}; googletag.cmd.push(function() { googletag.defineSlot('/86406173/ArticleLeaderboard', leader_size, 'div-gpt-ad-1321481451196-0').addService(googletag.pubads()); // etc. googletag.pubads().collapseEmptyDivs(); googletag.pubads().enableLazyLoad(); googletag.pubads().enableLazyLoad({ fetchMarginPercent: 200, renderMarginPercent: 100, mobileScaling: 2.0 }); googletag.pubads().enableSingleRequest(); googletag.enableServices(); }); </script> Is there a conflict of interest between `enableLazyLoad()` and `enableSingleRequest()`? Thanks! | |
My office computer had a Linksys router (that supports VPN) connected to both a Windows Server Essentials 2012 (acting as a domain controller) as well as a Windows 8 workstation. I brought my workstation to my home office today, and I want to connect to my office network and continue … | |
We were recently hit hard by the latest core algorithm update. Since then, we turned off our AMP pages and our crawl rate, which had been rather consistent for the past many months, has been steadily climbing. Can we draw any conclusions? Is a climbing crawl rate a positive signal … | |
Re: I'm sorry that Google Ads are giving you a big headache. Personally, I find the web interface to manage my campaigns and ads incredibly confusing. Instead, I prefer to use the [official downloadable editor](https://ads.google.com/home/tools/ads-editor/), and I find it much easier to use. Plus you can copy and paste a lot … | |
Re: https://www.ebay.com/sellercenter/listings/ebay-bulk-listing-tools | |
Re: 1. Are you entirely sure that there are ten columns in the model profile table, listed in order of the columns specified, and with the appropriate filed types (e.g. the columns storing pictures should be blobs, etc.)? 2. Instead of using htmlentities surrounded by manual single quotes, use `$conn->real_escape_string($string)` as … | |
Re: Hello! You would need to use AJAX (you can do it through jQuery) to send an xhr request. |
The End.