I have a url with pagerank 4 and quite a few backlinks that i now redirect to my new website (using 301 redirect), although it has nothing to do with my new site in terms of content, link relevancy etc. I was told that using 301 redirect would "pass" the pagerank onto my new site... but I am trying to get as many pages as possible indexed in google for my new site - so would i be better of withdrawing the 301 redirect and replacing it with a page that contains links to my new site?
theres a mod- rewrite rule that redirects the page and carries all the information, you do it through the .htaccess, but im not sure what it is This page might help you http://corz.org/serv/tricks/htaccess2.php?page=all<url>
I'm not sure what I'm talking about here, but I do have a question that seems related to this thread. I have a new lifetime hosting account and going through the process of moving both of my old domains to the new host. The first one is in place and that was an easy move. I had to point the DSN address to the new host, then there is a redirect sending traffic for that domain to the subdomain folder where I put all the web pages. That is a PR4 site and so far has kept that rank. The second one won't be so easy as I have to make all new pages for it and I'm trying to keep them with the same addresses, just better content. It's a PR2 site and I have challenged myself to make it better. This is all kind of magic to me, and my question is this: When the search engines spider my site, do they see the pages sitting in a subdirectory of my home domain, or do they see them as the .com everyone else sees when they call that address? Is there something I should do to prevent them being spidered as a subdomain rather than as independent .com? I hope I've explained this well enough. Thanks for reading and any discussion.
Give me the url you want to redirect using .htaccess file and I will write the correct code for you at no charge.
Cheryl20772, search engines see your site and all the subdirectories, thats what internal linking is about, it would suck if they didnt read all the pages in your account, but ofcourse they have to be linked for that to happen They see a subdomain, ie www.yoursite.subdomain.com, its a subdomain. i never heard of a domain bieng treated as a subdomain so dont worry about that Banless I also have this problem , can you redirect <url>www.openpda.be to my new site <url>www openpda.net Thanks alot
Drop this code in your .htacces file if you can, get it a little bit of time. Let me know if it works. Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ^www.openpda.be$ [NC] RewriteRule ^(.*)$ http://www.openpda.net[L,R=301]
Banless - thanks for your help. On my old site i have now got links to some of the deeper pages in my new site (in the hope that google may index them!) is this a waste of time? Would a 301 redirect be more affective or am i totally missing the point?!
Don't 301 redirect from an old site to a new site unless you are moving the entire site. Just link to the new site.
banless, Im sorry to say that your script didnt work. I get this error when visiting www.openpda.be So can anyone fix this script Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ^www.openpda.be$ [NC] RewriteRule ^(.*)$ http://www.openpda.net[L,R=301]
DO NOT and I repeat DO NOT try to .htaccess it to your new site, as it is often referred to as Black Hat You can put a sole link on your current site to your new site to pass on some of the PR, but not HTacessing. IT
I don't think that is true, a 301 permanent redirect is fine. If you put in a normal redirect that is considered Black Hat. I have seen ways this can be done safely in htaccess, I just don't know them. I'm on of those wierd MS guys that has to do it in IIS
So no one can fix the .htaccess script Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ^www.openpda.be$ [NC] RewriteRule ^(.*)$ http://www.openpda.net[L,R=301]
instead of directly using mod rewrite, create a php file, that redirects using header(), so that you can better process the urls based on get/post on the .htaccess it should be like this RewriteEngine On RewriteRule ^(.*)$ redirect.php