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
1answer
94 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
15 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/$ ...
0
votes
0answers
2 views

How to Mirror or Redirect to a Github.Io Website? [on hold]

I have a personal website, www.example.com, that I modify using FTP. I also have a GitHub profile, where I keep all the source code for my personal website in a repository (git-example). I think ...
2
votes
2answers
55 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
9 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 ...
2
votes
2answers
84 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
24 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
70 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
59 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
265 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
71 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
1answer
32 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
21 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
350 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
375 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
37 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
149 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
votes
0answers
13 views

Redirect cause double authentication

So i have a sub-directory on a pair server. Their is a htaccess file in the directory that points to a password file in a top folder. the problem that i m running to is double authentication. when i ...
1
vote
2answers
606 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
74 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
908 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
34 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
25 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
673 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
34 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 ...
1
vote
1answer
39 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 ...
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
231 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 ...
0
votes
2answers
156 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 ...
1
vote
2answers
48 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
162 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 ...
2
votes
2answers
95 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 ...
1
vote
2answers
84 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
37 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
55 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
70 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 ...
1
vote
2answers
62 views

Does duplicate title tags with and without www hurt SEO?

For my website, I own https://www.example.com and https://example.com. (Currently, http://example.com redirects to https://www.example.com.) I recently had an audit of my website and it reported ...
0
votes
2answers
37 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 ...
2
votes
1answer
50 views

How to redirect parked domain to main domain but still show the parked domain in address bar

I have a main hosting registered with the domain example.com. The hosting allows me to park another domain. I want that any person that access to example2.com be redirected to sub.example.com. In this ...
2
votes
2answers
8k 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 ...
4
votes
5answers
4k views

How can I force Google to re-index my site?

I changed the structure of my URLs. The pages are already indexed by Google and have the following structure: /myfolder/page.apsx The new structure is: /page.aspx Now all URLs that Google knows ...
0
votes
1answer
38 views

What defines a permenant redirect?

I'm a little confused between a 301 redirect, the javascript meta http-equiv="refresh approach and lastly using a 404 which can work out where you wanted to get to and then forward you on. I can see ...
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. ...
2
votes
1answer
41 views

Apache Redirect for Internal Traffic Only

We have a page, gateway.school.edu, where users have to fill out a recaptcha before being directed forward to our password reset. I would like any internal traffic, any user agent on our network with ...
6
votes
3answers
2k 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/. ...
5
votes
3answers
371 views

Best way to redirect users back to the pretty URL who land on the _escaped_fragment_ one?

I am working on an AJAX site and have successfully implemented Google's AJAX recommendation by creating _escape_fragment_ versions of each page for it to index. Thus each page has 2 URLs: pretty: ...