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
-
Domain Types/Extensions – Are .infos any good ?
Hi I know general concensus is to stay away from the non established domain suffix types and concentrate on .coms .co.uk’s etc etc. But i have an aged .info domain that has some content on it related to a online news paper i have on that subject (on the news paper providers domain sub-folder currently) which i want to focus more time on and put on its own dedicated domain. So i want to upload it to this aged .info domain. However waste of time if .info domains are bad for seo etc Does anyone have any experience of .info doing well in serps or should i totally scrap the idea and try find a new .com etc type domain ? My .info has been live with related content for 7 years so hoping that should count for something 🙂 All Best
Technical SEO | | Dan-Lawrence
Dan0 -
Penalized domain redirected to the non-penalized one...
I've a technical question , For example site A was penalized by google updates, panda and penguin both and site b is in the same niche and it's running good and never been penalized by updates. If I redirect site A to Site B with 301 status code(permanent redirect), will Google penalize the site B too? because penalties travel from old domain to new one as per google's algorithms. And If yes then how can I stop my competitor from removing redirection of penalized domain to mine?
Technical SEO | | hammadrafique0 -
Redirect non www. domain to WWW. domain for established website?
Hey guys, The website in question has been online for more than 5 years but there are still 2 versions of the website. Both versions are indexed by Google and of course, this will result in duplicate content. Is it necessary to redirect the non-www domain to the www. domain. What are the cons and advantages? Will the www. links replace the non-www links when it comes to keyword rankings? Thanks.
Technical SEO | | BruLee0 -
Build links to / or without ./ on root
Hi there for linkbuilding what is better, building with / or without / www.domain.com www.domain.com/ I have been told it depends what your webserver is doing, also i was told they are the same? what does Google see? I know i need to stay consistent, just wondering which practice is better? Any help as always much appreciated.
Technical SEO | | pauledwards0 -
301 redirect
What is a proper way to redirect any url containing a give word (anywhere in the url) to another sepcified url? Is it like this? RedirectMatch 301 ^thisword$ http://domain.com/newlocation
Technical SEO | | sesertin1 -
Follow up from http://www.seomoz.org/qa/discuss/52837/google-analytics
Ben, I have a follow up question from our previous discussion at http://www.seomoz.org/qa/discuss/52837/google-analytics To summarize, to implement what we need, we need to do three things: add GA code to the Darden page _gaq.push(['_setAccount', 'UA-12345-1']);_gaq.push(['_setAllowLinker', true]);_gaq.push(['_setDomainName', '.darden.virginia.edu']);_gaq.push(['_setAllowHash', false]);_gaq.push(['_trackPageview']); Change links on the Darden Page to look like http://www.darden.virginia.edu/web/MBA-for-Executives/ and [https://darden-admissions.symplicity.com/applicant](<a href=)">Apply Now and make into [https://darden-admissions.symplicity.com/applicant](<a href=)" > onclick="_gaq.push(['_link', 'https://darden-admissions.symplicity.com/applicant']); return false;">Apply Now Have symplicity add this code. _gaq.push(['_setAccount', 'UA-12345-1']);_gaq.push(['_setAllowLinker', true]);_gaq.push(['_setDomainName', '.symplicity.com']);_gaq.push(['_setAllowHash', false]);_gaq.push(['_trackPageview']); Due to our CMS system, it does not allow the user to add onClick to the link. So, we CANNOT add part 2) What will be the result if we have only 1) and 3) implemented? Will the data still be fed to GA account 'UA-12345-1'? If not, how can we get cross domain tracking if we cannot change the link code? Nick
Technical SEO | | Darden0 -
Https redirect
Hi there, a client of mine is asking me if Google would penalize to redirect from all the http urls to https (they want to change the security protocol). I assume it is going to work as a classic 301, right? so they might lose some authority in they way, but I am not 100% sure. Can anyone confirm this? does anyone has a similar experience? thanks a lot!
Technical SEO | | elisainteractive0