Search Engine Optimization
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsSearch Engine StrategiesSearch Engine Optimization

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old September 27th, 2004, 02:56 PM
myvv myvv is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Location: Vancouver
Posts: 5 myvv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
.htaccess File Is It Good Or Bad?

Currently I'm building my X-Cart based ecommerce site and I've become concerned with their use of "home.php" as the default home page. I've been advised I'll need to modify the .htaccess file to change the default/index page to "home.php".

Will this process affect my rankings and if so how and why? Also what do you suggest I do to avoid this issue? Perhaps a static html index.htm page directing you to the X-Cart pages?

Reply With Quote
  #2  
Old September 27th, 2004, 11:52 PM
Aleister's Avatar
Aleister Aleister is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 118 Aleister User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 55 sec
Reputation Power: 5
.htaccess is perfectly fine to use!

Here is how to do what you mentioned (in case you don't know how).

Open .htaccess in your root directory and add this line:

Code:
DirectoryIndex home.php


That's it! If you do not have the .htaccess file, you can simply create it. Keep in mind that some FTP clients do not show hidden files, so you may have it allready. If you need to create it, and use windows, you cannot have a file with no prefix (something before the period), so just create htaccess.txt, type in that line, upload, and rename to .htaccess

Now, if you previously were using another file name for the index (like index.php, index.htm.. whatever) you may want to also add this:

Code:
redirectPermanent /index.htm http://www.example.com/home.php


where index.htm is your old index.. This way if anyone is linking to you with the old file name, it will simply re-direct them (in a SEO friendly way).

Last edited by Aleister : September 27th, 2004 at 11:55 PM.

Reply With Quote
  #3  
Old September 30th, 2004, 09:17 AM
tstolber's Avatar
tstolber tstolber is offline
Contributing User
SEO Chat Frequenter (2500 - 2999 posts)
 
Join Date: Jul 2004
Location: Bedfordshire
Posts: 2,747 tstolber User rank is Sergeant Major (2000 - 5000 Reputation Level)tstolber User rank is Sergeant Major (2000 - 5000 Reputation Level)tstolber User rank is Sergeant Major (2000 - 5000 Reputation Level)tstolber User rank is Sergeant Major (2000 - 5000 Reputation Level)tstolber User rank is Sergeant Major (2000 - 5000 Reputation Level)tstolber User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Weeks 14 h 4 m 13 sec
Reputation Power: 28
Send a message via MSN to tstolber Send a message via Google Talk to tstolber Send a message via Skype to tstolber
A rose by any other name.....

You could always change the file name - update the navigation ssytem and check there are no refference in any files to it (just use a batch find a replace).
Personaly though I would say that a shopping cart system would not be aimed at SEO and you would be better of doing a targetted page as your index page and then directly linking it to the home.php page.

Reply With Quote
  #4  
Old October 3rd, 2004, 04:20 AM
cwsteam.com cwsteam.com is offline
Contributing User
SEO Chat Novice (500 - 999 posts)
 
Join Date: May 2004
Location: Chandigarh, India
Posts: 517 cwsteam.com User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 28 m 18 sec
Reputation Power: 5
Send a message via ICQ to cwsteam.com Send a message via AIM to cwsteam.com Send a message via MSN to cwsteam.com Send a message via Yahoo to cwsteam.com
Re:

the new version of xcart has new search engine friendly pages with mod_rewrite implemented. I would suggest using it (I AM NOT AFFILIATED WITH XCART , I just like it...!! Optimize it well and you would have a high traffic high sales xcart store !!
__________________
Web Site Promotion India - Web Site Design India - Buy SiteWideLinks : $9.99 Links - PM Me if you need - Call 1.877.822.0875 for all kinds of Web Design, SEO - Link Building - Directory Submission Services.

Reply With Quote
  #5  
Old October 5th, 2004, 09:14 AM
Xaver's Avatar
Xaver Xaver is offline
Somehow Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Location: central Central Europe
Posts: 358 Xaver User rank is Lance Corporal (50 - 100 Reputation Level)Xaver User rank is Lance Corporal (50 - 100 Reputation Level)Xaver User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 Days 8 h 6 m 43 sec
Reputation Power: 5
One step further ...?

What about

DirectoryIndex my-top-keyword.php


Do you think, it would be appreciated in ranking ?

Xaver

Reply With Quote
  #6  
Old October 9th, 2004, 02:14 AM
rxcllc rxcllc is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 155 rxcllc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 14 m 19 sec
Reputation Power: 5
.htaccess files are very powerful. It's the sure proof way to navigate your users without pesty redirects the engines do not like.

Reply With Quote
  #7  
Old October 9th, 2004, 02:16 AM
rxcllc rxcllc is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 155 rxcllc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 14 m 19 sec
Reputation Power: 5
one thing i forgot to mention....you can use the .htaccess file to show different pages for certain visitors. We have used it to take certain customers directly to the login page bypassing the general content.

Reply With Quote
Reply

Viewing: SEO Chat ForumsSearch Engine StrategiesSearch Engine Optimization > .htaccess File Is It Good Or Bad?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT