New answers tagged

0

It does not make sense and you should not risk it. Spend some time to create content on all old websites that drive some traffic to your new website. Go for peace of mind. Content is king.


1

The IANA Language Subtag Registry does define relevant region subtags: 150 for Europe EU for the European Union EZ for the Eurozone So you could use this link element to link from xwz.example to abc.example: <link rel="alternate" hreflang="en-150" href="https://abc.example/" /> For the link in the other direction, you can only use a tag without ...


1

You have a few fundamental problems with your last line. RewriteRule ^/?$ "http\:\/\/10\.10\.10\.10\:8080" [R=301,L] Change it to: RewriteRule .* http://10.10.10.10:8080 [R=301,L] Of course, I assume that the IP address 10.10.10.10 in your example is just an example and that you are not trying to redirect to a private IP address that is not routable. ...


2

Yes, sort of. Put yourself in the visitors shoes (with google at their back) and ask how you can introduce your new content to them in a relevant way. ie old site is about say hiking and new one is about music recording services add content to the hiking site aimed at say hikers who like to bring their guitars along on hikes to play encouraging them to ...


11

First, something that's implied in other answers, but should probably be spelled out: the situation you describe is something Google actively wants to discourage -- you're not "collateral damage" in their fight against spammers, you are their intended target in their fight against irrelevant and 'deceptive' results. ('Deceptive' in the sense that you think ...


1

What you are referring to is a "front controller". The usual first step is to make sure that the resource being requested is not a physical file on the filesystem before rewriting to your front controller (ie. your Perl script). For example, using mod_rewrite in your root .htaccess file: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{...


0

Just implemented this for my site. Works like a charm! Added to the top of my .htaccess file. Redirects all instances of people typing www or not www, http or https. # BEGIN HTTPS Redirect RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.example.com/$1 [R,L] # END HTTPS Redirect


4

One thing that all your sites have in common is you. Why not throw a designed by link at the bottom of your site that links to your "portfolio" where your new business is prominently displayed.


4

301 Redirects are completely fine if they're real. If you had an old site and then decided to move/combine it with some other related site, there's absolutely no problem putting up a 301 redirect on the old site to send users to the new site. You should not be penalized for this in Google and if you are, they're completely reasonable about fixing it if you ...


4

The best thing to do is not worry about the traffic to your old sites. I had a good friend who graduated from Harvard Business. He told stories about how Harvard drummed into his head the mantra of "Know when to cut your losses." every day one way or another. From a business perspective, this is excellent advice! It is good advice in life too!! You are ...


5

Bad Idea! Never, I repeat NEVER do that. I tried that 3 days ago and after couple of days the site to which I redirected completely lost all its rankings. Not even it was ranking on searching domain.com in Google. All indexed pages are still there but the site lost its ranking completely. I can provide the links of the sites as proof but that's not allowed ...


22

You can't redirect your old sites without losing 90% of their value and risking a penalty on your new site. There usually isn't a huge cost to leaving old sites up and running. You could use them to advertise your new site. Put a banner about your new site on every page of your old sites.


3

The way Google looks at this is whether the links you've added add up to the quality of the pages. It's a myth that linking out hurts, on the contrary, linking out to relevant authority sites helps improve your topical authority. Google sees this as an attempt to provide a better user experience. However, if you have 10 links or a hundred links going out ...


0

Regarding the parameters setting in Webmaster tools - you should only define these if you did not have the message from google displayed: "Currently Googlebot isn't experiencing problems with coverage of your site, so you don't need to configure URL parameters. (Incorrectly configuring parameters can result in pages from your site being dropped from our ...


1

The easiest way to do this isn't with rewrite rules but with the redirect directive. Simply use Redirect 301 /oldfile.htm http://example.net/newfile.htm in your .htaccess file to redirect a single file from the current site to a file on another domain.


1

The issue here will be the ServerAlias directive. Duplicating vhost files from other sites can be an issue as you don't need to have all those directives. The bare bones vhost file you need is... <VirtualHost xx.xxx.xxx:80> ServerName test.example.com DocumentRoot /home/example/public_html/test </VirtualHost> Everything else in the ...


0

In answering your first question this depends on the DNS software you decide to use on the server. I am going to use Bind in my answer here as it is the most commonly used DNS server on Linux servers used as far as I am aware. Can DNS A Records Be Added From The Terminal: It depends on how you interpret this part of the question. Strictly speaking you can ...


0

This is very much dependent on the way your application is written. If the exact same application handles everything and it is all build under a single global controller then the application should handle version routing but if you have several separate applications based on which version they are then the server should handle routing to the appropriate ...


0

You need to remove the commented out server alias declaration. By commenting it out the only domain string that would use this vhost file is domain.com. You will probably find that the domain that the www domain is being redirected to is in the default configuration for the server where all connections not specifically handled by vhost files are directed to.


0

What you are searching for is known as a CNAME record. With Windows Azure you will be given a public URL for the service usually under a domain associated with Azure. From there you change the current A record to a CNAME record with the same sub domain name and simply add the public domain for the Azure service. What will happen then is when a user tries to ...


2

From past experience I think you may find that the issue will be memory related and not precisely related to the rewrite rules per-say. What I have found in the past, although I can't find it documented anywhere is that IIS heavily depends on the system memory to perform URL rewriting, I believe it has something to do with caching the rules. If this is the ...


1

Yes, it is possible and it is a well known process often called as setting up your preferred (canonical) destination. You should use 301 redirects to send traffic from the non-www URLs to the www URLs. It is a good practice also if use Search Console to set your preferred domain. To implement a 301 redirect for websites that are hosted on servers ...


1

I suggest you add [R=301,L] after your RewriteRule in your .htaccess to redirect the visitor, like so: RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] Currently your telling the browser "There is a https version I want you to visit". The R=301 adds "I want you to go there via a 301 reload". It's the reload part you don't have in place ...


4

If you never intended to have such urls in your site and they truly mean nothing for you, then it's better to keep serving them as a 404 - a page that is not found - not existing in the site. Use redirects if you used to have a page with important content, indexed and present in SERPs, that brings a lot of traffic to your site. In the 404 section of ...


1

Google Search Console (Link to your site report) is not up to date and has not enough accuracy. So you should not count it.There are many backlinks that Google not display in "Link to your site" segment and there are many removed links that you can still see in "Link to your site" segment. You can use other services such as Ahrefs and... to collect more ...


1

The problem with automatic redirection based on the user's language is that it could prevent users and search engines from viewing all the versions of your site. The best approach is to cross link each language version of a page, so the user can reach the desired language with a language selector easily, and search engines won't get confused (besides many ...



Top 50 recent answers are included