.htaccess Question and Ranking
-
I have some basic rules set up in my .htaccess file and just curious as to the implications of them as I seem to have a website ranking very low on Search indexes for no particular reason that I can fathom. My question is a follows
I have a htaccess rules set up in my application application that first strips the file suffix and then adds a closing brace for example
Rule 1: http://www.domain.com/my_page.php becomes http://www.domain.com/my_page
Rule 2: http://www.domain.com/my_page becomes http://www.domain.com/my_page/Will this rule expecially Rule 2 effect ranking or will these rule have no adverse affect on the website as my MOZ reports still seem to have pages listed win the Top Pages by PA section without the www? Below is an example of the htacess file.
RewriteEngine On
Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
RewriteCond %{REQUEST_URI} /+[^.]+$
RewriteRule ^(.+[^/])$ %{REQUEST_URI}/ [R=301,L]Redirect non-WWW to WWW...
RewriteCond %{HTTP_HOST} ^contractor-accounts.co.uk [NC]
RewriteRule ^(.*)$ http://www.contractor-accounts.co.uk/$1 [L,R=301]Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L] -
I've had a look at your site (it's in the htaccess)
I've run a crawl on your site, there doesn't seem to be any redirect chains, which is good, so you've got no issues with what you have above.
However on a side note, I wouldn't rely on 301 redirects, you still have a lot of "old" links that are going through 301 redirects, I would update these so they don't need to pass through a redirect.
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
-
Does sending ecom traffic away from a site impact rankings?
I have a client that represents a few big brands but doesn't offer ecommerce capability onsite, they essentially send traffic to retailers and distributors that do sell their products online - they even point to an amazon store that they own. My question is, if they did offer ecom and the conversions took place on their site, rather than direct traffic away from them, would this impact on their rankings at all?
On-Page Optimization | | Algorhythm_jT0 -
Google Is Ranking the Wrong Page
Howdy Folks- I have a case where Google is ranking the wrong page for a couple of different keywords. The home page is: http://healthtn.com Most notably, we're trying to optimize the home page for "Tennessee Health Insurance" but the below page is what continually ranks for it, and does so very poorly. We used to be page two with the home page, now we are page four and it ranks the following page. http://healthtn.com/tennessee/health-insurance/student I have started directing our Internal Linking to reflect the correct anchor text but succeeded in losing ranking for the term, but am still ranking the wrong page. Any thoughts or help would be much appreciated!
On-Page Optimization | | CRO_first0 -
.co.uk ranking in serps and .com ranking on local
Hi im not sure what the best course of action is my client has one site but it has 2 TLD the .co.uk and the .com they wanted all .co.uk redirected to the .com but the .co.uk is ranking in the serps postion 2 and the .com is ranking in local, but is way back in the serps. So i have a bit of a dilemma, by the way it is a local business based in the uk. what should i do?
On-Page Optimization | | juun0 -
How does user behaviour signalled at Google affect rankings?
Hi, Just a quick question. How important are the signals received by Google on a websites user behaviour? For example: Bounce Rate, Avg Time on site, # of pages viewed, Geo of user etc Thanks.
On-Page Optimization | | followuk0 -
Panda 4.0 indirectly affecting my rankings (maybe)
Hi, So my site supplies Q&A type of content - user queries a question and generally they get the answer from my site (landing page). I always make sure my content is (1) unique (2) answers the question (3) extensive in answering the question - reason being I rely on social shares quite a bit and that system works very well, sharing happens with my content. But one of my main pages has dropped from position 5 to position 10 in the last few days - I assume its panda 4.0 because my rankings have been rock for around 2 years. But I don't think its dropped my site, I think it has boosted others above me. The thing I don't understand is the sites its boosted above me have very little content and in some cases lots of Adsense surrounding it. I'm not moaning just a bit confused: I have 750 words of good content, another sites comes out of nowhere with 50 words -> how can Google decide the 50 word site is better using the panda algo? This is me assuming the panda algo is purely content/copy based. Does it take other things into account such as freshness, layout, bounce rate? Thanks.
On-Page Optimization | | followuk0 -
Canonical Question For Different Languages
My client has a site that supports different languages in the following structure: www.domain.com - English version www.domain.com/IT - Italian version www.domain/DE - German version etc.... I have set the languages up within Webmaster Tools but do I need to set up the canonical tag for all internal pages as they are basically the same but just in a different language i.e. www.domain.com/index.php is the same as www.domain.com/DE/index.php but in a different language. Thanks
On-Page Optimization | | bigfootdigital0 -
Couple of noob questions
Hi, couple of easy questions for you guys... Im a web designer and my #1 keyword is web design huddersfield. I own the domain huddersfield.com, and i will have a page titled web design. Now do i target the web design page or the index page as i don't want keyword cannibalization, but is it better for my index page to be the landing page? #2 Considering that huddersfield.com is my domain should i set the title to: web design huddersfield or just web design? please help.
On-Page Optimization | | klsdnflksdnvl0 -
Does anyone know of a Domain auction site that includes MOZ rankings?
Trying to locate a site that has this as part of the search criteria
On-Page Optimization | | hooopdream0