.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
-
On-Page Analysis Question
Hi, I have a question about the On-Page Analysis report. I am tracking two different keywords for our campaign: "Private Dining" and "Private Dining Sacramento". We are ranked 8th for Private Dining Sacramento but we have an On-Page analysis rating of F. While on the other hand we are not ranked in the top 50 for Private Dining but have an A on-page report. When looking at the on-page report it makes sense that we have an F for Private Dining Sacramento as we don't use that keyword anywhere on the page. We only use Private Dining. However, we are still ranked for Private Dining Sacramento and not for Private Dining. Should we update our keywords/text to use the Private Dining Sacramento keyword instead of the Private Dining? If we add Sacramento will we also get credit for Private Dining because it will still be part of all H,P and A tags we use? Sampe Report | Keyword | Grade | Google US |
On-Page Optimization | | Three29
| URL | Current | Change | Rank | Change |
| | Private Dining /private-dining | A | No-change-icon | no data |
| | Private Dining Sacramento /private-dining | F | No-change-icon | 8 | No-change-icon |0 -
Internal Link Title and Anchor Text Question
So, I am kind of a newbie with all of this stuff, so please bear with me! If you have a chance to look into the domain it's www.noip.com I have checked the internal followed and 301 links. It seems like it is pulling in all of our navigation a funky way. all of those link have no data for the title and the anchor text is Home, Contact Us, Forgot Password?, ETC. Is this correct? I have tried to look into the way other websites are doing it and it seems wrong. I tried to talk to my developer, but he is not so sure. Do we simply need to make more copy on our site that has internal links within the copy with anchor text that is for keywords that I would like to be ranking for? Like Managed DNS? and then that page goes to the managed DNS page? Or what? Sorry if i am not being totally clear. Any help and advice is 110% welcomed!!! Natalie
On-Page Optimization | | vwnatalie0 -
Summarize your question.Images being seen as duplicate content/pages
My images suddenly are appearing in my crawl reports as duplicate content, without meta tags, this happened over night and cant figure out why.
On-Page Optimization | | RBYoung0 -
Changing the page a term ranks for
Hi all, I hope you can help advise me of the best way to change the page that is ranking for a particular keyword/term. Is it just a case of on-page optimizing the term/keyword on the new-page and getting good links/traffic to that page and leaving the old one as it is, or is some sort of "de-optimization" of the old page a something that could help? Thanks.
On-Page Optimization | | bunac10 -
Will changing the title tags cause me to lose rankings?
I have a site that gets pretty decent rankings. Based on Seomoz's assessment of my site I have ALOT of title tags that are too long. If I make modifications to my title tags will that hurt my rankings? I am also thinking of removing my company name from the title tag as that is taking up too much space.
On-Page Optimization | | webestate1 -
I have a direct question about file structure.
This question is about a new file structure and SEO friendly URL's. Does a file name make a difference? I have a direct question about file structure. Our old site was formated with a URL of http://rousechamberlin.com/about_us.aspx our new site is structured http://rousechamberlin.com/AboutUs/ no file no extension. As the SEO guy of the company and not the programmer my feeling is this is killing us. Does anybody have any thoughts on this?
On-Page Optimization | | HeadWebChef0 -
Keyword Ranking Issue..
Hello Guys, I have a small doubt in top ten rankings, i worked for one keyword "Domain Sales" in which my website was ranking in 5th position, but suddently i saw my website no rank in top 100 for the same keyword. Not able to track the what is the problem? Any help..
On-Page Optimization | | itajooba0 -
Subdomains vs. Subfolders Inheriting Authority/Ranking Value
Our website is a continuing education website that is linked to a large university, and our URL is a subdomain of that larger university domain. We offer degrees as well, but because of the modifications we'd like to make to the degree webpages, our content management system won't let them be a part of our website. Now we're trying to figure out if we should create a separate subdomain for all degrees, and put the individual degrees in separate folders (so, all degrees' URLs woudl be degrees.us.university.edu/degree-name/), or if we should give each its own URL, which would be completely separate from ours (degree urls would be degree-name.university.edu). So our question is, how well do subdomains carry the value of the domain? Is it better to have twenty websites that are all separate subdomains of a strong domain, or one subdomain in a subdomain that houses all twenty websites in folders? And, as a side note, will housing the degrees in degrees.us.university.edu pass value to us (us.university.edu)? Thanks!
On-Page Optimization | | UWPCE0