Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Dani … non-www URL to its www counterpart with HTTP 301 Permanent Redirect. Make sure you're not using 302 temporary redirects, as… Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Read a Book … 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… 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 … 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 …;]+) RewriteRule ^product/index\.php$ /product/%1/%2/%3? [L,R=301] RewriteRule ^product/([^/]+)/([^/]+)/([^/]+)/?$ product/index.php?mainCategory=$1&productName=$2… Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Dani … URL somewhere! It’s not making it up :) Ideally, implement 301 redirects from the wrong version of the page to the… Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Read a Book … to `non-www` version, now is fine. > Ideally, implement 301 redirects from the wrong version of the page to the… 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. Online subission forms not sending emails of submitted info Programming Web Development by david.tigner … failed, display an error message or take appropriate action // Example: redirect back to the form page with an error message header… 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… 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: GCC Fails to Recognize Parameters Programming by toneewa While I haven't used DJGPP for a couple decades, I decided to install the ffmpeg library and do a test program another way. For me, the declarations worked changing: #include "os_support.h" #include "avformat.h" #include "internal.h" #if CONFIG_NETWORK #include "network.h" #… 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.… GCC Fails to Recognize Parameters Programming by snah19 … cd "$FFMPEG_SOURCE_DIR" || exit 1 # clean debri gmake clean # Redirect both stdout and stderr to separate .err files exec >… Re: What are specific steps for optimizing on-page or technical SEO? Programming Web Development by SEO Outsourcing … to allow https, safeguard servers. 3. Fix broken internal links - redirect or remove, allow site crawling. 4. Increase page speed scores… Re: I need help with Twitter API v1.1 Programming Web Development by Dani … on their behalf. They'll click accept, and it will redirect back to your app along with an access token. Your… Re: GCC Fails to Recognize Parameters Programming by Reverend Jim I can't offer any suggestions other than to just download the compiled app for your system instead of building it yourself. Re: GCC Fails to Recognize Parameters Programming by rproffitt Here's another problem. When we change the OS not only must we setup the compiler, environment and such but sometimes an OS API could be deprecated or removed. You made mention of a possible OS change so that's a possibility. You obtained this code from somewhere. Go back there and see if they updated it for your new OS. redirect url and create the seo url Programming Web Development by kkavita060 redirect url and create the seo url in htaccess file abc.com/cat=4 Re: Redirect/forward form to another host Programming Web Development by jwenting redirect works, forward won't work. But of course the HTTP session does NOT get shared. And quite possibly you'll need to make sure you're working with POST requests so and change the request parameters to request attributes. Remember that nothing except what ends up in the http request gets send across.