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
-
Is there a tool out there to check any domain that might be pointing to my existing domain?
Is there a tool out there to check any domain that might be pointing to my existing domain?
Technical SEO | | adlev0 -
Buying a domain to 301 redirect for increased rankings
A large competitor has recently purchased a large marketing company that specializes in their industry. As a part of this acquisition they obtained ownership of www.digitalsherpa.com, which is now 301 redirecting some 50K links to www.costar.com/. When I did a site:www.digitalsherpa.com search all of the origin URLs had title tags from the costar site in place of their own. My question is: Does this violate Google spam guidelines? search?sourceid=chrome-psyapi2&ion=1&espv=2&ie=UTF-8&q=site%3Adigitalsherpa.com&oq=site&aqs=chrome.0.69i59j69i57j69i65j69i60j0l2.1919j0j7
Technical SEO | | Reis_Inc.0 -
HTACESS Redirect Root Domain To Sub-Directory
Hi Guys, I posted on another post here http://moz.com/community/q/site-migration-between-cms-s about an issue I am hleping out on with a client about migrating between Joomla and Wordpress. He wants to keep some of the old links live on the Joomla installation (I have advised that Google won't be able to crawl these) he wants the new wordpress installation to run on www.site.com/customise (a subdirectory) I have researched this and can't see any issues with indexing or page authority as it's just like having an index.php on the end of every URL. So basically if you go to www.site.com it will be redirected to www.site.com/customise. Will there be any issues, will go frown upon this in anway? Kind Regards Neil
Technical SEO | | nezona0 -
To 301 redirect or not...
Hi guys i'd like to get your opinion on this. We currently have two sites, site A is the old one with PA44 and DA33. Site B is the new one which is going to replace site A it currently has PA37 and DA24 Our plan for the future is to shut down site A and redirect all pages using 301 to the relevant pages on side B. Currently we have some links in place for a couple of keywords on site A to site B which seems to be working great for our ranking. Now i'm wondering if this is maybe a good option, to give back links from A to B or will i pass through more link juice when redirecting everything? (ps. both are e commerce sites hosted and registred with different companies)
Technical SEO | | Immanuel0 -
We have set up 301 redirects for pages from an old domain, but they aren't working and we are having duplicate content problems - Can you help?
We have several old domains. One is http://www.ccisound.com - Our "real" site is http://www.ccisolutions.com The 301 redirect from the old domain to the new domain works. However, the 301-redirects for interior pages, like: http://www.ccisolund.com/StoreFront/category/cd-duplicators do not work. This URL should redirect to http://www.ccisolutions.com/StoreFront/category/cd-duplicators but as you can see it does not. Our IT director supplied me with this code from the HT Access file in hopes that someone can help point us in the right direction and suggest how we might fix the problem: RewriteCond%{HTTP_HOST} ccisound.com$ [NC] RewriteRule^(.*)$ http://www.ccisolutions.com/$1 [R=301,L] Any ideas on why the 301 redirect isn't happening? Thanks all!
Technical SEO | | danatanseo0 -
Is Buying Domains Good For SEO? Can I 301 redirect domains to an Original website?
I have a friend that purchased multiple domains related to their website. Each of these domains have the back ground of the original website and irrelevant content on them. Is is possible to redirect the various domains to certain pages on the original website. For example if the website is www.shoes.com and they purchased domains such as www.leathermensshoes.com and a few others related to the website. Is it SEO friendly to link the domains purchased to the original website?
Technical SEO | | TSpike10 -
What is the best method to block a sub-domain, e.g. staging.domain.com/ from getting indexed?
Now that Google considers subdomains as part of the TLD I'm a little leery of testing robots.txt with something like: staging.domain.com
Technical SEO | | fthead9
User-agent: *
Disallow: / in fear it might get the www.domain.com blocked as well. Has anyone had any success using robots.txt to block sub-domains? I know I could add a meta robots tag to the staging.domain.com pages but that would require a lot more work.0 -
Domain Relocation
My client is running a online news website, which is running for 4 years. He's now looking to change the site into a new domain. I would like to know what are the factors to look out for when changing the site into new domain (In SEO point of view)
Technical SEO | | augmoz110