How can I have all URLs under http://daniweb.com redirect to http://www.daniweb.com for SEO purposes?
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Recommended Answers
Jump to PostYou could either use a redirector script (not the best way to do it) or you could make sure your httpd.conf has www.daniweb.com as the ServerName instead of just daniweb.com (if you have control over your server.) My guess is that your httpd.conf has just daniweb.com, but …
Jump to PostAnd I thought you were the pc gal. You disappoint me Dani...
:P
Jump to PostPersonally, I don't use .htaccess if I can do it in httpd.conf. Even the folks over at Apache suggest that. But I digress...
I just did a "dig" on both domains, and found some differences in the results (which should be the same, since they're both on the same …
All 12 Replies
TheOgre
77
Posting Whiz
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Roberdin
9
Supreme Evil Overlord
Team Colleague
TheOgre
77
Posting Whiz
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
TheOgre
77
Posting Whiz
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
TheOgre
77
Posting Whiz
TheOgre
77
Posting Whiz
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
JRED
0
Newbie Poster
MacemanDerek
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.