Tag Info

Hot answers tagged

3

http://www.example.com/ and http://www.example.com are the same URL. Whether or not the trailing slash is shown in the browser address bar is purely cosmetic - when the request is sent to the server the slash will be included. (http://www.example.com/foo and http://www.example.com/foo/ on the other hand are different URLs.) If the site you're working on is ...


3

It is very common practice to redirect to error pages when putting in a large class of redirects. In addition to wholesale HTTP to HTTPS redirects, this often happens when: You redirect from naked domain to www (or the other way around) You redirect from one domain name to another You redirect an entire directory Redirecting to a 404 page may not be ...


2

I can't think of any particular way that redirecting your home page to an article would hurt your rankings in search engines. If you might want to change the redirect in the future, consider using a 302 redirect rather than a 301 redirect. 301 redirects are kept in browser cache. Once a person visits your home page and gets a permanent redirect, they ...


2

If possible, try to use only one 301 redirection. 301 redirects transfer SEO juice, but you lose a part of it for every one of them (around 10-15%). You should make a rule to redirect specific cases first, like: example.it/index.php?id=10&link=slug (301 redirect to) -> example.eu/c10/slug... Then, if none of these rules are triggered, you should apply ...


2

In your server config, you can modify your current example to include the /abc/ directory to restrict redirects to that one directory: RewriteRule ^/abc/(.*)/(\?.*)?$ /abc/$1$2 [R=301,L] I've removed the backslash escape from the slash, in your example, as this would appear to be unnecessary. Note that to make this work in .htaccess you would need to ...


2

You asked quite a few questions and I suspect you know most of the answers already. So to clear up some confusion, I will address the subject of changing the domain name since this sounds like the new question. If you need more, please let us know. Keywords in domain names mean almost nothing anymore and exact matches rarely happen as a result. That was a ...


1

The CNAME is not sufficient for a redirect. A DNS CNAME pointing to the same IP address will create duplicate content if the webserver is not configured to do the redirect. In that situation, the same content on the website will be available under two different URLs: http://mysite.example.com http://www.mysite.example.com Although Google is much ...


1

Try this in your .htaccess inside your subfolder: RewriteCond %{HTTP_HOST} ^www.example.com [NC] RewriteRule (.*) http://example.com/blog/$1 [R=301,L]


1

In an .htaccess file you could specify the following: RewriteEngine on RewriteRule ^(.*)$ http://www.example.eu/$1 [R=301,L]


1

Actually, your question is more complex than you realize. You are making the assumption that having multiple domains is a good idea. Often, it is not with some exception. As well, you are assuming that you can build value to a domain and then 301 redirect to another. This often does not work as easily as people think. Granted that your product has a new and ...


1

I think the answer to your question lies in your phrase "To get round this...". As soon as you try to get round Google you are asking for trouble. Build a site or sites based on business sense, not SEO. Publishers tend to have a separate website for each magazine because that makes sense. Amazon has one site but many unrelated departments because ...



Only top voted, non community-wiki answers of a minimum length are eligible