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
-
Help needed - traffic reduced by half for no apparent reason - not sure what to do
My client site, https://www.helpinhearing.co.uk/ - has regularly been showing traffic of between 1000 & 1500 sessions per month. I've just looked at their Analytics for September and the sessions have dropped to just over 600! And not only was there a period of around 11 days from September 19th onwards when there was either zero traffic or 1 or 2 visits, but also from October 4th to today (8th Oct) also no visits at all. This has never happened and we've managed this website for several years now. I cannot fathom out why this may be the case. We haven't changed anything on the site from a technical point of view, just added content and usual blog etc pages. Search Console lists 147 pages as 404 errors but there are no urgent messages or alerts/warnings. I really don't know how to proceed and try and find out what is going on with the site. Can anyone offer suggestions?
Reporting & Analytics | | mfrgolfgti0 -
Domain Authority and Links drastically decreased in less than a month
I'm fairly new to SEO, and am left completely perplexed about why our two SEO client's links and DA decreased so drastically in so little time. Looking at their stats on Moz, between May and June, their DA's went down by 3-5 (which, they were fairly low to begin with), and external links were halved! This is rather concerning to me as building their external links has been my focus for the past few months for both of them. There are a number of tweaks that I could make to site structure in terms of meta descriptions and page title length (though I can't fix that as the clients want to keep the titles as is), however there are no critical errors. I have also placed a lot of filters on both of their Google Analytics pages as they were getting what I just now realized was a ton of spam, though I don't see how that would affect anything. I just can't imagine what lead to all of those external link suddenly dropping. I imagine the drastic drop in those lead to the DA decrease, but again, I'm very new, so I'm not certain. Any help at all would be greatly appreciated. I have been panicking quite a bit since I've seen this!
Reporting & Analytics | | everestagency0 -
Locating Source of Referral Traffic
Hey Folks, I have discovered a Korean site is sending considerable traffic to a specific landing page on my client's cosmetic surgery site in California. I am concerned Google may deem this as spammy - I know I do. I have been able to track the referral traffic to this point: cluster1.cafe.daum.net/c21/bbs_read which appears to be a community-based site and/or forum. However, I can not locate the exact source where the href back to my client's site resides. Given that my Korean is not exactly up to par 😉 and Google translate only takes me so far, can any of you suggest an advanced query or method of tracking to pinpoint the source page? Thanks!
Reporting & Analytics | | SCW0 -
Google Analytics: Okay to change domain?
So, we are a long time user of GA and we're planning a domain change.
Reporting & Analytics | | jmueller0823
Does anyone know if I can 'change the domain' in GA so we don't lose our past data?
Thanks!0 -
Client has two default analytics accounts
A client has provided me with their analytics access but i notice that there are two default accounts on their account. They have two UA numbers. The first UA number is in their company name and the other UA number is in another company name with my clients website underneath. Their UA number in their company name is not showing any results however the other company UA number is showing results. Does anyone know why they will have two accounts and if this will cause a problem when trying to link their seo moz campaign to their analytics to track their keywords?
Reporting & Analytics | | Shelly760 -
Images Getting Indexed Making for Low Engagements Times in GA
I have quite a few images that are being indexed for popular search terms and are getting clicks. This site has a 0-10 second engagement of 69%. I would like to eliminate these images from the equation because I tend to think they are hurting my "quality score" in organic Google rankings. How do you keep these images from ranking? I suppose I could rename them. Should I disallow the images folder? I hate to do that, because some of my images turn up in local searches, which is good. I would rather keep those. But what is best practice? A little background info, this is a local service site. So the images that are ranking are coming up for a broad national type search. This has 0 value for the site. Any advice or suggestions would be appreciated, Thanks! Kathy
Reporting & Analytics | | MSWD0 -
Ideas for a strange surge in direct traffic
Being the type of person that can't stop checking my Google Analytics, I noticed this morning that between the hours of 12 and 2 central time last night I recieved a strange surge of direct traffic. My site typically gets around 40 direct visits per day (most of them coming during peak hours around the time people are getting off of work). I received 150 direct visits during this random time in the middle of the night. My bounce rate soared as almost every visit was a bounce. The visitors locations are spread out as if it is natural human traffic. Every single one of the visitors is using a chrome browser. Has anyone else run into something like this? All I can think of is that someone might have an addon or toolbar for chrome that linked to my site for a while in a way that caused unsuspecting visitors to end up on my page. For now I'm keeping my fingers crossed and hoping the traffic doesn't return, as it could be bad news for my Adsense. *Edit: Also of particular interest, each direct visit went to an internal page on my site and no two of the 150 visits went to the same internal page. I also added an image showing a normal complete day's direct traffic and my direct traffic for today so far (The bulk of the surge came yesterday but the shot from today illustrates the surge better because it is missing my naturally daily direct traffic that comes in the afternoon) heXFb#LiiEr
Reporting & Analytics | | pattersonla0 -
Big Traffic Drops in Bing
I have a client that has been struggling with their organic traffic the over the past several months. We figured they had been hit by Penguin and some of Google's other algo changes...But I just dug in a little deeper in Google Analytics, and their traffic is actually up year over year for Google organic, but they are down 75% + for both Bing and Yahoo organic. They drop seemed to occur around April, 2012, and they have rapidly lost Bing and Yahoo traffic ever since. Can anyone help explain why this might be happening? A Bing and Yahoo algo update? Or just fewer people using those search engines possibly? I'm not quite sure how to make up for all the lost traffic in Bing and Yahoo. Any suggestions are appreciated!
Reporting & Analytics | | BlueTent200