- This topic is empty.
-
AuthorPosts
-
February 5, 2008 at 9:07 pm #760149AnonymousInactive
Bonus Paradise, try this:
Redirect to www (htaccess redirect)
Create a .htaccess file with the below code, it will ensure that all requests coming in to domain.com will get redirected to http://www.domain.com
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]Please REPLACE domain.com and http://www.newdomain.com with your actual domain name.
Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.
I got this code from:
xhttp://www.webconfs.com/how-to-redirect-a-webpage.phpYou can check the redirection at:
xhttp://www.webconfs.com/redirect-check.phpFebruary 5, 2008 at 10:13 pm #760156AnonymousInactive@elgoog 152656 wrote:
add the site to google webmastertools/sitemaps
in there you can at least tell google what your preference isIn google webmaster tools they ask there for preferred URL
and i did choose the www option
I am not having this google sitemap yet, oops
Sorry, feeling already bad against myself
have so much to do and to learn and feel all takes so long, lol
Somehow i feel sometimes i just dont know where to start and where to end
lol
Many thanks for the advice elgoogWow LandofOz
my Bravenet has Apache server
you think this will work there?
Also to you thank you very muchYou guys are all so great
Hope to meet many of you soon in person.:wavey: Marina
February 5, 2008 at 10:57 pm #760162AnonymousInactive1. no sitemap needed/required to get the preferred url working
but choose the one u used yourself mostly to point to your site
and make sure you use it that way to link to your home from other pages and sites, and get others also to link to you with the proper url.
2. apache server is fine to do the .htaccessdon’t worry to much about this issue
e.g. capeuro.com and asop.com are also reachable with and without www and don’t seem to have a problem….lolFebruary 5, 2008 at 11:10 pm #760164AnonymousInactivelol
Dank je wel Elgoog
you just made me feel so much better my friend
Have a good night :hattip:February 16, 2008 at 8:37 am #761016AnonymousInactiveAt the start of the year one of my sites was spanked by google from PR6 to PR0. I thought it was doomed. Yet if anything I’ve seen a slight increase in traffic.
PR is a ruse by google to pull the wool over SEO’s eyes surely? ‘online casinos’ google search has PR2’s on the first page…
March 29, 2008 at 9:14 pm #764554AnonymousInactive@LandofOz 152664 wrote:
Bonus Paradise, try this:
Redirect to www (htaccess redirect)
Create a .htaccess file with the below code, it will ensure that all requests coming in to domain.com will get redirected to http://www.domain.com
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]Please REPLACE domain.com and http://www.newdomain.com with your actual domain name.
Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.
I got this code from:
xhttp://www.webconfs.com/how-to-redirect-a-webpage.phpYou can check the redirection at:
xhttp://www.webconfs.com/redirect-check.phpI just want to thank LandofOz and all others here for advise and comments
I fighted a bit around today on my site Online Kasino Portal
but figured this htaccess out .
And I learned also that i had my internal links total mixed
I had the whole URLs addes , not only the path
and there i had some URLs with and some without www
so I think this was sure not the best thing
lol
I think I have now all changed correct
and i checked also the redirect and it seems to be fineMany thanks again everyone
I am glad to be a member here with so many great people.Have all a nice weekend
Marina
-
AuthorPosts