Tagged Questions

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)

1
vote
1answer
50 views

External links from search engine - Redirect?

I am making a site which is designed to contain a large amount of links to other sites, much like a search engine. I have seen two different approached with regards to linking to external sites. ...
0
votes
1answer
205 views

htaccess redirect pages that don't exist

I have a website that has a little over 100 members. Each member gets a replicated website, and by default the software we use sets up their replicated website at a url like: domain.com/?username ...
1
vote
1answer
145 views

change sitemap after 301 redirect

when i use of 301 redirect for all URLs ... should i change sitemap URLs ??? ...... if Sitemap contains following URLs example.com/cat/1.html example.com/cat/2.html example.com/cat/3.html should i ...
1
vote
1answer
62 views

Is 301 Redirect safe for pages that search engines give a high search ranking?

We will soon be launching a complete overhaul of our entire website. The only major concern is that we have a large archive of content that search engines find very rich, through which we get great ...
2
votes
1answer
148 views

How do you stop PDF hotlinking and automatically redirect hotlink clickers?

I have some PDF documents that I offer users once they have subscribed to my newsletter. Well, Google found them, and other people are posting them on various sites. I'd like to take advantage of ...
1
vote
1answer
82 views

.htaccess problems with redirection

I apologize ahead of time that this might be a common question, however I've spent 3-4 hours already on solutions which don't quite fix the problem. I have a site and it is moving to a different ...
2
votes
2answers
249 views

How can I track clicks on various links pointing to same redirect using Google Analytics?

I'm doing a marketing campaign for an app where I'm targeting different schools. I want to know how many people have clicked on each link. The number of schools is pretty big, so I don't want to ...
0
votes
1answer
43 views

Linking out to other websites and SEO

I have searched for this, but couldn't find anyone actually asking this same question. I'd be happy to be pointed to a previous answer though. I have built a one page website that links to other ...
3
votes
1answer
499 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 ...
1
vote
1answer
217 views

Is there any way to debug redirection rules in.htaccess?

I have an .htaccess file with over 200 redirection rules. It seems some of them are conflicting each other. Is there any way to find out which one is responsible of redirect on a particular request? ...
1
vote
2answers
81 views

Conditional redirect based on referring source?

Is it possible to redirect all traffic from a certain referring URL to a specific page?
1
vote
1answer
2k views

.htaccess redirect of domain name alias to main domain but must show up as the alias domain

I have the following in a .htaccess file: RewriteCond %{HTTP_HOST} ^www\.aliasdomain\.com$ [OR] RewriteCond %{HTTP_HOST} ^aliasdomain\.com$ RewriteRule ^(.*)$ ...
2
votes
1answer
166 views

Stop site being shown as the referrer

I want to hide my site as the referrer to another site, ie. i dont want my site showing up under the referrals tab in Google analytics, is there a simple way to do this ? ie. an html element somthing ...
3
votes
1answer
2k views

PHP header redirect that maintains query parameters?

I am experimenting with the PHP redirect http://www.phpjunkyard.com/tutorials/php-redirect.php. Specifically the 301 redirect to create a self correcting URL to help with typos - there's a unique ID ...
1
vote
2answers
193 views

Serving proper 404/410 error codes on dynamic database driven site

a developer I'm working with is having a difficult time serving 404 errors on dynamically generated pages (they get created when the request is made by querying the database to see if the content ...
0
votes
3answers
199 views

Best way to replace/publish the restructured website in SEO friendly manner

I had a website which contains several subdomains. http://sub1.example.com/stories/23/job-done.html http://sub2.example.com/stories/23/job-done.html At present I decided to restructure my website ...
0
votes
1answer
78 views

Pointing a domain to a specific URL

Is it possible to point a URL to a specific page in cPanel? Say I have foobar.com and there's a page foobar.com/art. Now I also or artbar.com and I want to point it at foobar.com/art how would I do ...
1
vote
1answer
65 views

Added new redirected domain with lots of visitors bouncing - is that bad for us? [duplicate]

We're a very niche domain marketplace, which has a few hundred domain names for sale, and most all of them are redirected to our site. Most get a few clicks a day, as they are non-keyword (generic ...
3
votes
4answers
186 views

Is it correct to redirect useless “?” URLs to cleaner URLs

This is not about redirecting /index.php?id=6252 to /category-name. It's about redirecting: /category-name?ref=blabla&something=useless-stuff /category-name? /category-name???????? to: ...
0
votes
2answers
75 views

How do I properly deal with duplicate content when showing the latest content from my blog on a main page?

If my website has multiple blogposts: /blog/first-post.html /blog/second-post.html /blog/third-post.html ... and I want only the latest post to be fully shown on /blog/ What is the best way to ...
3
votes
2answers
995 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 ...
2
votes
2answers
272 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 ...
0
votes
2answers
650 views

300, 302, 303 or 307 redirect for international site?

A company website offers the same products and pages (more or less) across different countries. It's a mess; they use a mix of subdirectories, subdomains and ccTLDs for international sites: ...
4
votes
2answers
190 views

One million redirects

What's the best way to redirect 1,000,000 unique URLs to another 1,000,000 unique URLs? These pages are all combinations of multiple search filters and queries. We're migrating the site to cleaner ...
2
votes
1answer
40 views

In case of a server error, should I change the URL in the address bar?

Let's say the user surfs to http://mysite.com/some-path and encounters error 500 which leads to a custom error page. What is the best practice regarding the URL shown in the address bar while in the ...
3
votes
1answer
329 views

Can I use meta refresh instead of 301 redirect?

I have submitted my site with ugly URLs to Google, and now they are appearing as mysite.com/show.php?id=42. Now, I know that I can 301-redirect it to mysite.com/article/42. However, my site uses the ...
0
votes
2answers
501 views

301 Redirection for classic ASP website with IIS 6 server

I am new in the SEO field. I have relaunched my old website to a new one, and my guess is I need to 301-redirect some/many of my old pages. But I have deleted some of the pages from server which is ...
3
votes
2answers
923 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 ...
1
vote
2answers
178 views

Can I have tracking parameters immediately after a forward slash /?

I would like to start redirecting all /index.php pageviews to / to clean up GA data and otherwise simplify URL hits. Does anyone foresee this causing any problem when using tracking parameters? E.g. ...
1
vote
1answer
138 views

.htaccess file to implement multiple redirects

I have a dynamic site and from .htaccess file creating clean URLs: RewriteCond %{REQUEST_URI} !(\.png|\.jpg|\.gif|\.jpeg|\.bmp)$ RewriteRule ^([a-zA-Z0-9_\-\+\ ]+)$ flight.php?flights=$1&slug=$1 ...
4
votes
4answers
531 views

Will a redirected subdomain lose Google SEO links?

Because of a change in brand, I want to redirect our subdomain.domain.com to newdomain.com. The content being exactly the same, I was thinking of using a 301 wild card redirect to newdomain.com. I ...
1
vote
1answer
74 views

Canonical redirection meta tag [duplicate]

There are two pages in my website with the same content; only the URL's are different: www.websitename.com and www.websitename.com/default.html. Someone suggested that I should add canonical tags to ...
1
vote
3answers
606 views

URL without trailing slash makes Apache look in non-SSL DocumentRoot

I have configured a virtual host in Apache for serving content over SSL/TLS. Since I also want to allow other sites on my domain to use regular http, I have two document roots, one at /home/www/html ...
1
vote
2answers
132 views

ASP to HTML - 301 redirects (SEO rankings before and after)

I need to change the extension of the default pages and many other pages like .asp to .html, should I use a 301 redirect? The website is in the top 10 results for many keywords, I don't want to lose ...
0
votes
1answer
33 views

Is it okay to redirect all mobile users to a mobile coming soon page?

I recently read this article on google webmasters blog which said that we should avoid redirection of users on mobile to one single page as it interrupts their flow. Now I have a site on which I have ...
2
votes
3answers
133 views

Fastest way to redirect dead URLs to home page

A client of mine scrapped his entire wordpress site of many years for a custom CMS. The URL structures both use the /<post_title> format, so a pattern based .htaccess rule is out of the picture ...
2
votes
2answers
315 views

What's the most efficient & economical way to do GeoIP redirects for a high traffic site?

So, I'm setting up a new potentially high traffic site that's made up of several simple static pages. We want to host it as efficiently as possible, as we're both on a non-existent budget and may have ...
1
vote
2answers
373 views

Redirect incomplete URL to index page

I want to redirect specific URLs to the index page not to 404 error page (ex: http://www.website.com/trip-15). If I remove any character from the URL it will go to 404 error page (ex: ...
1
vote
0answers
87 views

How can I mask sub-directory to work as DocumentRoot for multiple domains pointing to the same location?

I am trying to mask sub directories to effectively work as DocumentRoot for multiple domains. e.g. I have two domains - domain1.com & domain2.com both pointing to the same location. I want ...
5
votes
2answers
184 views

Multiple top level domains - should I redirect/rewrite or leave them?

I have a website which has many top level domains e.g. mywebsite.com mywebsite.org mywebsite.co.uk mywebsite.org.uk The website is advertised as mywebsite.org.uk. But I expect lots of people will ...
0
votes
1answer
329 views

Permanent redirect domain to www subdomain without web.config

I've just set up a site via 1and1 and have run into an issue, I want to accomplish the simple task of redirecting the root domain to the www sub domain however due to complications I cant seam to ...
1
vote
2answers
152 views

Domain, subdomain and path forwarding

I have four domains: domain.in domain.com domain.org domain.co.in I want to make domain.in as my main domain. I want to forward all my other domains to it. I want to set up forwarding such that: ...
0
votes
0answers
21 views

Redirect of www vs. “all works” [duplicate]

I was asked a question from a friend if he should redirect his-domain.com to www.his-domain.com. I answered him that it seems more intuitive to just make both work. So if you enter by his-domain.com ...
0
votes
0answers
21 views

Create A record from the terminal

I have contracted a linux VPS and a domain (www.myproject.com). After that, in the same site from my user area, I have registered a pair of DNS (ns1.myproject.com and ns2.myproject.com) associating ...
1
vote
1answer
3k views

How to redirect IP to domain?

My IP xxx.xxx.xxx.xx is pointing to example.com at GoDaddy but I just noticed that when I type the IP in browser, it doesn't redirect to the website, how can do this? I am sure this will happen ...
1
vote
2answers
644 views

Automatic redirection from http to https with .htaccess authentication in virtual hosting

Hi I have configured Virtual host on apache with .htaccess authentication with SSL. It's working fine when I typed url https://www.example.com:9004/test.php but when I typed ...
1
vote
0answers
98 views

create redirect of subdomain [closed]

I have a new app server that will run an ftp server and a few other things. It won't run a web server. I want to put that app server on a subdomain so that I can access it. So ultimately I will be ...
3
votes
2answers
111 views

Changing domain name vs URL redirect to improve URL building

I have a domain named companyname.com with PR3 and would like to improve the SEO by adding my main keyword in the domain name. I'm thinking about: Buying the domain main-keyword-companyname.com and ...
1
vote
2answers
521 views

Conditional RedirectMatch based on IP

How do I use this RedirectMatch with limiting by IP address? This is what I have right now, and it works as is: RewriteRule ^dir.*$ http://www.mysite.org/otherdir/ [R=302,L] I want this to work ...
2
votes
1answer
126 views

map a sub page of a domain to google sites

I control a subpage of a site: economics.university.edu/summerschool I have access to CNAME, etc. However I want to use Google sites to create the site and then map the URL above to my Google site. ...