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
-
Whats the best way to move 30% of our content behind a paywall and still get indexed without penalties and without letting people see our content before they subscribe.
Hi all - We want to create a membership program so that they can get more great stuff from us and offers, deals, etc. but only if they qualify to be a member via a purchase for example. The question is we want to move only some of our content (c.30%) behind the membership curtain - will be a mix of SEO value content. There are few questions/ concerns I am hoping you the SEO community can help me with: How can i ensure Google continues to index it without getting penalized. If i tell google bot to index but not allow Google and other sites to see the membership content will that create a penalty? Is that considered a form of cloaking? How can i prevent having to reveal 3 pages a day under Google's First Click Free set-up. I suppose i want my cake and eat it and i suspect the answer is well i cant. Any help or insights that can help me make this decision better is gratefully accepted.
Reporting & Analytics | | Adrian-phipps0 -
20% Dip in Traffic. What could be happening?
Hello Dear Community Yesterday I had a sudden drop in visits - screenshot attached. It shows how yesterday Friday 17/10 has had a dip in visits vs Friday 10/10 (1 week ago). I have an authority blog in Italy with over 90k monthly visits. I do now black-hat SEO stuff, and my content is rich. Organic traffic grew 85% y-o-y and I was actually on a nice, slow growth trend, but now, 20% dip. The things I did before all this happened, and which could have had an impact (but I'm not sure about) are: Configured Max CDN and W3 Total Cache (before I was just using SiteGround's Super Cacher plugin and that's it). So now my site is faster by a lot although I'm having issues like I mention in point 2. I had to clear the cache at least a hundred times as I was configuring Optin Monster for lead generation I changed my Google Analytics code from the old version to the new version (universal) Besides this I check my best keywords in RankTracker and it looks like nothing happened to my rankings. Yet a few of my most popular posts which gets roughly the same amount of visits everyday for the past few months, had a dip of 30% more or less. I also added a screenshot of my Webmaster tool dashboard. Everything is ok and there are no messages. Also yesterday was not a national holiday in my country (Italy) so everything should have been normal. Please share with me your thoughts about this. What else should I check to get an idea? What do you think it could be? Thank you! Andrea 2vII81q yXn6zBD
Reporting & Analytics | | Andrew_IT0 -
Main Website Redirects to Mobile Website, Mobile Website counts this as direct traffic, is there a way to tell what the source/medium is?
Hello, The situation is that someone is arriving on my main website https://www.example.com and being redirected to http://m.example.com. When this happens my analytics says that the traffic is all direct coming to my mobile site. However, I know people clicking on my google cpc, and some google organic users are hitting the main website and being redirected. Before we didn't have as good of a redirect on our main website so I could tell organic and cpc traffic coming in, now my main website has a huge drop in these categories because they are redirecting to mobile but I can't tell on my mobile how much traffic from each is going to the mobile site. Is there a way to fix this? Is it because my main website is https:// and mobile is a http:// (as I know that sometimes makes traffic direct) or is it a bigger problem that can't be resolved? Thanks
Reporting & Analytics | | oxfordseminars0 -
Drop in direct traffic & spike in Adwords, any relation?
So I noticed a significant (around 50%) drop in Direct traffic in analytics to one of my websites (compared to last month). I've also noticed a spike in Adwords for around the same number of sessions. The drop in traffic is pretty much isolated to one specific page, and it is the same page involved in the spike in Adwords. Is it possible that Google was not recognizing a portion of the Adwords traffic? That's the only theory I have, but we haven't changed anything with their tracking or Adwords, so I'm a little hesitant to go with that theory.
Reporting & Analytics | | KiyoW0 -
Strange Spike in Direct / None traffic
Over the past week or so, my client's Australian personal training website has experienced a dramatic spike in Google Analytics sessions (see attached screenshot). All the visits are coming from various states in the US and via the "Direct / None" source. All the visits are less than 1 second in duration so I'm assuming it's coming from some sort of automated bots. I'm worried for a couple of reasons: A) Could somebody be deliberately spamming the site to adversely affect our rankings? B) How do I get rid of this traffic from our analytics reports? 7kwsJnB
Reporting & Analytics | | Dave_Eddy0 -
Time to get reconsideratio n request?
Hi there, recently I have been getting failed reconsideration requests back within 7 days. The last one i submitted (third) is now 2 weeks and no message back. Does this mean do you think it's gone to the next stage of auditing? is it a good sign? Typically when failed I have always has that response within 7 days. I also noticed a slight improvement in rankings but no message back in webmaster tools. Does anyone have experience with this? if so does this sound about right? thanks guys.
Reporting & Analytics | | pauledwards0 -
Why is my traffic dropping so hard?
Hi guys, My traffic has been dropping pretty hard from just over 3k to around 250 in the last few days. I've ran a few tests using Google webmaster tools and Open Site Explorer, as well as answering a pretty cool quiz that was created by an SEO to determine if I'm the victim of any Google updates etc, and everything is looking okay... What do you think could be causing this issue? We're only just gearing up to start on a SEO campaign. At the moment no SEO is being done other than just casual blogging. CcZoXP7.png
Reporting & Analytics | | featherseo0 -
Search Traffic Drops Before It Improves?
I'm working on a site with tons of great, useful content....the owners of the site implemented a new site layout and design (complete overhaul) and they were lacking basics such as meta descriptions, 301 redirects, and, shockingly, they had the same Title tag for every single page on a site with thousands of unique how-to articles. Unsurprisingly their traffic dropped by about 300%. They generate most of their traffic from people learning how to build stairs, how to install crown molding, and other related matters. Beginning last Thursday I've been performing basic on-site SEO, things like having unique titles for each page and similar tasks. The week from Thursday when I began until yesterday (Wednesday), Google traffic dropped -29.73% - 17,715 vs 25,210 I believe this is a normal part of the "Google Shuffle" -- does anyone have a Matt Cutts link or similar proof that this is a normal part of the process?
Reporting & Analytics | | wattssw0