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)

2
votes
2answers
632 views

htaccess force HTTPS except one page

This is my current .htaccess file: RewriteEngine On ErrorDocument 404 /404.html # 1 RewriteRule ^extra/([0-9]+)/(.*).html?$ pages.php?do=view&id=$1 RewriteRule ^special-bonus/([0-9]+)/(.*).html?$ ...
1
vote
2answers
64 views

APACHE2: avoid https:// REDIRECT to open phpmyadmin

I have a site https://example.comto ensure that all users go to the https:// I set up a redirect with APACHE (on the default.conf) as followed: <VirtualHost *:80> ServerName example.com ...
2
votes
2answers
71 views

How can I track referrals from offline materials using Google Analytics?

My client is about to issue a bundle of offline materials (leaflets, posters, etc...) for distribution to various places for PR and marketing purposes. They've asked us to create a number of special ...
4
votes
1answer
194 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 ...
1
vote
1answer
33 views

Write htaccess rewrite rule which should be point to a directory which is not existing in app directory structure

I need to write a rewrite rule so that the url should be point to a directory which is not existing in the application directory. In WordPress all admin process/code in wp-admin, so someone try to ...
1
vote
2answers
513 views

Why does my .htaccess work for all browsers but Internet Explorer?

The code .htaccess below is working on all browsers, except for IE (I tested it on IE10 and IE11). The goal is to redirect all HTTP traffic to HTTPS, but IE seems to ignore it. Does IE need specific ...
0
votes
0answers
44 views

How to redirect a website to a holding page with a link back to the original website

I am trying to work out how to redirect an existing website to a new intermediate page which then links back to the customers existing website. I can change DNS records to point to the new hosting ...
2
votes
1answer
148 views

HTTPS redirect doesn't appear to follow .htaccess RewriteRule, how can I fix this?

I am redirecting example.com to sample.com/?example, so that I can have a modal popup saying, example has changed its name to sample. It works fine for HTTP redirects from http://example.com, and ...
0
votes
1answer
43 views

SEO link transfer from example.com to example.group.com.au

I have a group of 3 businesses currently managed through 3 separate domains call it example1.com.au, example2.com.au and example3.com.au. The business wants to move to the following structure: ...
0
votes
0answers
9 views

Website hacked and redirected with 1700 spam backlinks [duplicate]

Ok, so here is the deal. I have a client that got a website with me. But before he did one day he was hacked and his website had about 120 links and in the middle of december his site all the sudden ...
3
votes
5answers
135 views

When responding with a HTTP 3xx Redirect status, should there still be a response body?

When a service is answering an HTTP request with a "3xx Redirect" status code response (and the accompanying Location header) should it still send a meaningful response body along with the response? ...
2
votes
2answers
92 views

Multiple Domains pointing to one site

Newbie here so please excuse me if this has been asked in a different way. My friend has 3 domain names lets say example.com, example.net and example.org. They were not using the .com and .net. I was ...
7
votes
5answers
903 views

Redirect visitors when site is too busy

We're expecting a large spike in traffic to our website this week. If the site becomes overloaded (i.e. visitors are getting a 503 error), I want to redirect visitors to another web address. How would ...
3
votes
1answer
124 views

How can I force my site to serve just HTTPS and non-www?

I have a WordPress install where all the links are https://example.com. So, users that try to access the site via https://www.example.com will see the site, but none of the images and resources will ...
4
votes
1answer
238 views

Redirect URLs with a # in .htaccess

On one of my sites I get 404s because some scripts are fetching all URLs from the start page as raw URLs, so they include the # in the URL. Normal browsers don’t ever send that part to the server, but ...
2
votes
1answer
41 views

How can I serve different banners/CSS/branding to users based on their location?

One of my clients is a financial planner. He is in the Pacific Northwest, an area big on buying local, and the site's visual identity reflects that in header images, colors, etc... Well, apparently ...
1
vote
1answer
65 views

When aquiring a company and website, how should their website be redirected?

A few months ago the company that I work for acquired another company along with their website. Recently we took their site down and simply redirected the url of the acquired site via DNS to ours. ...
1
vote
1answer
38 views

Cannot find index for non www

The domain points to an A-Record name server, and as of now the name servers are defaulted to registrar (GoDaddy). I went into /var/www directory and edited index.html to <meta http-equiv="refresh" ...
2
votes
1answer
28 views

How to redirect a user to the content of a different URL while still showing the original URL to the user?

I use a domain (www.example.com), which I would like to redirect to an different web space (www.example1.com/user567). What I use so far is an index file with a redirect header: <?php // ...
1
vote
1answer
104 views

How to enforce a different title for Google Search?

We have a website, let's say - www.example.com and each week a new article is posted to a URL in the form of www.example.com/articles/x-y-z. We redirect visitors that reach www.example.com to the ...
1
vote
2answers
72 views

proper redirect taking into consideration http vs https

This seems to be such a standard question, but I am not able to find the answer anywhere. I am trying to solve the famous .htaccess redirect. I have tried / modified / tested a good number of the ...
1
vote
1answer
17 views

Naked domain subdirectories/files redirect to root www

I have a 301 Redirect setup for my naked domain (something.com) to redirect to the www subdomain (www.something.com). However, I'm running into an issue I didn't foresee: when someone links to, for ...
2
votes
2answers
90 views

Incorrect Referring URLs - What can be the cause?

I am running a website with affiliate links . When the visitors of mydomain.com/page.php click on such an affiliate link, they are being sent to a link on a domain owned by the affilate network ...
1
vote
1answer
49 views

How to move a site to a new country with a new country top level domain?

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
203 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
1answer
15 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 ...
1
vote
1answer
98 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 ...
1
vote
2answers
84 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
1answer
41 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
2answers
66 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
82 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 HTTP 301 redirects for the purpose of counting clicks. Searching our site in Google using the site: modifier results in the redirecting URLs returned ...
1
vote
1answer
327 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/$ ...
1
vote
1answer
121 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 ...
1
vote
1answer
20 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
266 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
248 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
579 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 ...
1
vote
1answer
127 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
1answer
72 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
735 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 ...
2
votes
2answers
261 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 ...
1
vote
1answer
71 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
96 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 ...
1
vote
2answers
67 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
1answer
265 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 ...
1
vote
2answers
134 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
49 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
75 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 ...
2
votes
1answer
804 views

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

I have two domains (here are the actual domain names for simplicity): snapstarr.com fuselog.net I have one hosting account with GoDaddy, for the two domains. the primary domain is snapstarr.com. I ...
0
votes
2answers
343 views

Domain on NameCheap, Hosting on GoDaddy: Redirect Loop

I tried searching, but since I'm pretty new to networking I may not have used to right keywords, so I apologize if I missed the answer. My friend owns a domain friendsmusic.com and I have hosting at ...