A page, link or command that points URL requests to another URL in the world wide web. Redirects can be either server-side or client-side through the use of javascript.

learn more… | top users | synonyms (2)

4
votes
1answer
1k views

What are the most commonly used and basic Apache htaccess redirects?

This question is here so we can offer users who are looking for information on how to make one or more common or basic redirects in Apache using the htaccess file. All future questions pertaining to ...
12
votes
4answers
1k views

ecommerce item deleted by user, 301 redirect to HOME PAGE or 404 not found?

I know this question is someway similar to this one where they recommend using 404, but after reading this other one where they suggest to use 301 when changing site URLs (in the specific case was due ...
6
votes
3answers
3k views

.htaccess permanent redirect to www

I have a WordPress installation that is not redirecting URLs not starting with www. Example: http://example.com/dir/ doesn't send to http://www.example.com/dir/ instead goes to http://example.com/. ...
3
votes
3answers
3k views

Subfolder won't permenantly redirect to subdomain

Right now I have the following code to redirect all non-www URLs to www URLs: RewriteCond %{HTTP_HOST} ^example.com RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L] Besides that redirection, ...
0
votes
4answers
170 views

Redirect everything from old domain to new domain

I need to (permanent) redirect all of the following: www.domain.com www.domain.com/folder sub.domain.com sub.domain.com/folder Basically all URLS that are reachable without being intended to: ...
4
votes
2answers
773 views

Impact of migrating home page from HTTP to HTTPS on search results

I've had to change one of my site's home page to HTTPS from HTTP. I had plenty of links coming into the HTTP page and was performing well in Google against many of my targeted search phrases. I did a ...
4
votes
2answers
3k views

What is domain “masking” or “cloaking”? Why should it be avoided for a new web site?

What exactly is the domain name "masking" or "cloaking" offered by some hosting companies, (as opposed to redirection), and what are the various reasons it should be avoided when setting up a new web ...
3
votes
2answers
2k views

How can I make redirections cacheable to speed up load times?

Google PageSpeed says this: Avoid landing page redirects To speed up page load times for visitors of your site, remove as many landing page redirections as possible, and make any required ...
12
votes
2answers
2k views

Is it better to have an ErrorDocument 404 redirect back to the homepage or a standard 404 error page?

We run an ecommerce site that was setup by a third party ecommerce software provider, basic shop with product pages, basket and checkout. The third party vendor set up the htaccess file so that if a ...
3
votes
1answer
791 views

Naked domain to “www” redirect in Windows Server 2008

I have a Windows server. I have several websites hosted on my server. Currently, I can only visit these websites if I include "www" (e.g., www.techtint.com). I want the naked form of the URL to ...
7
votes
2answers
1k views

How do I temporarily disable a website?

I have to take a website down for a month, which is the least intrusive way to keep achieved SEO optimizations? should I just add in apache config: <Directory ...
4
votes
3answers
2k views

Redirect based on country

Let's say I have a site that has multiple versions for different countries, e.g.: www.example.com/us www.example.com/uk www.example.com/ca and I want to use IP geolocation to redirect users who go ...
5
votes
1answer
2k views

Redirect from SSL HTTPS to HTTP (NO SSL)

Many of my visitors have bookmarked my site already with https://mydomain.com. Under the bad advice of a programmer I have put my whole site (Joomla) using SSL. I do not sell anything or provide any ...
4
votes
1answer
157 views

How do I determine if a redirection was due to DNS or the webserver?

I had an issue this week where the webhost altered my DNS settings, but the website, whether I typed in example.com or www.example.com would always resolve to www.www.example.com and I couldn't figure ...
3
votes
1answer
149 views

.htaccess Redirect Old Threads

I have moved to mybb to vanilla and want to redirect old threads to the new format, so the indexed threads on google aren't lost. The old format is showthread.php?tid=3003 Whereas the new ...
1
vote
3answers
2k views

SEO: Will Multiple Redirects (301, Permalink Plugin) affect ranking

I asked for help over at WordPress Answers StackExchange for doing a 301 Redirect for my website, which will involve a permalink structure change also. One of the suggested solutions was 301 Redirect ...
8
votes
3answers
4k views

Forcing SSL and www in .htaccess

I'm looking for a way to force SSL and www. I've been able to force both separately but together I keep running into redirection issues. The following code works when handling a URL in this format: ...
3
votes
2answers
1k views

Redirect URL ending with dot

I submitted my site's URL to my workplace's printed newsletter and when I get the printed version, they added a dot to the end of it. Some people will realize that the period is not a part of the URL ...
2
votes
1answer
209 views

Duplicated content www on subdomain and SSL

I have a eCommerce based on OpenCart, but I was wondering about change my domain name for SEO purposes. For me the critical thing about my changes are the imminent possibility of domain change, I'm ...
2
votes
2answers
366 views

SEO: Redirecting an incoming link to a discontinued product to a very similar product

We run an e-commerce site where products sometimes get discontinued. There are some links from other websites that points to one of our products (A) that doesn't exist anymore, but we have a very ...
2
votes
1answer
389 views

How do I map a (keyword rich) domain name to an existing website?

I am not experienced technical person, and still learning but will try to explain what I have done so far and what my query is. I have a (hypothetical) domain az-studios.com On that domain I have 3 ...
2
votes
2answers
9k views

Redirect/Rewrite Subdomain to Subfolder

I'm trying to redirect a subdomain to a subfolder e.g. forums.domain.com to www.domain.com/forums Note that I started the forums in the subfolder format but worried that members might mistakenly try ...
1
vote
3answers
73 views

How to tell Google Webmaster that I combine 2 website?

I have an online store that is already around for 5 years – let's say the web address is oldsite.com. It has about 1,000-2,000 visitor/day, about 18,000 indexed page. But oldsite.com is using a very ...
1
vote
1answer
92 views

When using a framed redirect, which site does Google attribute content to for SEO purposes?

I want to setup a WordPress blog on blog.example.com. After that, I want to also show this blog in blog.example2.com using an <iframe>. Will Googlebot collect my blog information under ...
1
vote
4answers
173 views

Using a .htaccess to RewriteRule and Redirect 301 at the same time?

I have a couple of specific URLs that I want to display differently on my website, like this: RewriteRule ^contact$ contact.php To get ride of the ".php" extension. And to be SEO friendly (to ...
1
vote
2answers
272 views

Changed url from non www to www…Google Indexing

I have recently changed (about 1 week ago) my url from non www version to www version. I told my hosting company to do this and they did it successfully all my urls are directed to www version. But ...
1
vote
1answer
2k views

How do I get the root index page to redirect to a subdirectory without affecting SEO?

I am reviving/reorganising my personal WordPress blog. It's using a URL that looks like this: http://mydomain.com/blog The webserver 301 redirects www.mydomain.com to mydomain.com. I want to use ...
7
votes
5answers
6k views

Moving from http to https - Google webmaster tools | Bing webmaster tools

I'm moving from HTTP to HTTPS for my entire site. The site is currently added to Google Webmaster Tools as www.example.com and all the pages are indexed without using SSL. How do I go about moving to ...
21
votes
4answers
47k views

Is there any way to redirect one domain to another via DNS settings keeping the path information?

For example, my domain is example.com and when someone navigates to example.com/sample/page.htm, I want it to redirect to test.com/sample/page.htm. I know that this can probably easily be done using ...
7
votes
3answers
4k views

Would redirecting to a new home page affect SEO?

I'm currently working on a new landing page for this site. I want the landing page to replace the existing front page of the site. However I don't want to lose the Page Rank of the current front page ...
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. ...
6
votes
2answers
3k views

Multiple sites redirected to one main site

I have a client who insists of having multiple website domains all being redirected to one main website domain. It is getting out of hand and his server has become conveluted and riddled with garbage ...
7
votes
2answers
215 views

I want to test major changes on my website without hurting SEO

I want to replace all my website files for new ones on the server and to test if they work alright but I don't want to be crawled while this is happening or if I am, I don't want the crawler to be ...
6
votes
2answers
872 views

Does a 303 status code pass page rank?

I'm doing an audit for a client who has a 303 redirect on his site from: example.com to example.com/en/. I personally would have used a 301 redirect, but I want to know if a 303 passes page rank the ...
4
votes
2answers
853 views

Serve a different robots.txt file for every site hosted in the same directory

We have a global brand website project for which we are only working the LATAM portion. There is a website installation process here that allows to have one website installation with several ccTLDs, ...
3
votes
2answers
439 views

Redirection based on user's location

I'm about to redirect my French users from mysite.com to mysite.fr. Is it possible using DNS CNAME records or should I write some GEOLocation codes to do that? I will appreciate any other ideas. ...
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 ...
3
votes
1answer
11k views

no-www redirect not working / DNS A record

I'm far from an expert on this, but I'll try to be as clear as possible. I have an eshop solution leased from a company and it's hosted on their server. I can access it thru company.com/myshop and it ...
1
vote
2answers
729 views

GWT “Big traffic change for top URL”

I recently received an email from GWT saying that one of my URL's traffic has suddenly dropped. As it turned out the traffic to the whole site has drastically dropped, from some 300+ unique visitors ...
1
vote
2answers
2k views

.htaccess redirect to subfolder in different domain, maintaining old domain in the URL

Redirect has been widely discussed and most problems solved, so I am sorry for opening yet another post about this, but none of the codes I am trying work. I have a WordPress site hosted in ...
6
votes
1answer
3k views

.htaccess rule to redirect from 404 to search results

When a user (or a bot) request on non existing page, I want to redirect him to the search results. I prefere to do it with the .htaccess file using something like: ErrorDocument 404 ...
6
votes
2answers
743 views

Moving from Subdirectory to Subdomain structure

I have a website (powered by Rails/Postgres and nginx) where I had setup a blog and a coupons section as: http://examplecom/blog/ http://example.com/coupons/ Blog is powered by wordpress and ...
5
votes
1answer
787 views

How can redirect pages from old core PHP site to new Joomla site?

We have our old site into core PHP and we have developed it again into Joomla 1.5 last year (because of some limitations we have to build it into 1.5). Now the problem is the URL of sites changed as ...
4
votes
2answers
781 views

How to make so that a first domain name redirects to second one but the URL displays the first domain name?

I have first domain name registered with some domain name registrar, for which I don't have web hosting account, only dns hosting. I have second domain name registered with godaddy, with web hosting ...
3
votes
2answers
105 views

Switching to HTTPS - redirect question

Following the recent Google announcements about improved ranking for sites running on https we have a number of clients asking about this. Is it safe to just 301 redirect all pages to their SSL ...
3
votes
1answer
915 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 ...
3
votes
2answers
124 views

Site-wide redirect with Tomcat4

Disclaimer: My webmastering experience is almost nil. Apologies if anything seems ignorant - if it sounds that way, it probably is. My employer is in the middle of switching over from one version of ...
3
votes
1answer
2k views

changing CNAME record, will it affect existing email addresses

I need to forward a domainA to redirect to domainB. I've been doing this via CNAME records but for this situation I need to leave email addresses for domainA intact and unaffected while redirecting ...
2
votes
2answers
183 views

How do I use a htaccess redirect to force www and use the .org domain while maintaining the URL path?

I have found this rule that does about 90% of what I want, but not quite everything. My main goals for the redirect are to 1) force www. 2) redirect .com to .org. This does that, but if I were at ...
2
votes
2answers
1k views

IP canonical URL issue

So I did a search engine optimization test today and one thing it came back with was: Your site's IP XX.XXX.XXX.XX does not redirect to your site's domain name. This could cause duplicate content ...