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
-
Can a page that's 301 redirected get indexed / show in search results?
Hey folks, have searched around and haven't been able to find an answer to this question. I've got a client who has very different search results when including his middle initial. His bio page on his company's website has the slug /people/john-smith; I'm wondering if we set up a duplicate bio page with his middle initial (e.g. /people/john-b-smith) and then 301 redirect it to the existent bio page, whether the latter page would get indexed by google and show in search results for queries that use the middle initial (e.g. "john b smith"). I've already got the metadata based on the middle initial version but I know the slug is a ranking signal and since it's a direct match to one of his higher volume branded queries I thought it might help to get his bio page ranking more highly. Would that work or does the 301'd page effectively cease to exist in Google's eyes?
Technical SEO | | Greentarget0 -
How to prevent duplicat content issue and indexing sub domain [ CDN sub domain]?
Hello! I wish to use CDN server to optimize my page loading time ( MaxCDN). I have to use a custom CDN sub domain to use these services. If I added a sub domain, then my blog has two URL (http://www.example.com and http://cdn.example.com) for the same content. I have more than 450 blog posts. I think it will cause duplicate content issues. In this situation, what is the best method (rel=canonical or no-indexing) to prevent duplicate content issue and prevent indexing sub domain? And take the optimum service of the CDN. Thanks!
Technical SEO | | Godad0 -
Duplicate content /index.php/ issues
I'm having some duplicate content issues with Google. I've already got my .htaccess file working just fine as far as I can tell. Rewriting works great, and by using the site you'd never end up on a page with /index.php. However I do notice that on ANY page of the site you could add /index.php and get the same page i.e.: www.mysite.com/category/article and www.mysite.com/index.php/category/article Would both return the same page. How can I 301 or something similar all /index.php pages to the non index.php version? I have no desire for any page on my site to have index.php in it, there is no use to it. Having quite the hard time figuring this out. Again this is basically just for the robots, the URL's the users see are perfect, never had an issue with that. Just SEOMOZ reporting duplicate content and I've verified that to be true.
Technical SEO | | b18turboef1 -
Holy Redirects
Currently working on a project for a medium sized site (http://sleeponcall.com/) but the SEOMoz crawl crawled over 14,000 pages because the report is showing more than 8,000 redirects. The client has no clue how this happened as their previous web programmers may not have been on the ball. What could be causing the problem and what is the best way to untangle this mess?
Technical SEO | | Nobody15330770827560 -
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 -
How does Google find /feed/ at the end of all pages on my site?
Hi! In Google Webmaster Tools I find *.../feed/ as a 404 page in crawl errors. The problem is that none of these pages exist and they have no inbound links (except the start page). FYI, it´s a wordpress site. Example: www.mysite.com/subpage1/feed/ www.mysite.com/subpage2/feed/ www.mysite.com/subpage3/feed/ etc Does Google search for /feed/ by default or why do I keep getting these 404´s every day?
Technical SEO | | Vivamedia0 -
How do I redirect index.html to the root / ?
The site I've inherited had operated on index.html at one point, and now uses index.php for the home page, which goes to the / page. The index.html was lost in migrating server hosts. How do I redirect the index.html to the / page? I've tried different options that keep giving ending up with the same 404 error. I tried a redirect from index.html to index.php which ended in an infinite loop. Because the index.html no longer exists in the root, should I created it and then add a redirect to it? Can I avoid this by editing the .htaccess? Any help is appreciated, thanks in advance!
Technical SEO | | NetPicks0 -
Correct 301 of domain inclusive "/"
Do I have to redirect "/" in the domain by default? My root domain is e.g. petra.at
Technical SEO | | petrakraft
--> I redirect via 301 to www.petra.at Do I have to do that with petra.at/ and www.petra.at/, too?0