Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim Hi David, > More problems. I incorporated the coding Biiim provided. Before any changes, after submission, would display the correct (yellow) screen. After code changed, not only will still not send email but screen turns blank white. URL provider, IONOS, told me that the Host is smtp.ionos.com and the Username and password are for an email… 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. ABC for Github-programs and Python Programming Software Development by Audun Hi I want to make use of GitHub-programs, and so I downloaded a bunch of Python-tools. When I run this command in "Python 3.12", which looks like CMD to me, I get a syntax error. "To create a virtual environment, Python supplies a built in venv module which provides the basic functionality needed for the virtual … Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Read a Book I have made a change to my website from `non-www` to `www` since i saw many google owned websites use `www` in front of the domains.. so i though why not me too. But after making the change i did a google search on the same topic and came up to many different answers from the communities. I also ask BARD and ChatGPT about the same topic and they… 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: How to disable the automatic swipe effect on the product page? Programming Web Development by Read a Book @kimnancy I tried contacting them for over 2 weeks... Their customer support is non existent P.S i still have the same problem... i still cannot disable the auto swiping effect... Tried to learn the lightgallery docs. but cant find relevant info Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani The first thing I will say is never output `$_POST[]` content directly into the HTML without escaping it first. You are leaving yourself wide open to an HTML injection attack. Not only that, but you're also leaving yourself open to invalid HTML. All it takes is to wrap your user-sent variables with htmlspecialchars to make sure they're HTML-escaped… Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim In your code where you write `mail($to,$subject,$message,$headers);` if you want to get error messages or "do something if it fails" you need to alter it a bit to something like: if(mail($to,$subject,$message,$headers)){ //if successful do something }else{ //if error do something else } //or… Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner I do not have access to the PHP error log nor do I know how to check to see if mail() is returning false. The coding I'm using has worked (e.g. sent email with submitted info) for 13 years and now stopped working. My URL/PHP provider, Ionos, claims it won't send because all recipient email addresses need to be authenticated and a new STMP PHPmailer… Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner Re: Biiim's post, the coding you suggest to get error messages looks like something good to try and the PHP Mailer stuff looks the same as the generic code I got from Ionos. It sounds like all these methods are appearing favorable for solving the problem. This kind of troubleshooting can be very frustrating so thanks for your help. Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani I wonder if the problem is that your php mail() function is configured to use SMTP in your php.ini file. A lot of SMTP servers switched over the past year or so to using XOAuth2 for authentication. A username + password in your config settings will no longer suffice to establish a connection. You can see me complaining about it [here](https://www.… Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner Ran into some new issues. Here goes. In order to download PHPMailer, must download Composer. In order to install Composer, need a Command Line PHP.exe file. I do not have one of these. I have been using PHP services from URL provider, 1 & 1/Ionos since 2011. They said in order to get a Command Line PHP.exe file, requires SSH to 'Connect to … Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim You don't need composer or access to the php.exe. just locate the PHPmailer Directory into your web root, to keep it simple and the require links should point to where it is located. mine is `require 'includes/PHPMailer/src/PHPMailer.php';` cause I put it in a folder called includes, this should be relative to the file that is using it.… Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner More problems. I incorporated the coding Biiim provided. Before any changes, after submission, would display the correct (yellow) screen. After code changed, not only will still not send email but screen turns blank white. URL provider, IONOS, told me that the Host is smtp.ionos.com and the Username and password are for an email address associated … Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani > After code changed, not only will still not send email but screen turns blank white. That's a PHP fatal error. It could be a syntax error, or it could also be that PHPMailer is not in the location you're telling PHP to look. Do you have any way of accessing the error log? Without access to the server, perhaps through a web-based control … Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani To clarify, I am suggesting: [...] //make your email body to send here $survey = "RadiantNewHorizonHomes.com General Inquiries" . "\r\n" . "\r\n" . "Name: " . $_POST['Name'] . "\r\n" . "E-mail Address: " . $_POST['Email'] . "\r\n&… Re: ABC for Github-programs and Python Programming Software Development by Reverend Jim I have an apps folder on D: where I keep all my portable/homegrown software. Let's say I want to create a virtual enviromnent in `D:\apps\MyVirtual`. To do this I open a command shell and do D:\>cd apps D:\apps>python -m venv MyVirtual If I install any packages in this session, they will be installed in the virtual python. … Re: ABC for Github-programs and Python Programming Software Development by Reverend Jim I have developed a number of GUI applications in python. I found that the wxpython package was far better than tkinter. wxpython is based on wxwidgets which is essentially windows controls. Because wxwidgets are compiled for each major system, controls rendered by wxpython look like the native controls for whatever system is hosting. Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Dani As someone who has been in the SEO industry for over two decades, it doesn't really matter if you use www or non-www. All that is important is that, whichever you choose, you stick to it. That means that all links on the web (social media, etc.) point to the same version of your domain. All internal links on your website point to the same version … Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Read a Book I was about to ask next about the `Google Search Console` whether i should make new property with `www` or not. So now i made the new property, should i delete the old one, or just leave it like it is? Google wont get confused on which property should crawl? I will also make a dynamic sitemap that is generated with PHP with the `www` in the … Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Dani Google won’t get confused as long as you implement 301 redirects from non-www to www. The benefit of keeping both search console accounts is you can keep track and see that Google is stopping/slowing down crawling the old one and no longer indexing it. If Google search console is still showing you indexed pages for the non-www property, then … Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Read a Book > Google won’t get confused as long as you implement 301 redirects from non-www to www. I have code in `.htaccess` file ` # Redirect non-www to www RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L] ` Is this good enough? I also have another question related to seo. I … Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Dani I don't have personal experience with multilingual websites or non-English websites to be able to advise you on what's best. However, I would advise you that while it's appropriate to use multiple fonts, you want to ensure the entire website has a consistent look and feel, navigational structure, and design language. Otherwise it will be very … Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Read a Book Alright, got it! So Google is smart enough to realize that `pametno-indukcisko-resho` and `паметно-индукционо-решо` mean the same in my language. Thank you so much for the help Dani! Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Read a Book Just as an update to this thread. I noticed weird link structure getting indexed on google after i created the new property with `www` version. Take a look how my links are getting indexed https://www.kupisi.mk/product/index.php?mainCategory=за-дома&productName=елегантен-кујнски-мијалник-од-нерѓосувачки-челик&product_id=44… 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: 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 Read a Book I just updated the canonical url structure format into Cyrillic characters. $canonical_product_url = "https://" . $_SERVER['HTTP_HOST'] . "/product/$mainCategory/$productName/$productID"; $product_url = "https://" . $_SERVER['HTTP_HOST'] . "/product/" . urlencode($mainCategory) . "/"…