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)

0
votes
1answer
11 views

Site Moving Country

We recently moved to Oz and we have bought a new domain name to launch over here. It is just a small run from home catering business, so searches are usually localized. My original plan was to 301 ...
1
vote
1answer
25 views

How to redirect a subdomain to the main domain at a different port with IIS

I am trying to set up as following control.domain.com to http://domain.com:8880/ Plesk is running on that port. Infact if I would like any website hosted on the server if accessed with "control.*" ...
1
vote
0answers
48 views

Plesk Site Preview redirects to Plesk Login

I moved over an existing PHP site to Plesk Panel 11.5 and now I'm having an issue with the site preview. When I click site preview the site comes up fine in a new window, however when I try to ...
5
votes
1answer
7k views

How can I use .htaccess to rewrite different domains to different sub-directories, masking the sub-directory?

I have a shared hosting plan that allows unlimited addon domains, but they can only point to the public root (/). I use .htaccess to point different domains to their corresponding sub-directories. For ...
1
vote
1answer
10 views

Would domain forwarding or parking get my visitors to the same page?

I own the domains example.com and example.org from two different registrars. The main site is hosted under example.org. What is the better method for getting visitors to each domain to land on the ...
4
votes
1answer
799 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 ...
0
votes
1answer
26 views

Fastest Redirection on Apache Server with Wordpress for a Small ~200 Page Website

If I have a website of about 200 pages and most of the links will be inevitably changing, what is the faster way to redirect them (fastest not in terms of how quickly I can do it, but in terms of the ...
0
votes
0answers
16 views

PHP redirect not working [closed]

I bought a domain I want to park it pointing to a different site. The problem I am having is the external links going to whatever pages the site had before are breaking my link and not going to the ...
1
vote
2answers
49 views

Creating redirects list from a domain alias to a primary domain

I am trying to set up a list of redirects in my .htaccess to create a manually defined 'short url' list, whereby the short url domain ("short.com") is set up as an alias for the destination domain ...
1
vote
2answers
154 views

How can I rewrite a subdomain to go to a specific file in a specific folder?

I've done searching for my answer and have tested a few solutions, but nothing has worked so far. I'm trying to get a URL like this http://baseball.sports.com to rewrite to ...
1
vote
1answer
31 views

Should we have two copies of the same content or do a redirect?

We are a web app for icons and we've got 2 versions of our app: Old one with icon URLs like http://icons8.com/icons/#!/73/home New one with icon URLs like http://icons8.com/web-app/73/Home Both ...
1
vote
1answer
36 views

How to prevent Google from indexing redirects to external URLs as part of the originating domain?

We have links to external URLs implemented with an HTTP 301 redirects for the purpose of counting clicks. Searching our site in Google using the site: modifier results in the redirecting URLs ...
1
vote
2answers
39 views

Did redirecting the root of the domain to a deep page hurt search engine rankings?

A client had a Wordpress website with a very plain landing page which would redirect to the "home" page once clicked. The "home" page lived under the address site.com/home, the landing page was ...
1
vote
1answer
68 views

Redirecting domain to subfolder, one hosting account, avoid redirect loop. masking?

i know similar questions have been asked, but i've been at this for weeks. please humor me! i have two domains (giving actual domain names for simplicity and also to avoid in-head conversions for my ...
1
vote
2answers
183 views

Google still has record of my old site URL - what to do?

I had a blog site, i.e. http://example2.com, then I bought a new domain, i.e. http://example.com and 301 permanent redirected example2.com to example.com. But when I get into the Google Webmaster ...
2
votes
2answers
111 views

How to keep track of how many hits on a redirect page with Google Analytics

I've written a simple redirect script in PHP that takes a resource ID and then redirects the user to the appropriate page. The main motivation was if all of my links were to break because the service ...
2
votes
2answers
37 views

If I need to redirect my WordPress site to a new domain with new hosting, how do I do so?

I have a Wordpress web site but need to change the name (from abc.com to tty.com). I was planning on duplicating the old web site to the new site. I don't want the old url to die, just in case ...
2
votes
1answer
126 views

Avoid 301 redirect in cdn.domain.mx

I have a domain with a .htaccess redirection problem. The active CDN the URL should be: cdn.domain.mx/images/test.png but redirects: cdn.domain.mx/images/something.png -> ...
1
vote
1answer
23 views

Using htaccess to internally and externally redirect a page at the same time [duplicate]

I've been trying to figure this out for two hours, and I give up. I want to externally redirect about.php to about/, and also have about/ internally redirect to about.php RewriteRule ^about/$ ...
2
votes
2answers
61 views

.htaccess RedirectMatch not working when *some* users include “www.” in URL

I have recently moved a site to a new domain, and at the old domain, I created a .htaccess file that includes one line of code: RedirectMatch 301 ^/(.*) http://newdomain.com/$1 The goal, of course, ...
1
vote
1answer
16 views

Google Webmaster change of address from old root to new subfolder [duplicate]

I have successfully done a 301 from example.com to newexample.com/example but Google Webmaster Tools will ONLY let me submit a change of address for root level domains e.g. from example.com to ...
3
votes
2answers
90 views

Error using In-Page Analytics report in Google Analytics

We are unable to use the In-Page Analytics report in Google Analytics because our site now redirects to a URL which is different from what is in our Account setting. Are there any workarounds which ...
1
vote
1answer
17 views

The webserver's default host is showing rather than a subdomain redirecting

I redirected my subdomain blog.qmery.com to blog.borhancid.com. When I dig it, it's showing the right DNS (shows DNS server of borhancid). When I want to access it by browser it's showing the default ...
0
votes
1answer
31 views

Installing WordPress in a subfolder and effect on SEO

I want to install WordPress to build up my site using it. Lets say my domain is domain.com and because of the current hosting issues, if I install wordpress in the root of public_html it will be a ...
2
votes
1answer
88 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
1answer
69 views

Force HTTPS using 301 Redirect on IIS7 gets 401.1 Error

I've got a site that is using an Execute URL in the 403.4 error page slot that calls a page named forcessl.aspx. Here's the contents of the file: strWork = Replace(strQUERY_STRING, "http", ...
1
vote
1answer
268 views

Where to place web.xml outside WAR file for secure redirect?

I am running Tomcat 7 and am deploying a bunch of applications delivered to me by a third party as WAR files. I'd like to force some of those apps to always use SSL. (All the "SSL" apps are in one ...
0
votes
1answer
35 views

URL subfolder rewrite without server access

I am having trouble with the following. I have a site in development that has every link on the site pointing to the wrong folder. Example: example.com/en/home/, a site link goes to example.com/en/, ...
1
vote
2answers
112 views

Remove trailing slash and index.html in .htaccess

I seem to be stuck here trying to figure out how to redirect the following scenarios: /foo/index.html -> /foo (remove trailing slash, index.html as 301) /foo/ -> /foo (remove ...
1
vote
1answer
23 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 ...
3
votes
3answers
383 views

Changing main domain, redirect backlinks too?

I have a website and would like to rebrand. I have owned the new domain for about 2 years now and I do have about 40 inbound links from my clients that currently link to the old site. When going live ...
1
vote
1answer
388 views

301 redirect bulk aspx URLs on IIS

We recently relaunched an old ASPX site as a new Drupal site on the same domain. No 301 redirect was implemented. I have outputted a list of 1000 URLs that need to be 301 redirected. Most of the ...
1
vote
1answer
43 views

Is it bad SEO practice to redirect home page to a specific article on site?

I have a specific page on my site that I want for now to be the one viewed by default when a user connect to example.com. Still, I want that specific article to maintain his "URL identity" with his ...
1
vote
2answers
712 views

Htaccess redirect based on country of origin

Can a rule that filters and redirect traffic based on country of origin be implemented in .htaccess? Can it be implemented in any other way then by an IP address? I need the solution to be as ...
2
votes
2answers
83 views

Why is a www to no-www redirect so slow?

I'm quite new to running a website, and I've recently run my page through some page load time measurements to try and reduce load time. After scaling down my images etc, I find that the bottleneck ...
6
votes
3answers
917 views

Should I redirect desktop users visiting mobile page to desktop version?

So I am redirecting mobile users to mobile version of the page and also have alternate attrubute set up for that: <link rel="alternate" media="only screen and (max-width: 640px)" ...
3
votes
1answer
51 views

Can .htaccess 301 redirects work with encoded characters?

I have an old site with titles in the URL for SEO, but it has URL encoded characters than transliterated Latin characters. Like %20 instead of space character and many other non-Latin characters. The ...
2
votes
1answer
29 views

When redirecting HTTP traffic to HTTPS, is it OK to redirect non-existant pages to a 404 error?

We've recently converted several of our websites to require HTTPS on all pages. HSTS headers have been set and rules added into Apache to 301 redirect all traffic from HTTP to HTTPS. However, similar ...
0
votes
2answers
698 views

Want Google to index redirect URLs

I'm having issues with users who think that Google Search is the address bar. Some of the sites that link to my site use user friendly addresses with 301 redirects to pages that have less friendly ...
1
vote
3answers
96 views

Wordpress Multisite- How to restrict a non-wordpress page only to one domain

I am running three blogs from a wordpress multisite. Currently, I am developing a separate, non wordpress application. I want to link this application with blog1. I put the application in the subfoler ...
1
vote
1answer
36 views

Removing trailing slash ONLY for a specific directory

I would like to 301 redirect my URL that has a trailing slash to a URL without a trailing slash. That part is simple (RewriteRule ^(.*)\/(\?.*)?$ $1$2 [R=301,L]) However I only want to do it if that ...
2
votes
1answer
1k 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 ...
3
votes
1answer
254 views

Is it bad for SEO to change a URL leaving an old broken URL?

I have a blog site. Assume that I have added a page example.com/appleand that blog page has been crawled by Google. The word "apple" is based on the blog title "Apple". Later, I changed the title ...
1
vote
2answers
51 views

How to redirect domain from www.example.it to www.example.eu?

Our company need to migrate domain from: www.example.it -> www.example.eu The example.it have some links with 301 redirects like: example.it/index.php?id=10&link=slug (301 redirect to) -> ...
3
votes
2answers
176 views

Can I redirect Google bot to another domain with escaped_fragments?

I'm trying to make my Webapp SEO friendly. I read that I can redirect Google's bot to another URL with escaped_fragments. I'd like to use Phantom.js to serve Google my pages. Unfortunately, I can't ...
1
vote
2answers
87 views

Allow users to access my beta subdomain but pass link juice to the main site

My site can be accessed by either http://example.com or http://beta.example.com. The sub domain beta is the same site but a different version and I want users to be able to use the beta but any links ...
1
vote
1answer
38 views

How to do SEO for a business listing website that contains temporarily available content

I am building a business directory page where the user can filter through locations and different branches. The directory uses a freemium-model which means that the basic listings are completely free ...
1
vote
2answers
56 views

How to display “Not Found” instead of automatic redirecting?

how to redirect to 404 in .htaccess file ? Example www.domain.com/ja/any_post or www.domain.com/ja/all_posts www.domain.com/fr/any_post or www.domain.com/fr/all_posts A little bit more ...
3
votes
3answers
56 views

Best way of showing updated/new year related content

I have a website that shows data that only valid for one year, but like to keep the date for archive and compare purposes. For now I have a 301 redirect (so the other redirecting domains will always ...
1
vote
2answers
76 views

Should I use IIS or my DNS provider to redirect my naked domain to its www version?

How do I get the naked domain for my site that is typed into a browser (example.com) to automatically redirect to www.mywebsite.com. Would this be done on the internal IIS web server or through the ...