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
-
Does PPC affect SEO Traffic?
Last week my website (www.cooke.co.uk) started PPC advertising with Google. This has been successful in increasing the amount of overall traffic to the site. However, since we started the PPC advertising, our traffic from organic search has decreased significantly. Our rankings haven't changed dramatically enough to warrant such a decrease. Has anyone else been in a situation where organic traffic has dropped as a result of launching a paid campaign? What did you do to rectify it? Thanks.
Reporting & Analytics | | AAttias0 -
Separating branded from non branded org. traffic volume
What is the easiest way of separating branded from non branded org. traffic volume? I've created great rankings for a client, and at the same time their brand searches seem to have dropped a lot. How do I present this in the best way since GA only shows little org. keyword info. Thanks!
Reporting & Analytics | | Majsan0 -
Analytics not tracking traffic from Old Domain Redirect
We've recently 301 redirected one of our client's domains to their new website and the strange thing is, we aren't seeing an increase in traffic in analytics. You would expect the traffic to increase roughly by the traffic volume from the old domain. There were a few hundred redirects and we tested a large sample and the redirects have been implemented properly. Is there something that we did incorrectly in our implementation of the domain redirect? Or is there something else that we need to do in Analytics to properly track those redirects?
Reporting & Analytics | | ATMOSMarketing560 -
Why would our client's site be receiving significant levels of organic traffic for a keyword they do not rank for?
We have a client that has received 100+ organic visits for the keyword 'airport transfers', yet the site does not rank in the top 100 search results for this keyword. We have checked that it is not untagged PPC traffic. Truly baffling. Can anybody help?
Reporting & Analytics | | mrdavidingram0 -
Does this traffic drop look like Penguin to you?
Dear Community In early October, I noticed a sharp drop of the rankings of the main KW of a website I manage: idee-sol.fr. This, of course I immediatelly attributed to penguin 2.1. While researching on the experience other webmasters have had with this unfortunate situation, I noticed that most of them had very sharp drops of traffic in a relatively small time, e.g.: a drop of 80% in a couple of days. But on idee-sol, the drop looks less steep yet equally worrying. Was the cause of this traffic/ranking drop due to penguin 2.1 exclusively or to penguin + something else (or not penguin at all?) I'm including an image of the "non paid search" report of analytics. dPnphnr
Reporting & Analytics | | Masoko-T0 -
A/B Tests: How To Verify Difference In Average Order Value?
Hi there! When the data from an A/B test shows a difference in AOV between the variants, how do you determine if this difference is statistically probable or not? Best Regards, Martin
Reporting & Analytics | | TalkInThePark0 -
Can you use Google tag manager to manage rich snippets/schema mark up?
Hi,Does anyone know if you can use the new Google tag manager to manage rich snippets? I've seen that there is an HTML section where you can edit HTML that isn't shown on the site - do you think this field could be used to add schema data?Thanks,Karen
Reporting & Analytics | | Digirank0 -
Yahoo Site explorer: Different results for www & non-www domain. Can we merge these?
When checking our domain on yahoo site explorer, different results are shown for www.theprintspace.de and theprintspace.de. We have done a 301 redirect, as we want to optimise our www.theprintspace.de domain. However, we have a lot more backlinks for theprintspace.de. Is there any way of merging the two, so we don't loose all the linkjuice we get for theprintspace.de and use those links to optimise www.theprintspace.de? Thanks for your help!
Reporting & Analytics | | Waplington0