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
-
Link juice am i getting it or not?
We have a newspaper source that links to a domain that forwards to a page on our website. Do we get link juice from that? Go here: https://dailygazette.com/ click on "Classifieds" then "CapRegion Homes" the button goes to the website www.capregionhomes.com which forwards to our main website, a page we built for them. My question is: Because the link from this site first goes to another site that auto-forwards to us are we actually getting any link juice from the daily gazette on this or is that first site getting all the juice & we technically are getting link juice from capregionhomes.com ?
Reporting & Analytics | | Cfarcher0 -
We setup a new Google Analytics account for the new domain but the old one is still there
Hi, Our company has changed their domain almost a year ago and after the migration, they created a new Google Analytics account rather than changing the address on the existing GA account. Now I can still see that Google indexing the old domain. Just wanted to ask if we can still tell Google that we've changed the domain on the old one? Or, should we just go ahead and use the new one and delete the old one? Very confusing, but our traffic is constantly dropping although we rank for on the first page for tracked keywords, just want to understand if there is a connection between the organic traffic droppings and not telling Google we've changed the domain. Thanks! NJt7vbJ
Reporting & Analytics | | Lucidica0 -
Any solution to low search traffic on weekend
Hi. all, https://www.babyment.com is content website. our search traffic always shows a dip on weekend (friday to sunday), anyone has idea why it is like this? and is there a solution to this? or this is a just normal? Thank you.
Reporting & Analytics | | melvinwu0 -
Bounce Rates: Leaving my domain.com/blog to shop on mydomain.com counts as bounce rate?
Hello! I have a kind of difficult question. On my main domain i have: Store: mydomain.com and wordpress blog on mydomain.com/blog If I have a link to a specific product on my blog and user goes to the product on the store, will bounce rate increase or as it's the same domain will be like a new page view? Different CMS's and blog is on a different analytics account than the store. I hope i could explain myself! Thank you
Reporting & Analytics | | prozis0 -
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 -
Why am i seeing google.inc in analytics as direct traffic? Bug?
Recently i have seen two clients sites see a spike in direct traffic coming from google.inc. Is this a bot/bug which i should filter out. Just a bit confused why google.inc has visited our clients site 676 times! Any insight would be great.
Reporting & Analytics | | BlueWren1 -
What's the best enterprise analytic solution for a website with 100+ Million Visits/Month
Hi Guys, I'm looking for an enterprise solution for my companies website that currently gets 100+ Million visits a month? We use the free version of Google Analytic but the sampling levels we get are just too small. We have the budget to get something substantial -- the question is what solution should we go with? Thanks, Nicolas
Reporting & Analytics | | Nicolas_Seattle0 -
I made 18 websites and the traffic keeps going down over 3 months
I made 18 websites, and have used a analytics web app called piwik. You can google it, but basically it is like google analytics. I have done nothing for the websites no links, no updates. I did do the onpage optimization extremely well. At first I had daily traffic over all the websites at about 200, then like a month went by and it was at 100, then another month has gone by it is hovering around 30 visits -- This is total traffic across all the websites. In addition my websites were ranking much better and alot of them were coming up together in the results in a single google query, now this is no longer true, only one or maybe two come for the same google query and they come up lower in the serp ranking ie. before it was 1st place now 3rd for example, so traffic has decreased respectively. Anybody can tell me what I can do, to regain the positions and traffic I had before.
Reporting & Analytics | | mickey110