.htacces measure
-
Hi, what is a reasonable measure of an .htacces? i have a lot of 301 redirects and wonder when will this turn against me because there are to much 301 redirects?
-
okay i try to keep it under 100 lines and was wondering is this to much.. i know to little from apache rewritemap and looking for a dutch translation of the link you send me. so i can try that.
Thanx again!
-
there is no documented number that is considered as a flag. but i keep my htaccess less than 200 lines
-
Thanx for the answer but what is a reasonable measure of an .htacces? do know that?
-
.htaccess file is evaluated on EVERY server request. So you are talking when it pulls images, CSS, JSS and all elements, the htaccess gets evaluated. ie when you have more than 400 lines in a htaccess file. the server will go through all of them to reply to the request. hence make your site load speed slow.
So you have two options when your htaccess file goes big:
- Make it Smart: you can use rewrite rules and wildcards to minimize 300 lines in a htaccess file to just couple of lines
- move the redirects to be controlled by http.conf on the server level with rewrite map. (reference: http://httpd.apache.org/docs/current/rewrite/rewritemap.html)
hope this helps
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
-
Seeking SEO contractor
I would like to hire an SEO contractor to assist with some technical/SEO issues on our site (Schema, etc). Can anyone make a recommendation? I am looking to work with a small company. Thank you in advance for any referrals!
On-Page Optimization | | JulieALS0 -
How do I carry out a redirect? Is there a code I need to use?
How do I carry out a redirect? Is there a code I need to use? Thank you in advance.
On-Page Optimization | | laurentjb0 -
Should I redirect or add content, to 47 Pages?
We have an insurance agency website with 47 pages that have duplicate/low content warnings. What's the best way to handle this? I'm I right in thinking I have 2 options? Either add new content or redirect the page? Thanks in advance 🙂
On-Page Optimization | | laurentjb1 -
Ranking Expectations and Search Intent Alignment
I've recently implemented the page optimization recommendations provided by Moz Pro to help our site rank for specific keywords on certain pages. It’s been about two weeks since we've added these URLs/keyword parings. The optimization scores for the targeted keywords and URLs are looking strong. Also, we've crafted these pages with keyword optimisation in mind. However, we have a couple of questions as we move forward: Ranking Expectations: Since our optimization scores are good, when might we start seeing improvements in our keyword rankings? We know that SEO results can take time, but we would appreciate any insights on a typical timeline based on your experiences. Optimization and Search Intent: While the tool’s optimization suggestions have been helpful in regards to giving us a score for a specific keyword, we’re curious about how this factors into search intent. How does this tool take into account variations in search intent, especially if users search using slight variations of the keywords we’re targeting? Thank you so much for your insight!
On-Page Optimization | | Cricket930 -
On-page SEO
This is a question for the organic SEO experts, once you added the main keyword that you want to rank for in the homepage title, meta title plus meta description, perhaps once or twice in the text on the homepage. How often do you then write it in the content marketing, say blog posts, we want to rank higher on Google for "SEO agencies Cardiff" however if you mention this in the blog posts too much say once a week, this could lead to over optimisation issues?
On-Page Optimization | | sarahwalsh1 -
Downsides on shortening article title?
Hi there, I'm new to Moz: great tool so far! I just tried the page optimization feature and see that (for instance for this article) page titles are often too long. Now it's tempting to just shorten the title straight away, but I have a memory of someone once telling me changing the title will change the URL. And changing the URL is something not appreciated by Google. Could someone please explain if and why this is/isn't the case? And if there are any downsides/things to consider before changing the article's title? Thank you in advance!
On-Page Optimization | | RaoulWB1 -
How to measure form abandonment
Buon Pormeriggio from Yorkshires answer to Silicon Valley Wetherby UK 😉 Ok on this page http://www.onesys.co.uk/ half way down guests are invited to download pdfs but via jquery application window as illustrated here -
On-Page Optimization | | Nightwing
http://i216.photobucket.com/albums/cc53/zymurgy_bucket/form-abondonment_zps604b6c13.jpg What i'd like to do is measure abandonment rates as in how many users cant be arsed to fill out the application form. Whilst I have done funnels before theyve been wired into actual pages using Goal funnels in analytics but this scenario of a kind of splash jQuery page appearing has got me stumped, ive no idead how to measure frequeny of click aways (if you see what i mean).
Any ideas welcome 🙂 Thanks,
David0 -
Is there a way to measure a competitors content growth?
Bonjour from 23 Degrees C hot & sultry Wetherby UK, I find again and again clients find jumping into an active volcano easier than addid fresh content. I want to try another tactic to prompt / scare them into adding content and here is my idea. I want to track a competitor site for a target term and monitor if they are adding content over time specific to that term. So my question is please: "Is there a reliable method to do this?" Ideas i had was doing a good old Google Title operator at the beginning of the month and then at monthly intervals to see if anything changes. Any insights welcome 🙂
On-Page Optimization | | Nightwing0