301 is the HTTP status code for a permanent redirect.

learn more… | top users | synonyms (4)

1
vote
2answers
4k views

.htaccess 301 Redirect Hash Tag Redirect

How do I do a .htaccess redirect that has a hash tag in it? Example Source: domain.com/#/subdir Target: newdomain.com/whatever/something Everything I've tried ignores the hash tag and either ...
1
vote
2answers
203 views

Strange links appearing in 404 logs

I've recently been going through our 404 logs and we have a number of urls which look like this turning up:- ...
1
vote
1answer
123 views

Links don't work on new server

I've recently moved from server with php4 to php5. Now I cant open content in my page. Links look like this "page.com/news-it-is-rainy-day-1.html". But when I try to open link I just get the archive ...
3
votes
1answer
160 views

use subdomain on different host

I want to accomplish something that I thought was simple. My wish is as follows: I have a domainname with hosting, a WordPress multisite (with subfolder setup) installed and running: gangleri.nl. I ...
2
votes
2answers
200 views

SEO and unique IDs in urls

I have a web site who's home page is at http://domain.com when a new user first hits the web site I'm creating a unique id of 5 chars for them (for example 'abcde' and redirecting them to ...
2
votes
1answer
115 views

301 redirects mirrored domain

I'm redesigning a site for a friend on my localhost. His old site is an .asp based site and we're replacing it with a WordPress site on LAMP hosting. The old site sits on domain A and also has another ...
4
votes
2answers
821 views

Difference between “/” at end of URL and without “/” [duplicate]

Possible Duplicate: Does it make a difference if your url ends in a trailing slash or not? Why treat these as different URLs? I am doing a 301 redirect in my WP application using ...
3
votes
1answer
1k views

I'm using a CNAME to send www. traffic to domain without www. Will this hurt my SEO? [duplicate]

Possible Duplicate: Does the “canonical name” in DNS make any difference to search engines? Mu understanding is that CNAME should be used for subdomains and www is just another ...
1
vote
3answers
956 views

Google Analytics - New & Old Domain Filtering

I have two domains associated with the same hosting account. Domain A was the one I had purchased when I first set up my website, but I didn't like it all that much and it was getting low ranks, and ...
3
votes
2answers
407 views

Apache HTTP redirect from a URL list

One of my web applications will be completely replaced by a new system. All URLs will change and thus external links would break. I want to setup Apache httpd to answer with proper 301-redirects to ...
6
votes
2answers
3k views

How can my site detect mobile phones and switch visitors to a mobile Domain?

My Question is that when user enter the website: http://www.example.com then they will just go to automatically to http://www.example.mobi how can i do this .. is their any technique behind that. ...
3
votes
1answer
976 views

Redirect from the main page on multilanguage site

I've decided to start developing multilingual web site. Now I'm thinking about the structure. The idea is to use a simple algorithm to find out what language is most interesting to the visitor when he ...
1
vote
1answer
145 views

Which redirection needed for this in .htaccess? 301 and?

I have two cases, it is very hard for me to separate them. I see them as redirection -problem. # 1. I want to redirect all .*/feeds to mySite.com/feeds showing # the content of ...
3
votes
2answers
467 views

Is permanent redirect of subdomain a bad idea for SEO?

I have a client that wants different subdomains as 'marketing URLs' that point (301 redirect) at directories, so: shop.mysite.com -> mysite.com/shop artist1.mysite.com -> mysite.com/artist1 ...
1
vote
1answer
94 views

Domain forwarding with a dot com

Ok, I can't find this exact situation here, so here it goes... We have a website at somedomain.US At the time this was put up, someone else owned the .COM and .NET versions of the domain. This .US ...
0
votes
2answers
50 views

Moving a site that was already moved - how should I deal with rewrites and redirects?

I have a site that used to have all of its pages hosted on a single domain (e.g. mydomain.com). At some point, a portion of the site's content was moved to another domain and the folks who did the ...
1
vote
1answer
198 views

Redirect domain address to host address with cloaking [duplicate]

Possible Duplicate: What is the best way to redirect my naked domain? I have purchased a domain name with hosting. I would like visitor to my website http://www.smarttelecom.be to see only ...
2
votes
1answer
350 views

how to set 301 redirect in wordpress .htacces file

In continuation of my previously asked question preserve-search-engine-index-while-shifting-to-new-domain. The migration is being done in the word-press and we will have same server with same IP.Since ...
2
votes
1answer
2k views

Subfolder non-www redirect

Is there a way to redirect a sub folder to no-www? What I use is: RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L] but this only ...
8
votes
3answers
595 views

Dev site indexed by Google

I was developing a new version of our site on a subdomain (dev.oursite.com) and the robots.txt with the Disallow got replaced at some point, so the site got indexed by Google and other search engines. ...
1
vote
2answers
1k views

cname forward from https to http

We are migrating web host and I wonder if it is possible in the migration phase to do a CNAME forward from https://address1.com to http://address2.com. Would the certificate still work even if the new ...
2
votes
4answers
258 views

Will I preserve link equity if I use two redirects?

I'm switching a social media site over to a Drupal platform. I'm planning to implement permanent directs (301) from each old url to the new url. I'm using page titles in the url string on the new ...
1
vote
2answers
2k views

htaccess 301 redirect subdirectory one level deeper - why is this not working?

it is probably a stupid question, but I have real troubles figuring out, how to redirect /products to /products/item It is a simple redirect, no regex needed. The toplevel site /products should just ...
4
votes
2answers
3k views

Redirecting all subfolder url's to another domain

I have a domain that is domain.com/portfolio/some-url I would simply like to direct all traffic that would normally go to the subfolder /portfolio to a new domain: new-domain.com/ How would I do ...
5
votes
2answers
167 views

Index a 301 Redirect to help a user locate a page

On a site I'm currently working on, there is a 301 Redirect to redirect a nice short URL for users to type in when trying to find a particular piece of content - e.g. www.mydomain.com/apply -> ...
2
votes
2answers
301 views

Tool to generate list of redirections (sitemap for .htaccess)

Is there any good tool (preferably for Ubuntu), that can help me generate a list of URLs used on a site? I'm building new version of some site, but I don't want to get 404 errors for the old pages. ...
0
votes
2answers
448 views

domain.com to www.domain.com .htaccess redirect working except one subdir

I've setup a redirect in .htaccess to consolidate domain.com to www.domain.com traffic on our Apache server. Looks like this: Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ...
1
vote
1answer
1k views

Redirecting not working properly in Firefox 9 (or any older version for that matter)

How do I fix a redirect in Firefox so that it leads my site to another address but with a slash at the end of it? This is my redirect in .htaccess: RewriteCond %{HTTP_HOST} ^test\.mydomain\.com$ ...
0
votes
2answers
68 views

Will it harm my ranking to resubmit links to my site after permanently redirecting to a new domain name?

Ok so i have site1.com and site2.com, and i want to move from 1 to 2 with "Change of adress" 301 redirects .. etc. Now i submited site1.com in a lot of websites/blogs, so i have a decent amount of ...
1
vote
1answer
102 views

Recommended way on implementing 301 redirects

I am rebranding a website, which involves changing the domain name. I want to know the best way of redirecting traffic to the new domain, using 301. Ideally, I will do this at the webserver (Apache) ...
4
votes
2answers
4k views

.htaccess directory to subdomain

I have been trying to make a subdomain from a directory (made by .htaccess) to be used as the main page starting like http://domain.com/sub/2/3/4.html and turning into ...
0
votes
1answer
55 views

I would like permanently redirect page within website

I have couple hundred dynamic pages within the website, that I think to eliminate. They are indexed by search engine. I'm thinking to make permanent redirect to the home page of the website. ...
3
votes
2answers
900 views

301 Redirect in the body?

This may be a silly question, but if I only have access to edit a website through a CMS, and can't touch the headers, is there a way to redirect the page without prompting the user to click a link?
2
votes
1answer
193 views

Can I change title and meta description with 301 redirect?

I would like to make 301 redirect from one page to another. Do I need to use the same titles and meta tags or I can change it to new one without losing the rank of the page?
0
votes
1answer
130 views

Redirect subdomain on tripod

I have an old subdomain on tripod which I'd like to redirect (301) to my new domain. They don't seem to offer redirection for subdomain even with a subscription. Has anyone had any luck permanently ...
3
votes
1answer
55 views

How to have my customized extension?

I have recently found a .htaccess trick in which I can remove file extension from the URL, example.com/file.html looks like example.com/file Now my humor says that I can replace any extension to my ...
2
votes
1answer
90 views

Redirecting to a default (or last visited) subdirectory. Does Google like this?

i have a site that has 3 web applications, lets use this example: example.com/nicy example.com/mash example.com/zoken The main application is nicy, so if the user comes for the first time (or if ...
6
votes
3answers
811 views

When redirecting from http to https in a shop site, which status code should I use?

On a shop website, when "Pay now" is clicked we perform a header redirection to the same URL, just an SSL secured https version. In such a common scenario, should we use a permanent (301), a ...
2
votes
3answers
865 views

Site not accessible without www in url - Error 400 bad request

A site that I am developing works with the format www.domain.com but when typing the domain without the www i.e domain.com I receive a error 400 bad request. How can I enable non-www for my site.
1
vote
1answer
92 views

301 redirect, keyword being in bold

Regarding 301; If I redirect no-www to www domain with 301 redirect, do I still have to determinate inside Google webmaster tools which version (www or nonwww) is prefered? Or is setting up redirect ...
1
vote
2answers
845 views

301 redirect code for IIS6 server

How can I set the non-www url to redirect to www format. Please guide me - if I do it through server control panel, the site doesn't work.
5
votes
2answers
316 views

Website on S3: Multiple subdomains to one Bucket?

I'd like to host a website on Amazon S3. What's the best practice to make a site accessible from both example.com and www.example.com?
2
votes
3answers
158 views

What's the advantage in purchasing new hosting purely for 301 redirections

As a follow on from How do I adjust our "default" domain I am about to setup 301 redirections from a selection of TLD to our recently selected default domain. Currently ALL of our TLDs ...
1
vote
1answer
78 views

Permanent redirect to different domain followed by temporary redirect to folder

I have old-domain.com which I want to migrate to new-domain.com. However, the content on the old domain is, well, old. And I'm currently in the process of redesigning my whole site. My idea is to do ...
0
votes
2answers
446 views

How does 301 redirection work across the network? & should I use it if there is a chance we made need to change the resource back to the original URL?

I've built a CMS that makes it fairly easy for my client to relocate pages in their site hierarchy. This site has all human-readable and intuitive URLs, so moving a page necessarily means that its URL ...
1
vote
3answers
1k views

Moving to a custom domain in blogger spoiled my pagerank. Need help?

I had www.chankeypathak.blogspot.com as my blog on Blogger. I then purchased a domain www.chankeypathak.com and then I followed the procedure of redirecting all old pages to new ones (301 redirect). ...
3
votes
1answer
732 views

Does redirecting old site's URLs to new site's front page hurt a page's ranking?

An old site that is being rewritten needs to have it's URLs redirected to the new site. There are a few hundred pages that may or may not have corresponding pages on the new site, probably with ...
3
votes
2answers
159 views

Where should I redirect (removed) phishing pages

I was unfortunately the victim of a PHP exploit. Looking through my webserver logs, people are still attempting to reach the URL used in the phish. I want to redirect them to a site that will educate ...
6
votes
2answers
4k views

How do I setup 301 redirects in Google Apps site?

I have just moved a website from a shared host to a Google Apps site. Is there a way I can setup 301 redirects on my Google Apps site so that old links (with a different URL) can be 301 redirected to ...
1
vote
2answers
228 views

Using 301 Redirects on new site when access to old site denied?

I have a situation where I'm standing up a new website on a different web host. I've been denied access to the old site by the hosting company and the old site will most likely be turned off very ...