| | |
custom .htaccess file 301 Redirect to non www form
Please support our Search Engine Optimization advertiser: Get a Free SEO Analysis!
![]() |
•
•
Join Date: Jul 2004
Posts: 18
Reputation:
Solved Threads: 0
Would someone please create a
custom .htaccess file
301 Redirect pointing all calls using the the www
version to the non-www form.
for clearcanes.com that I can insert
so all my back links help my PR.
I found out how to access and edit the
existing hta file:
%2Fpublic_html%2F.htaccess
(apatche)
I saw the tutorals, but I'm not too quick on this.
What I tried didn't work
Need someone to write the exact code to insert.
I think it's one or two lines.
custom .htaccess file
301 Redirect pointing all calls using the the www
version to the non-www form.
for clearcanes.com that I can insert
so all my back links help my PR.
I found out how to access and edit the
existing hta file:
%2Fpublic_html%2F.htaccess
(apatche)
I saw the tutorals, but I'm not too quick on this.
What I tried didn't work
Need someone to write the exact code to insert.
I think it's one or two lines.
•
•
Join Date: Jul 2004
Posts: 18
Reputation:
Solved Threads: 0
No replys... this is what I tried, but it didn't work,
am I close?
RewriteCond %{HTTP_HOST} www.clearcanes.com RewriteRule ^(.*) http://clearcanes.com/$1 [L,R=301]
am I close?
RewriteCond %{HTTP_HOST} www.clearcanes.com RewriteRule ^(.*) http://clearcanes.com/$1 [L,R=301]
I did some research and found the code to do the opposite, which is to add the www, is:
However, it doesn't seem to work with subdirectories. Can anyone comment or help out with this? Thanks!
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^daniweb\.com [NC]
RewriteRule ^(.*)$ http://www.daniweb.com/$1 [L,R=301]However, it doesn't seem to work with subdirectories. Can anyone comment or help out with this? Thanks!
•
•
Join Date: Jul 2004
Posts: 18
Reputation:
Solved Threads: 0
Seems to work, pointing all calls using
non-www to www form.
(adds the www)
Not exactly what I wanted, but it probably will even out
in a couple months. A bunch of thanks to you, cscgal.
Tried reversing placement of the www, and the status bar, kept
switching from www or non-www and back, with no page load.
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^clearcanes\.com [NC]
RewriteRule ^(.*)$ http://www.clearcanes.com/$1 [L,R=301]
non-www to www form.
(adds the www)
Not exactly what I wanted, but it probably will even out
in a couple months. A bunch of thanks to you, cscgal.
Tried reversing placement of the www, and the status bar, kept
switching from www or non-www and back, with no page load.
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^clearcanes\.com [NC]
RewriteRule ^(.*)$ http://www.clearcanes.com/$1 [L,R=301]
Are you keeping it set up this way or should I still be on the lookout for the reverse? Personally, I always use www in domain names.
•
•
Join Date: Jul 2004
Posts: 18
Reputation:
Solved Threads: 0
Keeping it this way, switching all links etc to www form.
PR dropped from two to 0 but, still have about same decent results from
my best search phrases. I know it will take a while to consolidate backlinks and even out. I want to thank you again, the seo places I tried to pay to do this didn't want to get involved with something so small.
PR dropped from two to 0 but, still have about same decent results from
my best search phrases. I know it will take a while to consolidate backlinks and even out. I want to thank you again, the seo places I tried to pay to do this didn't want to get involved with something so small.
•
•
Join Date: Jul 2004
Posts: 18
Reputation:
Solved Threads: 0
Effects of 301 redirect update, a few days after:
Of couse Google PR dropped a couple points but search results for my best search terms are the same (lucite cane is still toward the bottom of the second page) I guess PR isn't everything, one site with the same product has a PR0 and is always in 1-3 spot on the first page.
Yahoo is a different story, I used be toward the top (1-3) of the first page,
Now many pages from the first, for "lucite cane/s "
This is interesting. I'm paying for my laziness in not filling in the www.
Of couse Google PR dropped a couple points but search results for my best search terms are the same (lucite cane is still toward the bottom of the second page) I guess PR isn't everything, one site with the same product has a PR0 and is always in 1-3 spot on the first page.
Yahoo is a different story, I used be toward the top (1-3) of the first page,
Now many pages from the first, for "lucite cane/s "
This is interesting. I'm paying for my laziness in not filling in the www.
Check out a bunch of other posts on this forum about google PR. After any major changes such as this, I'd also give it about 2 weeks before you see any real Google effects.
•
•
Join Date: Jul 2004
Posts: 6
Reputation:
Solved Threads: 0
Google is unstable from last 7-8 days after change of BL's So we cannot draw the conclusions till the dance or updates are completed
Mohnesh Kohli
http://www.megrisoft.com
Manual Directories Submission Article Writing Services
Get Cheap Web Hosting , Designing & SEO Services.
http://www.megrisoft.com
Manual Directories Submission Article Writing Services
Get Cheap Web Hosting , Designing & SEO Services.
I had heard somewhere though that Google doesn't dance anymore. Instead, it's just a constant flow of small updates. All that happens is every X weeks the backlinks we see are updated and the google toolbar is updated with a newer PR - but in reality, G had been taking those things into consideration long before we got to see them.
![]() |
Similar Threads
- custom .htaccess file 301 Redirect to non www form Prolems (Search Engine Optimization)
Other Threads in the Search Engine Optimization Forum
| Thread Tools | Search this Thread |
advertising affordable airplane alexa analytics apple audioanalytics audiosearch backlinks benefits bing biometrics block blog blogs business codesearch design development digital directory dynamicdigitalsignage engine enterprisesearch eric_schmidt facebook flashwebsiteoptimizationtips gaudi gmail google googleanalytics googlelongersearchbox googlesearch googletrends imagerecognition imagesearch indexedpage india internet internetmarketingcompanyindia keyword keywords kumar leweb link list marketing microsoft money news no-follow opensource optimizingforbing organic pagerank posts ppc propertly ranking refresh revenue search searchengine searchengineoptimization searchengines seinfeld semanticsearch semanticweb seo seocompany seooptimizationindia seoservices serps services sets sex socialnetworking space spam stalking system testing tools tweetnews twitter usenet video videosearch viralmarketing wave web webdesignindia webmarketingcompanyindia website wolfram wolframalpha wordpress yahoo yahoo! youtube







