Re: How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Hanginium65 …file couldn't be sent and I got the error regarding the 'NoneType' object having no attribute …Please see below the attempt I made and the error which occurred afterward. # Create a new object … Set the appropriate content type... ) Below is the error File "/opt/scripts/netbox_backups_transfer.py", line 69,… Re: How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Salem I don't understand why you need to extract all the files from the compressed `tar.bz2` just to upload to a backup. Also, line 69 is now meaningless having just posted only a snippet of the code. Before the error, what was the last `logger.info` message? How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Hanginium65 … was not found!") else: print("An error occurred checking for the existence of the object "… was not found!") else: print("An error occurred checking for the existence of the object "… + obj2) Below is the error I got after running the script. Python … Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Dani … the www version if you're getting an SSL certificate error. It seems to me as if the SSL certificate was… Re: How can I upload a tar.bz2 file to openstack swift object storage container Programming Software Development by Salem First, let's prepare two tar files using different compression schemes for demo purposes. $ cat foo_1.txt This is file 1 $ cat foo_2.txt This is file 2 This is file two This is file too # Three tar files, two compressed and one uncompressed for reference $ tar -j -c -f foo.tar.bz2 foo_1.txt foo_2.txt… 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) . "/"… Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Dani Is that what you want your preferred URLs to look like? Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Dani You are correctly implementing 301 redirects in an .htaccess file. Ensure that the redirects point to the exact same URL as you have in the canonical. Additionally, ensure that all internal links throughout your site point to that same URL as well. Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by bijutoha I've noticed this: We can locate the solution when I submit my website to GSC. ![www-non-www-bijutoha.png](https://static.daniweb.com/attachments/4/0a9e8f11115e2ecf94e9000eeffef05e.png) Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Dani I guess that’s changed since I submitted my site what I feel like is at least a decade ago. Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by ani03 If you using the permanent redirection then there is No problem, when the user enter your non www version it redirects to www version. As Dani told you have to change your Google Analytics property and google Search Console property from non www to www version. How Do I address ERROR: access violation writing 0x0000000000005140, Programming Web Development by A_957 …that occurred within my application. This type of error apparently usually points to a problem where the …0) return response except Exception as e: logging.error(f"Error generating model response:'{user_input}': {e}") return &…quot;Error processing your request." @app.route('/chat', … Re: How Do I address ERROR: access violation writing 0x0000000000005140, Programming Web Development by rproffitt Python shouldn't create such an error. Reference https://www.reddit.com/r/learnpython/comments/kv83hc/error_code_exception_access_violation_writing_0x0/ … I could nail down which line of code threw the error. Tutorial on that at https://docs.python.org/3/howto… Re: i don´t understand this syntax error when using OpenCV Programming Databases by Audun …;C:\Users\Audun Nilsen\Pictures\417507225_372771342183154_3253415116081493518_n.jpg") SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3… Re: i don´t understand this syntax error when using OpenCV Programming Databases by Audun …. I suppose that´s a good sign? It says syntax error a lot on there too. What sort of programs do… Online subission forms not sending emails of submitted info Programming Web Development by david.tigner …,$message,$headers); } else { // ReCaptcha validation failed, display an error message or take appropriate action // Example: redirect back to the… form page with an error message header('Location: form.php?error=recaptcha'); exit(); } ?> ` ` Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim … `mail($to,$subject,$message,$headers);` if you want to get error messages or "do something if it fails" you…($to,$subject,$message,$headers)){ //if successful do something }else{ //if error do something else } //or var_dump(mail($to,$subject,$message,$headers… Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani … your mail server? Do you have access to the PHP error log somewhere that might say if `mail()` returned any errors… 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 … 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. Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Read a Book … i was getting errors Invalid SSL Certificate (Error 526) `I am still getting the error but they are 100% sure it will… AI-powered Code Reviews: The Future of Collaborative Development Programming by SEO_935 … complex and creative aspects of code development. Key Features: * **Automated Error Detection:** AI tools swiftly pinpoint syntax errors, typos, and logical…