Redirecting /default to domain ??
-
Google analytics shows me that this: http://www.quicklearn.com/default.aspx is my "top content page"
This page doesn't redirect to my root domain: http://www.quicklearn.com
IT tells me that "/default.aspx" can not redirect to my domain. I am told: "You can only redirect deeper into the site."
We have had an ongoing issue with duplicate content (that we are in the process of correcting).
Anyone with experience in redirecting that can help? Any advice welcome
-
Hi Monique,
The solution is simple, ask him to put something like that in your default.aspx file, he should understand :
If Request.Url.ToString() = "/default.aspx" Then
Response.Status = "301 Moved Permanently"
Response.AddHeader("Location","http://www.quicklearn.com/")
End IfThese 4 lines (not 2 finaly, I forgot how asp was... asp) should do the trick.
Best regards,
Guillaume Voyer. -
Hi Monique,
How did things go with IT? Is there anything we can do to help convince them that this can be redirected?
-
Hi Monique,
If I were you, I would fire the IT... If your IT doesn't know the simple two lines of code that can solve this common problem, I think he doesn't deserve his job.
If all your inbound links are splitted between two pages that are in fact the same / and /default.aspx than you are losing a significant amount of link juice that could all go to the same place and this, without any doubt, affect your rankings.
Best regards,
Guillaume Voyer. -
Monique,
1)Let me explain something about adding rel canonical
it doesnt mean that it will INDEX quicklearn.com . But what is going to happen is when you will serve googlebot the /default. you will tell him that the canonical version of this page is quicklearn.com. and it means all SEO value will be credited to quicklearn.com and you will not have duplicate content between them two.
Now concerning what Google Analytics will show you exactly whats the user is landing on. and IMO it will still show you the /default
- i was checking your site and i cant seem to find the URL with default.aspx indexed?
and seems URL structure is working good
-
I haven't heard that one from a developer before (only redirecting deeper into a site), and I do see online people being able to do the redirects. I've used ISAPI rewrites on IIS servers before just fine to handle this, though with a different site architecture.
Just one URL for each page is the best practice. However you redirect, make sure that you use a 301 (permanent) redirect.
-
Help me to understand if I did this correctly, and what the fastest solution is ok ?
1.) We used rel=canonical on the http://www.quicklearn.com/default.aspx to eliminate a duplicate content issue. Google should index http://www.quicklearn.com. Google Analytics still shows /default.aspx as top though.
2.) All our subcategory pages have the same type of the thing. /default (etc)
[ http://www.quicklearn.com/biztalk-training/default.aspx --- http://www.quicklearn.com/biztalk-training/ ]
--->Can we use ISAPI? to fix this issue?
Do the /default pages (extra version) hurt us in indexing and Page rank?
-
If ISAPI rewrites didn't do the trick, did you try using rel=canonical ?
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
301 Redirects Showing As 307 Redirects
Hi, Our clients are adamant that they have set up 301 permanent redirects on their websites, but when we check using Screaming Frog and various online HTTP status code checkers they are showing as 307 temporary redirects. Examples;
Technical SEO | | Webpresence
http://www.lifestylelifts.co.uk/home-lifts/
http://www.terrylifts.co.uk/ Again, the client says they are seeing 301 redirects. Why are we seeing 307's? Who is right? Very puzzling, any theories would be very much appreciated 🙂 Thanks in advance. Lee.0 -
Switched from and HTTPS to HTTP. My home page is facing a redirect issue from the http to https. Should I no index the HTTP or find the redirect and delete it? Thank you
Switched from and HTTPS to HTTP. My home page is facing a redirect issue from the http to https. Should I no index the HTTP or find the redirect and delete it? Thank you
Technical SEO | | LandmarkRecovery20170 -
How to redirect subfolder on different domain to another but same ftp
Hi i was wondering how can we redirect all subfolder under language repertory from a domain name to another domain name. The thing is that these 2 domain are on the same IP. Exemple Domain1.com/en to Domain2.com/en Domain1.com/fr to Domain2.com/fr I already redirected my domain with this code RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.olddomain\.com$ RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L] RewriteCond %{HTTP_HOST} !^olddomain\.com$ RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L] Should i apply this code in my .htacces in the subfolder fr and en?
Technical SEO | | bigrat950 -
301 Redirect
Hello Moz Community, I have a question regarding 301 redirecting a new domain that contains keywords relevant to my website. However, I do NOT want to change my current domain. My main question is, by just redirecting this new domain to my current website, will those keywords in the new domain help with ranking in anyway? Thanks in advance for any help!
Technical SEO | | WyzeOwl0 -
I have a sub domain that has live content on it but the root domain redirects to another URL. I know this is not great but what are the implications?
I have a subdomain that is populated and has content. The root domain that the sub lives on redirects to an entirely different URL. I am trying to make a case as to why this isn't great besides the fact that it is just weird user experiences. What are the SEO implications etc. Would any equity that gets built up on the subdomain get passed along in the redirect? Or will there be indexation issues with Google? Cheers, Mark
Technical SEO | | mjsikorsky0 -
Redirects - How Best to do this ?
Hi I am looking to close Website A which has many pages. I would like to keep the home page and add some great content to it with a link pointing to Website B. As for all the other pages excluding the home page , how is it best to approach them on Website A. Should I redirect them all to the home page of Website A which will tell Google thoose Pages are no longer needed and to prevent the visitors from seeing a 404? My Main aim here is to not lose any visitors to Website A by sending them to Website B but also to hopefully pass any Page strength from Website A to Website B Thanks Adam
Technical SEO | | AMG1000 -
Domains
My questions is what to do with old domains we own from a past business. Is it advantages to direct them to the new domain/company or is that going to cause a problem for the new company. They are not in the same industry.
Technical SEO | | KeylimeSocial0 -
301 redirect from root to /index.aspx
I have taken over the SEO for www.domain.net. The way i've inherited the setup is that www.domain.net is 301 redirected to www.domain.net/index.aspx Looking at top pages and linking root domains in Opensiteexplorer I can see that www.domain.net/index.aspx has 1,006 linking root domains www.domain.net has 806 linking root domains. I assume that www.domain.net is passing the value of it's 806 domain links to www.domain.net/index.aspx via the 301 redirect and because of this would expect www.domain.net/index.aspx to be the strongest page on the site and be the url that ranks in the listings for many relevant searches. It appears however that www.domain.net is what is shown in listings and not www.domain.net/index.aspx ?? Can anyone explain why this might be?? If I do a site: search in Google then www.domain.net is indexed and not www.domain.net/index.aspx ??
Technical SEO | | QubaSEO0