Should you cache redirects?
-
I would like to know what fellow SEO people think, should you cache a redirect?
Problems I see with caching redirects are meta refreshes and there might be a slow down in page load, but is it a big issue? Should we cache redirects?
Do pages get indexed more if you cache redirects? Our ecommerce product pages are all dynamic, and currently we cache redirects but i'm seeing a lot of meta refresh issues.
Another area that cropped up is that, the redirect doesn't pass on query parameters. Our system dumps URLs and they are redirected to SEO ones, but the redirect doesn't pass on parameters like Google Analytic tracking tags.
What are your thoughts?
Thanks
-
Sorry for the late response, but I can sum up my answer in a brief way.
I agree with you. If SEOmoz is finding the meta refresh, it's likely Google is too. And why the meta refresh? Why not a 301 redirect?
Could you provide an example of one of your search pages? Feel free to private message me if you don't want to share publicly.
-
Hi Cyrus,
Here's some more information. Hopefully it will help. All of our product pages are generated using a program. Users enter data into specific fields and gets saved.
Once the publish button is pushed of the program, the data goes to our developers. This isn't live on the web yet as it is just data. The information is dumped into a folder and our developers generate SEO urls and start populating templates with data.
This is what gets published live and indexed.
If I wanted to change the SEO URL. I simply need to specify which fields to generate the new URL from and get the existing URL to redirect to the new one. I can secure a single jump this way and crawlers will never jump from one link to another.
Google just sees this SEO URL and template page.
The problem is that, for efficiency purposes, the website's internal search doesn't use the SEO url, it instead generates a url based on the folder that gets data dumped in. Once a user clicks on this URL, they get redirected to the SEO page. Developers did this for "efficiency reasons"
This is where meta refresh is kicking in. Anyone who clicks on a product from a search gets redirects to the SEO one. SEOMoz is reporting a high meta refresh issue, but my developers are saying it's no problem as the search pages never get indexed.
In my opinion, even though the page isn't getting indexed, the spider is still following and noticing the meta refresh.
After pursuing, they said they can turn off from caching redirects. I'm not well versed in the implications of turning off the caching of redirects. Thus my curious question
-
Hi Cyto,
I'm no expert here, (and I might ask a few other SEO types with more expertise to jump in) but I'm curious - What do search engines see with these redirects?
For example, if I try to access page /example.html?q=1&tw=89, what does Google see in terms of redirects, response codes and URLs.
Also, could you provide a little more background on the meta refresh issue? Do the redirects pass through a meta refresh, and again what is the crawl path for search engines?
Thanks for your patience!
Cyrus
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
-
301 redirect to a temporary URL
Hi there, What would happen if I redirected a set of URLs to a temporary URL structure. And then a few weeks later redirected the original URLs and temporary URLs to the final permanent URLs? So for example:A -> B for a few weeks.
Intermediate & Advanced SEO | | sichristie
then: A->C and B->C where:
C is the final destination URL.
B is the temporary destination
A is the original URL. The reason we are doing this is the naming of the URLs and pages are different, and we wish to transition our customers carefully from old to new. I am looking for a pure technical response.
Would we lose link juice? Does Google care if we permanently redirect to a set of 'temporary' URLs, and then permanently redirect to a set of what we think are permanent URLs? Cheers, Simon0 -
Leverage Browser Caching: Do I need Last-Modified?
Per Page Speed recommendations I specified the Expires header in my .htaccess file. Do I need to add code for Last-Modified too? I thought I read somewhere that it will put the date next to the meta description in the SERPS, which might cause the result to seem outdated after a while. Are there any problems that could crop up if these aren't implemented correctly.
Intermediate & Advanced SEO | | kimmiedawn0 -
Have thousands of 404s with backlinks. Should I redirect them all at once or over time?
These error pages are being redirected to the most relevant page, not mass redirected to the home page. Thanks for reading!
Intermediate & Advanced SEO | | DA20130 -
Multi Language Redirect Issues
Hello everyone, this is my first post and as so let me first say, Thank you! The SEO Moz community and SeoMozPro have been giving a great help in making my workflow simpler and richer. Lately I've been reading and learning a lot about indexation, in the process I have been making several improvements to some websites, but there is one particular that I am not able to understand. I am writing this post to ask for your help on an issue related to this website: www.dengun.com We are a Web Agency based in Portugal and most our clients are from Portugal. We have an English version and a Portuguese version of the website. It is setup like this: www.dengun.com/en www.dengun.com/pt When the user hits www.dengun.com it redirects to /en or /pt acording to the browser language. The HTTP status code is 302, i was reading in SEOMoz that this is bad because it's not passing rank to the other pages. Will a 301 redirecting to /en and /pt according to the browsers language? What is the best solution? Thanks.
Intermediate & Advanced SEO | | PedroSaiote0 -
301 redirect via htaccess question
So, I have www.sitea.com and www.siteb.com I want to redirect SOME pages from www.sitea.com to www.siteb.com (example: www.sitea.com/plugins/wp/ to www.siteb/wp/ etc ) and the rest of any pages left, to the homepage of www.siteb.com. It is something with conditions... any help, please?
Intermediate & Advanced SEO | | jasmin280 -
.htaccess - error404 redirect within a directory?
Hi, One of my clients has a CMS website offering Health and Safety training. When the courses have been run they automatically drop off of the system which is great for the front-end of the site but this leaves pile 404 errors for the URLs. I am trying to put a .htaccess redirect in place that will redirect back to the main category for that course i/e : http://www.domain.co.uk/courses/highways/6-NRSWA/27-nrswa-operative-sept-11.html will redirect to http://www.domain.co.uk/courses/highways/6-NRSWA I have spent a looooong time hitting google for a solution but can't seem to come up with anything. If at all possible I would also like to be able to post a php variable via the redirect url so that I can display a message on the category page saying that the course is no longer available be please select a different course. i/e: http://www.domain.co.uk/courses/highways/6-NRSWA?course=not-available Any help on this would be most gratefully received.
Intermediate & Advanced SEO | | AdeLewis0 -
How do I go about changing a 302 redirect to a 301.
Hello Friends! Thanks for viewing my question. Ok,My question today is How do I go about redirecting a 302 link to a 301 link. I understand the benefits of doing this as far as link juice and how the Search Engines views the two Re-Directs. I am wanting to know where I would start to do this. Thank you in advance for any help or suggestions!
Intermediate & Advanced SEO | | FrontlineMobility0 -
Redirects Going to the Wrong Place
I just checked our rankings for a few of our top keywords from a previously merged domain, and we are not anywhere on the first page (we used to rank #1). I then manually typed in the url of a top product we sell from our old site that was merged into the new site. It turns out that the redirect isn't going to the right place at all (which probably explains why the page isn't ranking). Here is part of the code from our htaccess file: RewriteEngine on RewriteCond %{HTTP_HOST} ^neuroformulas.com$ [OR]
Intermediate & Advanced SEO | | vitasouthmktg
RewriteCond %{HTTP_HOST} ^www.neuroformulas.com$
RewriteRule ^/?$ "http://www.vitasouth.com/brands/NeuroScience.html" [R=301,L] ErrorDocument 404 /404.html redirect 301 /products/Kavinace.html http://www.vitasouth.com/products/NeuroScience-Kavinace.html The bottom redirect (http://www.neuroformulas.com/products/Kavinace.html) should be going to the url specified. Instead, it goes to http://www.vitasouth.com/NeuroScience.html/Kavinace.html (NOT A VALID URL!). Please help! Thanks! -Matt0