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
-
50% Drop in ALL Traffic Post June Update
We've had 50% drop in Google and Direct traffic post June Google update. Why would direct suddenly plummet as well? Could it be something with Google tag manager or our new cookie policy and cookie management system? Any help would be greatly appreciated as I am a disabled person and trying to figure out what is going on with our site
Reporting & Analytics | | inhouseninja0 -
Help! Need to Get Traffic Back Up in Saturated Market
I was looking in one of my client's Google Analytics profiles, and noticed that they had two major drops in traffic before we started working with them—and they've never really recovered. The first, and most significant drop was around January 2015. And then the again, but not as drastic of a drop, was around September 2015. They are a heating and cooling company, but they are located out west so this shouldn't be a seasonality thing. Here is a link to what the BIG drop is traffic looks like in January 2015: http://imgur.com/a/Y1s8U To get a clearer picture, here are the numbers for the overall website traffic:
Reporting & Analytics | | BlueCorona
September 1, 2015 - September 30, 2015: 30,923 sessions
September 1, 2015 - September 30, 2016: 13,768 sessions Year over year traffic to the website dropped by 55%. Here is a link to what year over year looks like in Google Analytics: http://imgur.com/a/TPdJQ Like I said, we weren't working with them at the time so I don't know specifics about what might have caused this, but their numbers have never even come close to reaching what they used to be prior to the noticeable drop after September 2015. Does anyone have any insights into why this might be? Was there an algorithm change back then that could still be impacting them? Any ideas how to get them back to where they once were? Any input is greatly appreciated! Thanks.1 -
Organic Traffic going to Direct? How to find the ultimative proof
Hi there, a few months ago we had a new site launch. As we operate internationally, visitors in different countries do get redirected to the specific country subfolder. e.x. domain.com/it Since site launch. Direct Traffic is performing really really well(almost to good to be true) while organic is doing decent but not more. I'm quite sure, that a part of direct belongs to the organic channel. Though now I need strong arguments to fight against our own web development team. Do you have any suggestions, where and how I can find strong evidence of my hypotheses? Thanks in advance
Reporting & Analytics | | ennovators0 -
Universal cookie loss specific traffic
Hi there, A month ago we have installed the Universal Analytics tracking code on our website (www.smartphonehoesjes.nl). Since that time, direct traffic has risen unnaturally and organic traffic dropped unnaturally. I dived into this problem and I discovered there is a cookie loss on when visitors are switching from /cart to the first step checking out. The problem is that not all browsers cause these cookie issues, only Safari and IE older versions (9 and older) and some cases of Chrome. All iPads cause cookie issues (50% of all cases). iPhones cause not a single problem because we are using a separate mobile (m.) site which does not cause cookie problems. We don't have a mobile site for tablets yet, soon it will come. My biggest question is: how can I fix the Safari desktop cookie loss after switching domains from /cart to the first step of the chckout process? Olders versions of IE will slowly fade out and the iPad problem will be fixed when the mobile website is available for tablets. I hope someone can help me.
Reporting & Analytics | | MarcelMoz
Thanks in advance. Marcel0 -
Spike in 404 Errors from a redirecting domain
All, The non www version of a site I own redirects to the www version. Recently, WMT began showing a big spike in 404 errors (1,000+) on the non www version of the site. Site traffic is off about 15% since the spike in 404 errors. There was also a brief period about two weeks ago, where the site went down due to an issue with the code that has now been resolved. Any ideas how WMT is showing 404 errors on redirected pages? Thanks, John
Reporting & Analytics | | JSOC0 -
Confirmation page gets hit multiple times by some users. How I can I segment out unique visits?
Hi All, I'm web marketing manager at http://www.evenues.com which is like an AirBnB for meeting space. When calculating the number of bookings for our meeting spaces, I've set up a goal in analytics with the confirmation page as the goal URL. The problem is, it seems that some users are looking at the same confirmation page several times. We have unique URLs for each confirmation page, but some users seem to be visiting these unique pages more than 2 to 5 times. This skews our numbers a bit. This makes things a bit problematic when it comes to segmenting visitors. is there anything we can so that each unique URL visited only counts once? Thanks, Kenji
Reporting & Analytics | | eVenuesSEO0 -
Domain Authority History
Is there a way to check the domain authority of a site from a past date?
Reporting & Analytics | | ClaytonKendall0 -
Strange increase in Direct traffic in Google analytics
For past 2 weeks, several of our sites have strange increase in direct traffic in Google Analytics. we also have another tracking code, and in this account we don't have any big changes, so this is very strange what is happening. We didn't changed any codes, and none of the changes were done to application. Any ideas why this is happening? z7ME9.jpg
Reporting & Analytics | | InformMedia0