Can ht access file affect page load times
-
We have a large and old site. As we've transition from one CMS to another, there's been a need for create 301 redirects using our ht access file.
I'm not a technical SEO person, but concerned that the size of our ht access file might be contributing source for long page download times.
Can large ht access files cause slow page load times? Or is the coding of the 301 redirect a cause for slow page downloads?
Thanks
-
It definitely can, I saw once a site that had hundreds of redirects and it was definitely slowing the site down as they had to run through all the redirects first on the server side to see where the user should be forwarded to.
-
I also have my issues dealing with the too many hats you need in the digital business
-
Yes. My brain has been in local SEO mode this week, and my first question should have been to ask about site size. If the file is huge, then it's a huge file. Huge and fast seldom go hand in hand.
-
Hi Austin,
The server needs to process the .htacess file to resolve those redirects so if there are a lot of them it would take more time, and latency will be increased. Don't you agree?
-
How many pages are you redirecting?
-
Yes, huge .htaccess files will delay your page load.
A couple of tips:
- File size: keep the number of rules to a minimum by using regular expressions.
- Execution: if it is applicable make .htaccess smarter by using the L tag to stop the process once a rule is matched.
Hope it helps!
-
The ultimate source for testing what affects page load in terms of assets is here: http://tools.pingdom.com/fpt/
The size of the htaccess file shouldn't really affect a page's load speed. With a 301 redirect, if someone goes to the new page, I don't see why it would load more slowly. If you went to the old page, you're adding on the time of the redirect. Since hopefully the old page shouldn't be rendering anything, it should be near instant.
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
-
Page ranked then disappeared
Recently there have been a a couple of pages form my website that ranked well, in top 5 for a couple of days then they disappear suddenly, they are not at all seen in google search results no matter how narrow I search for them. I checked my search console, there seems to be no issues with the page, but when I check google analytics, I do not get any data from that page since the day it disappeared, and it does not even show up on the 'active pages' section no matter I keep the url open in multiple computers.
Technical SEO | | JoelssonMedia
Has anyone else faced this issue? is there a solution to it?0 -
How to get google to forget my old but still working page and list my new fully optimized page for a keyword?
Hi There! (i am beginner in seo) I have dynamic and static pages on our site. I created a static page for a specific keyword. Fully optimized it, (h1, alt, metas, etc.....maybe too optimized). My problem is that this page is alive for weeks, checked it in GWT and it is in robots.txt, google sees it, and indexed it. BUT whenewer i do a search for that keyword, we still appear with the dynamically created link in the google listings. How could i "redirect" google, if sy make a search for that keyword than shows our optimized page? Is there a tool for that? I cant delete the dynamic page... Any ideas? Thx Andrew
Technical SEO | | Neckermann0 -
How can I provide titles and descriptive text for our list of USPs on the same page optimized both for usability and SEO
I am rebuilding our website together with an agency and I am stuck with the following problem: We have a page which will provide the visitor with a quick and convincing impression why he should chose our enterprise. On this page we want to show our USPs (Unique Selling Points) each with a title and a short description. Now my preferred way of presenting those USPs would be of a list of the titles (which permits to see all USPs without having to read a lot of text) where each title can be clicked to expand the description (in case you want to know more about this specific USP) and if you click on another title the previously clicked title description will collapse and the new description expand and so on (similar to this page: http://www.berlin-city-immobilien.de/38.html - I'm talking about the list in the middle of the page starting with the headline "Dabei profitieren Sie von folgenden Vorteilen"). Since I also want to use these descriptions as on page SEO-texts I checked whether Google might not index or at least value "click to expand content" less than plain text in the body of the page and I stumbled over this article: https://www.seroundtable.com/google-hidden-tab-content-seo-19489.html. According to this article Google will definitely discount the descriptions on my page. Does anyone have an idea how to solve this problem? Either by suggesting a different way to show titles and descriptions on the page or maybe by suggesting a workaround so Google will not treat the descriptions as "click to expand text". Thank you already in advance for your input.
Technical SEO | | Benni
Ben0 -
JS loading blocker
Is there a tool, or Chrome extension I can use to load a page, identify the .js on the page, 'uncheck' selected .js and load the page again to check loading correctly? Even better to be able to defer/move to the end of the file to test.
Technical SEO | | MickEdwards0 -
Pageing page and seo meta tag questions
Hi if i am using paging in my website there is lots of product in my website now in paging total paging is 1000 pages now what title tag i need to add for every paging page or is there any good way we can tell search engine all page or same ?
Technical SEO | | constructionhelpline0 -
Home page indexed but not ranking...interior pages with thin content outrank home page??
I have a Joomla site with a home page that I can't get to rank for anything beyond the company name @ Google - the site works fine @ Bing and Yahoo. The interior pages will rank all day long but the home page never shows up in the results. I have checked the page code out in every tool that I know about and have had no luck....by all account it should be good to go...any thoughts/comments/help would be greatly appreciated. The site is http://www.selectivedesigns.com Thanks! Greg
Technical SEO | | DougHosmer0 -
Determining When to Break a Page Into Multiple Pages?
Suppose you have a page on your site that is a couple thousand words long. How would you determine when to split the page into two and are there any SEO advantages to doing this like being more focused on a specific topic. I noticed the Beginner's Guide to SEO is split into several pages, although it would concentrate the link juice if it was all on one page. Suppose you have a lot of comments. Is it better to move comments to a second page at a certain point? Sometimes the comments are not super focused on the topic of the page compared to the main text.
Technical SEO | | ProjectLabs1 -
Can you have the same brand name for two distinct Google Places Pages
Hello Mozers I'd like to know if two existing GPP can have the same name 'spabycar'. At present 'mobile nail technician' based in W1 and 'spabycar 'WD' are ranking (ironically the one that has the old brand name is very high!). Both need to be 'spabycar' If this is feasible, is there a down side, and is there a good tutorial source for an aspirant to follow? Thanks Catherine
Technical SEO | | catherine-2793880