Tag Info

Hot answers tagged

11

The correct code would be 401 Not Authorized As per the HTTP specifications 10.4.2 401 Unauthorized The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.47) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header ...


3

Use HTTP_HOST not HTTP_REFERER <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} ^(www\.)?olddomain\.com$ [NC] Rewriterule ^(.*) http://newdomain.com/ [L,R=301] </IfModule>


2

If you are redirecting old pages to the new pages that have the same content as the redirected pages (and ideally the same URL structure), then patience is needed. I suggest that you look at the analytics of the old domains and see which pages brought most of the traffic. Track those to see whether or not you regained the old traffic. But, if you are doing ...


2

When involved from the start When migrating I keep the existing URLs in mind right from the start of the project. Like that I already have most links covered when switching. Right after the switch I check site:example.com and see if most links there are still working. If a lot are failing I go through them manually if there are less than say 300. In the ...


2

Method One - Google search You can find out what Google has indexed by returning results the exact results by searching for site:http://www.example.com. You should be aware that this method may not track very new URLS or if you have a lot of pages then Google will just return a few hundred. Method Two - sitemap There might be a sitemap.xml already on the ...


2

To answer your question, no, it is not too late to implement the 301 redirect from HTTP to HTTPS. Don't switch back your sitemap to HTTP, it is not necessary. Yes Google can still call your HTTP site for a while until its indexes only the HTTPS URLs.


1

Since this is a page for administrators, with or without the "key" parameter, the pages can't and should not be indexed. Therefore the webpage for non-admin can send 404 status code, and you can leave the same URL intact. Do not redirect, since you tell Google that the page has moved, but then to a page that doesn't exist. This is how Google does it as ...


1

ok I figured it out RewriteRule ^xy(.*)$ /xy/$1 [R=301,L]


1

Try this: RewriteCond %{REQUEST_URI} !^/xy/ [NC] RewriteCond %{REQUEST_URI} ^/xy(.*)$ [NC] RewriteRule .* http://www.example.org/xy/%1.html [R=301,L] I think should do it. Please let me know and I can update the answer.


1

Q1: The URLs of the 404 pages in the Webmaster Tools all bear the mistake and will never be available at the new site. I marked them as fixed in the tools. Do I need to do something about that, like 301 rewrite them with a condition to fix the error? Its a better idea to make 301 redirect from 404 pages to the related pages of the new website. So users will ...


1

It is not a bad idea if you implement 301 redirects from .com to .ie properly. I am changing domain in an attempt to help SEO long term by having a CC TLD (.ie rather than .com) and having my main Keyword in the domain. There will be an impact, but it will be small regarding SEO. Delivering valuable content and attracting backlinks has more impact. ...


1

Redirecting to the new site will not hurt SEO if your only issues are poor SEO and low PageRank. Poor SEO is just a design issue and doesn't have a negative connotation other than hurting your site's ability to have its pages rank well. Low PageRank is just due to having few links pointing to your pages. That's not a negative SEO signal. So you should ...


1

This can take a while. It will take Google and Bing to figure things out and make the necessary changes. I would expect 30-60 days though it could be much less. Unfortunately, making a domain name change is not transparent. It is a huge change as far as search engines are concerned. My best advice would be to link build and correct any links you can. You ...


1

Give it a bit of time, your rankings of before should come back within days (or weeks at most). The drop is likely caused by the change from HTTP to HTTPS. However, according to the Moz plugin, your page authority is 32 with 280 links, and your domain authority is 19 with 25K links. Your PA and DA are very low for such a number of links. You probably want ...


1

forward option 301 in GoDaddy I assume this is the Forwarding without masking option as detailed on the GoDaddy support page? In which case, they do state part way down that page: If you want your visitors to be able to go to your domain name with or without the www prefix, you need to forward your domain name to use www.


1

I need to double check the specifications, but I am pretty certain that cached objects depend on the request method. So an object using HTTP would be a different cache entity from HTTPS. So if you are redirecting to HTTPS, there should be no prior cache data. Also, you may want to consider using lower cache periods and requiring validation prior to ...


1

I'd use the setting right away -- but make sure you have the 301 redirects in place ASAP too (especially for the most important pages). This setting helps us to confirm that you really want to transfer everything (all signals that we've collected over the years) over to the new domain. It just speeds things up a tiny bit, essentially. In addition to the ...


1

I don't know about GoDaddy's error, other than maybe it is expecting example.com rather than www.example.com (although I doubt it)?! You don't actually need to specify the host if redirecting on the same site? But anyway, this is easy to do in your root .htaccess file using mod_alias: Redirect 301 /oldpage.html /new-page.html (This assumes Apache 2.2.6+ ...



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