Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
301-redirect
- Page 1
Re: Redirect non-www to www cons?
Digital Media
Digital Marketing
Search Engine Strategies
4 Weeks Ago
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
3 Weeks Ago
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…
Redirect non-www to www cons?
Digital Media
Digital Marketing
Search Engine Strategies
4 Weeks Ago
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: Redirect non-www to www cons?
Digital Media
Digital Marketing
Search Engine Strategies
4 Weeks Ago
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
3 Weeks Ago
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
3 Weeks Ago
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
3 Weeks Ago
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
3 Weeks Ago
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
3 Weeks Ago
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
3 Weeks Ago
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
3 Weeks Ago
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
3 Weeks Ago
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
3 Weeks Ago
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
3 Weeks Ago
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
3 Weeks Ago
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
3 Weeks Ago
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.
Re: Redirect non-www to www cons?
Digital Media
Digital Marketing
Search Engine Strategies
2 Weeks Ago
by AndyBeohar
Changing your website from non-www to www can have benefits for SEO consistency and branding, but the impact may vary depending on your specific circumstances. It's generally considered a good practice for long-term SEO, as it can help standardize your URL structure and improve domain authority. However, it's important to implement proper redirects…
Re: Redirect non-www to www cons?
Digital Media
Digital Marketing
Search Engine Strategies
2 Weeks Ago
by jofrachalya142
This doesn't matter as much in terms of SEO and as per my experience it ain't a ranking signal, it just help the users to open the website if they search it using "www". Adding on, it just help you in technical aspects.
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
4 Weeks Ago
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
2 Weeks Ago
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
2 Weeks Ago
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
1 Week Ago
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
1 Week Ago
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
1 Week Ago
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: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Week Ago
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…
GCC Fails to Recognize Parameters
Programming
1 Month Ago
by snah19
… cd "$FFMPEG_SOURCE_DIR" || exit 1 # clean debri gmake clean #
Redirect
both stdout and stderr to separate .err files exec >…
Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by david.tigner
… failed, display an error message or take appropriate action // Example:
redirect
back to the form page with an error message header…
Re: GCC Fails to Recognize Parameters
Programming
1 Month Ago
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
1 Month Ago
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.
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
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…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC