Gets traffic on both domain.dk and domain.dk/default.asp
-
Hi.
Im runnning a couple of sites. And in my analytics/webmastertool I get both traffic on domain.dk and domain.dk/default.asp which are both essentially the same page.
I'm pretty sure it would be better, if I somehow could make the default.asp "redirect" to "/". I dont wanna loose the linkjuice thou.
Any smart suggestions for an easy fix?
/Kasper
-
Thanks guys.
I'll go with the cannonical tag first.
And I used screaming frog to find the internal links - Thanks for that Dirk.
-
Apart from the excellent answers already given above, don't forget to check your internal links - and check that you always link to domain.dk and not to domain.dk/default.asp (Screaming Frog can help you to check that). Inconsistent internal linking is often a reason why google detects the second version in the first place.
rgds,
Dirk
-
Obviously it is a good idea as this very Google will have an idea about what page is the preferred version by the website owner plus when two different pages (containing the same content) will become one they will share their link power and duplicate content on the website will be reduced.
Hope to do that?
There are quite a few ways, you could do this but by looking in to your URL example it seems like your website pages are based on ASP so in ASP this is how you can set 301 redirection.
Here is the code you can use:
|
<%
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","http://www.newlocation.com");
}
%>
|
For more information regarding this, http://www.301-redirect.info/en/301-redirect-with-asp-net.html might be of help!
-
Hi Kasper,
I think your own suggestion is just right. Put a 301 redirect on the /defailt.asp page and your linkjuice should be fine.
Two extra hints:
1. Make sure your internal links point to your normal homepage (not the /default.asp).
2. If you have any valuable backlinks pointing to /default.asp you can try to change (ask the webmasters) the backlinks to your normal homepage.
Both suggestions prevent your linkjuice from going through a 301 redirect. Although 301 redirects pass linkjuice there is a damping factor (0,85) in the original PageRank system which lowers your linkjuice a bit with every link / 301 redirect it passes through.
Good luck!
-
Hello.
Just create a file called .htaccess on your root with these two lines of code:
RewriteCond %{THE_REQUEST} ^./default.asp
RewriteRule ^(.)default.asp$ /$1 [R=301,L]Also, use a code editor to look on your code for appearances of "default.asp" to make sure you are not linking to that full address, as that link could be the cause of Google indexing that wrong URL.
If you are not comfortable with .htaccess and redirections, you could also implement a canonical meta tag to indicate your preferred URL for that page.
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
-
How can I distinguish new visitors from existing (customers) in Google Analytics to attain an avg # of new visitor traffic per day/week?
i do marketing for a business software site where we have hundreds of clients and each account has on avg 100 users. I am having a very challenging time to attempting to figure out the real number of unique traffic that our site receives. **(what's creating the issue is that we have thousands of user accounts where our users log-in via our site to access our app/platform). Would love help with this! Christian
Reporting & Analytics | | Sundance_Kidd0 -
Alternative domains redirected with 301 to the main domain
Hi everyone I've got a website which gained a Panda penalty back in March 2012 which was because of the implementation of a range of spammy practices (keyword stuffing in titles, indexed category and tag pages, duplicate domains). I've fixed the titles and deindexed any pages that could be seen as thin or duplicate so I'm confident that any onsite Panda issues have been fixed. As mentioned above the client had also created over 40 alternative domains to the website and pointed them to their main website folders (hence duplicating the website and content 40 times over). These domains have now been redirected via 301 redirects to the main website to ensure that any links they have gained are captured. The reason for the redirection is that we initially took the domains down and saw a drop in traffic and this seemed to be the most likely reason. While Moz and Majestic are not showing any significant links to these domains (which is why they where originally taken down), past experience has told me that these tools don't always pick up all referring domains. Primary domain workingvoices.com 5 Example Alternative Domains presentationskillslondon.com workingvoiceslive.biz workingvoices.co.uk livingvoices.co.uk working-voices.net Question 1: At the same time we took down the alternative domains (and experienced the drop in traffic) we removed duplicate instances of Google Analytics code from the webpages. All the guidance that we could find stated that duplicate instances of code shouldn't affect your Analytics numbers, hence we assumed it was the taking down of the alternative domains, but maybe the guidance we found was wrong? Question 2: It is 3 months later and these alternative domains are still indexed by Google, and Panda hasn't run since October 2014 so we haven't experienced a recovery yet. Redirecting the domains will remove any issue of a Panda penalty, but now of course I am worried about Penguin - the last thing I want to do is trigger that can of worms! This whole saga has been pretty complicated and I think I need some fresh sets of eyes. What does everyone think? Could the initial drop have been due to the duplicate Analytics code being removed? Could the redirecting domains trigger Penguin? Should we take the alternative domains down and be done with them? Any other thoughts! Looking forward to hearing your opinions! Damon.
Reporting & Analytics | | Digitator0 -
Can you arrange Google Analytics source/medium traffic by percentage change?
I'm doing a year to year traffic audit for a client. I would like to analyze Google Analytics source/medium traffic by percent change. Is there a way to do this? Do I have to create a custom variable? 9BH70RO
Reporting & Analytics | | VanguardCommunications0 -
Stop getting info from Google analytics on purchases in our site
Hi guys, We have eCommerce.
Reporting & Analytics | | WayneRooney
We connected the site to the Google analytic eCommerce.
Everything was work fine until 3 weeks ago. Suddenly we stooped getting purchases information in the analytic although i see purchases in the website. We didn't change anything in the website and i really don't know how to solve this problem.
If someone here can point me where i can get some info on how to fix it it can be great. Thanks a lot!0 -
Google Shopping tracking as organic traffic - help!
Hey guys, I have an eCommerce client who sometimes runs Google PLA and Google Shopping campaigns. However, we don't run his AdWords for him, just do his SEO. At the moment, the Shopping campaigns track as organic traffic within Analytics. And I can't see any way to change this! It's so infuriating. How do I change this? Thanks!
Reporting & Analytics | | jasarrow0 -
Loss of Google referral traffic after server move / CMS move
I have a client that changed from MoveableType to Wordpress. He also changed from a dedicated server to WP Engine. He may have blocked search engines for a week or two, so his organic traffic is down but only by 25%. He's 301 redirecting all of the old pages. The mystery is that his referral traffic from Google is down 90%. It's a popular blog, so that's thousands. It's been going on a month now. Anyone seen this before?
Reporting & Analytics | | Hyper-Dog0 -
We have detected that the root domain is not a live URL.
I'm trying to add a URL that is having some obvious issues so I can further investigate. When trying to add this site to a campaign in SEOmoz i get the following: Roger has detected a problem: We have detected that the root domain theurbandater.com is not a live URL. Using this domain, we will be unable to crawl your site or present accurate SERP information. == What does that error mean? Where should I be looking to begin troubleshooting? The initial issue was that back on 9/1 according to Google Webmaster Tools this site began getting a high number of 500 erros and that number continued to rise up to 3200 of the same type of error. So something screwy is going on and I'm not sure where to start looking.
Reporting & Analytics | | digisavvy0 -
Google Webmaster Dropped Traffic
Hi Guys, I've recently implemented a new site design with a new url architecture etc.. I set up Google Webmaster tools in early March and went live with the new site on 2nd April. Since the 6th April (4 days after going live) I've notice a drop in impressions from 15,000 - 28,000 per day to 3,500 - 5,500 per day. Now I'm kind of new to this, so after I cleaned up after my initial panic, I checked impressions vs. clicks. Impression are down 44% and clicks 31%. Not bad I thought but then again what if I dropped so far off the radar I never made an impression. 1. So first question: Are the number of impressions of a keyword independant of ranking. So if I rank #3,445,234th will I still see impressions listed but avg. position reflect #3,445,234? So while I was thinking of asking these questions I checked Google Analytics for which I have just over 3 years of metrics. Compared to the past; overall traffic and organic traffic are the same if not 10-20% better. 2. So second: Am I missing something? Its a resort website so easter just ended and you would expect the traffic to match and drop, but such a sudden and dramitic drop in Webmaster Tools impressions does not match Google Analytics. Infact Organic traffic climbed slightly. Can anyone offer any insight? Thanks, Adam
Reporting & Analytics | | NaescentAdam0