Tracking URLS and Redirects
-
We have a client with many archived newsletters links that contain tracking code at the end of the URL. These old URLs are pointing to pages that don't exist anymore. Is there a way to set up permanent redirects for these old URLs with tracking code? We have tried and it doesn't seem to work.
Thank you!
-
I am confused about the tracking code as well. If the tracking code are parameters appended to the url, it shouldnt have anything to do with a valid url. Maybe you should carify with an example:
- Scenario #1 - www.site.com/email is a valid url, and the link from the newsletter is www.site.com/email?utm_source=newsletter, the link should still work. The tracking parameters have nothing to do with a page not working. If the page still exists without the tracking parameters in the url, then you have an IIS/IT issue. I have seen this one time where dynamic parameters (anything after a question mark) did cause issues on the server and it returned a 404 everytime you hit a page and put in parameters into the url string. Its a systematic fix in the server settings and you would need to look to your host/IT to fix the issue and allow dynamic parameters in url strings.
- Scenario #2 - www.site.com/email is no longer a vaild page, because it was set up a long time ago for the email campaign, then page is no longer there. In this case, no matter what the link is (tracking or no tracking), you will need to do a 301 redirect on the root url www.site.com/email and all variation of that url (including tracking urls) will automatically redirect to a specified page.
If the 301 redirecting is not working, then you have set it up wrong. It would be worth your time to manually go through and redirect each url to a proper spot, but worst case scenario is to do what Moosa Hemani pointed out and do a great 404 page.
-
Well there when there is a will there is a way. I believe if you combine these two technologies you will be able to do this very easily. I want to say however to take 404 and have it redirected. the rule is you should always redirect 404's to good pages 200s with a permanent 301 redirect however redirect should be always 301 redirects and then they are almost impossible to track. So the key to this will be catching it right in the redirection of the person trying to access the dead link a.k.a. 404.
Never say never. So I suggest you take the technology found with this system I "totally awesome"
Look at http://support.awe.sm/
If I simply type in "track 301 redirects" you can see that it has the ability to do this. awe.sm also allows you to create its own links. It's normally designed to use custom domains meaning shorter domains however you can use your own primary full domain with no problems whatsoever.
http://support.awe.sm/customer/portal/articles/search?q=Track+301+redirects
with
https://www.kissmetrics.com/ 14 day free try then $150 a month
https://mixpanel.com/ has a free tier and will allow you more than enough to track thousands of clicks for a month at no cost. However I must warn you I'm not as familiar with this technology I do know it is very similar to what is available with kiss metrics
My first step would be to speak to support kiss metrics as well as awesome and get an idea of what they can help you with. Because totally awesome and mixed panel support as far as I know to this day do not work together
If you do not want to pay that money which I understand do not possibly want to pay that. There is a alternative that is very similar to kiss metrics called mixpanel and I am not as familiar with it however I do know that it completes a lot of the same tasks and you get my bit of you page views for free as there is a free tear that allows you use of everything that has. So if you need something that's going to last longer this may be the way you want to go depending on budget and other things
I say this because kiss-metrics is a fantastic way of tracking in addition to that they were with awesome and their support departments will help you along the way.
I hope this is better help you and this is a step in the right direction.
I truly believe that that the key is in creating custom links using awesome and then tracking them with that. Because it's all designed around using 301 redirects
Sincerely,
Thomas
-
Should not be too hard, there are options for mass 301ing.
What is going wrong? It is not very clear for me why 301 is not working
-
I don’t think this seems to be an option but what you can do is to design a good looking 404 page and then if the page does not exist redirect them to 404 pages! This way you don’t have to set redirect 1 by 1...
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
-
Googlebot being redirected but not users?
Hi, We seem to have a slightly odd issue. We noticed that a number of our location category pages were slipping off 1 page, and onto page 2 in our niche. On inspection, we noticed that our Arizona page had started ranking in place of a number of other location pages - Cali, Idaho, NJ etc. Weirdly, the pages they had replaced were no longer indexed, and would remain so, despite being fetched, tweeted etc. One test was to see when the dropped out pages had been last crawled, or at least cached. When conducting the 'cache:domain.com/category/location' on these pages, we were getting 301 redirected to, you guessed it, the Arizona page. Very odd. However, the dropped out pages were serving 200 OK when run through header checker tools, screaming frog etc. On the face of it, it would seem Googlebot is getting redirected when it is hitting a number of our key location pages, but users are not. Has anyone experienced anything like this? The theming of the pages are quite different in terms of content, meta etc. Thanks.
Intermediate & Advanced SEO | | Sayers0 -
Huge httaccess with old 301 redirects. Is it safe to delete all redirects with no traffic in last 2 months?
We have a huge httaccess file over several MB which seems to be the cause for slow server response time. There are lots of 301 redirects related to site migration from 9 months ago where all old URLs were redirected to new URL and also lots of 301 redirects from URL changes accumulated over the last 15 years. Is it safe to delete all 301 redirects which did not receive any traffic in last 2 months ? Or would you apply another criteria for identifying those 301 that can be safely deleted? Any way to get in google analytics or webmaster tools all 301 that received traffic in the last 2 months or any other easy way to identify those, apart from checking the apache log files ?
Intermediate & Advanced SEO | | lcourse0 -
New Site (redesign) Launched Without 301 Redirects to New Pages - Too Late to Add Redirects?
We recently launched a redesign/redevelopment of a site but failed to put 301 redirects in place for the old URL's. It's been about 2 months. Is it too late to even bother worrying about it at this point? The site has seen a notable decrease in site traffic/visits, perhaps due to this issue. I assume that once the search engines get an error on a URL, it will remove it from displaying in search results after a period of time. I'm just not sure if they will try to re-crawl those old URLs at some point and if so, it may be worth it to have those 301 redirects in place. Thank you.
Intermediate & Advanced SEO | | BrandBuilder0 -
How do you 301 redirect URLs with a hashbang (#!) format? We just lost a ton of pagerank because we thought javascript redirect was the only way! But other sites have been able to do this – examples and details inside
Hi Moz, Here's more info on our problem, and thanks for reading! We’re trying to Create 301 redirects for 44 pages on site.com. We’re having trouble 301 redirecting these pages, possibly because they are AJAX and have hashbangs in the URLs. These are locations pages. The old locations URLs are in the following format: www.site.com/locations/#!new-york and the new URLs that we want to redirect to are in this format: www.site.com/locations/new-york We have not been able to create these redirects using Yoast WordPress SEO plugin v.1.5.3.2. The CMS is WordPress version 3.9.1 The reason we want to 301 redirect these pages is because we have created new pages to replace them, and we want to pass pagerank from the old pages to the new. A 301 redirect is the ideal way to pass pagerank. Examples of pages that are able to 301 redirect hashbang URLs include http://www.sherrilltree.com/Saddles#!Saddles and https://twitter.com/#!RobOusbey.
Intermediate & Advanced SEO | | DA20130 -
301 redirect recommendations
One of our clients we are working on have two sites the main with a PR5 and a separate one with a PR4. We are planning on doing a 301 from the PR4 to a page on the PR5 Is it best to do: www.PR4.com ----> www.PR5.com/releveantPR4page or www.PR4.com/page ----> www.PR5.com/releveantPR4page Most pages on the PR4 site can fit into one PR5 page logically. However the PR4 has an about us, contact us, blog/with posts, FAQ, Applications, Legal Resources which are all pretty out dated.. The PR4 site is kinda messy and we are not sure if it will be easy to 301 each page individually with the user in mind. can we do a sitewide 301 redirect from the root PR4.com to a page PR/5.com/releveantPR4page and also do deeper 301's? PR4.com/PR4page ---> PR5.com/releveantPR4page
Intermediate & Advanced SEO | | Bryan_Loconto0 -
301 Redirecting an Entire Site
I have a question which has had me thinking for hours..... If SITE A is ranking well on a number of search phrases and you 301 that site to another (SITE B). The site will change on the Google SERPs to the site which you've re-directed to... In this case SITE B. But how do you maintain the rankings of SITE A?. Do you keep the rankings of SITE A forever? Or will your rankings of SITE A (now SITE B) gradually slip as other sites rank higher? As you can no longer edit SITE A does Google take into consideration the content on SITE B and no longer take anything that SITE A had to offer into consideration? SITE B has simply replaced it in the SERPs??...... Please can anybody help? Thanks,
Intermediate & Advanced SEO | | karl620 -
Sudden increase in number of indexed URLs. How ca I know what URLs these are?
We saw a spike in the total number of indexed URLs (17,000 to 165,000)--what would be the most efficient way to find out what the newly indexed URLs are?
Intermediate & Advanced SEO | | nicole.healthline0 -
After the 301 redirect
Hi all, A quick question, after you have setup your 301 re-directs in .htaccess - is it necessary to keep your content in the original domains directory? My thinking is that requests do get as far as referencing the directory, thus it should be safe to delete all the files on the old domain? Thanx!
Intermediate & Advanced SEO | | gazza7770