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
-
Redirect to one domain to another domain
Hii
Reporting & Analytics | | John_smith45
I'm john. I am a blogger. I want to change my domain. This is my domain (https://playfireboywatergirl.com/)
I want to redirect to the **.org **domain. But I work hard on my site .com and also the authority of my site in Google. Kindly help how can I redirect from one domain to another. can google convert authority of my to another site?0 -
Google Analytics / Facebook UTM
Hello, I have a quick question. I am setting up conversion tracking for my Facebook ads, so I am giving each ad set a tracking URL (UTM) in order to see which ads are converting etc. Is it possible to see on analytics how much I am spending on these ads or a cost per conversion? Or does the tracking merely track general analytics data such as bounce rate, exit rate, revenue generated etc? Kind Regards, James
Reporting & Analytics | | SO_UK0 -
Fixing Bounce Rate between Domain and Subdomain
Currently, the way our site is set up, our clients generally visit our homepage and then login through a separate page that is a subdomain, or they can read our blog/support articles that are also on separate subdomains. From my understanding, this can be counted as a bounce, and I know this sorta of site structure isn't ideal, but with our current dev resources and dependencies, fixing this isn't going to happen overnight. Regardless, what would be the easiest way to implement this fix witihn the Google Analytics code? EX: If someone visits our site at X.com, and then wants to login at portal.X.com, I don't want to count that as a bounce. Any insight is appreciated! Thanks
Reporting & Analytics | | KathleenDC0 -
Hello, our domain authority dropped significantly overnight from 37 to 29\. We have been building good links from high DA pages and producing quality, regular content.
Hello, our domain authority dropped significantly overnight from 37 to 29. We have been building good links from high DA sites and producing regular, good quality content. Anyone able to offer any ideas why? Thanks
Reporting & Analytics | | ProMOZ1231 -
Google Analytics Goals - Different Domain
Hi, We currently need to setup a goal that involves a different domain. Any guidance would be greatly appreciated. more info: the checkout process is redirected to a secure.domain Just let me know if I can provide any additional info that may helpful.
Reporting & Analytics | | opusvo0 -
Multiple Domains in Webmaster Tools
Our client has four domains all redirecting to one domain. aquatron.info, www.aquatron.info, and www.aquatronhardwatersolution.com are all set up to redirect to aquatronhardwatersolution.com. I would like to make sure that we are getting the most link juice and that they are set up correctly in Google Webmaster Tools. Any help would be great. Thanks!
Reporting & Analytics | | PolarisWebSEO0 -
What is domain authority?
Hi, I am very new to SEOMoz and just getting to know the terms in the thrown up in the results. Can you tell me what domain authority actually is and how can I increase it? thank you louandel15
Reporting & Analytics | | louandel150 -
Google vs Bing/Yahoo SERP results?
I see large differences in Google and Bing/Yahoo SERP results for many keywords. Google shows many of our primary keywords in their top ten, while Bing/Yahoo rank the same one 40-50 or above. Do you have any insight on their differences that might account for this variation? We are legitimate, long time, white hatters at a small manufacturer that is one of the leaders in our industry. The only thing I can think of that might describe this issue is PPC advertising. Their algorithms wouldn't be that inconsistent would they? (We do much more paid advertising on Google) But generally this should have no affect, right? Thanks, George...
Reporting & Analytics | | rhawk0