Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

XC SEO Lite v1.0.0 Released

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #51  
Old 09-25-2006, 06:56 AM
 
geckoday geckoday is offline
 

X-Wizard
  
Join Date: Aug 2005
Posts: 1,073
 

Default Re: XC SEO Lite v1.0.0 Released

Quote:
Originally Posted by PhilJ
Seeing as the homepage is the most important page for SEO, is it possible to rewrite home.php to index.html ?
Why rewrite? Use:
Code:
DirectoryIndex home.php
in your .htaccess and your home page will be www.domain.com If you are concerned about duplicate content for internal links to home.php just block home.php in robots.txt
__________________
Manuka Bay Company
X-Cart Version 4.0.19 [Linux]

UGG Boots and other fine sheepskin products
http://www.snowriver.com
Reply With Quote
  #52  
Old 09-25-2006, 07:03 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: XC SEO Lite v1.0.0 Released

I personally already use the DirectoryIndex command, so I agree with you there gecko

I'm curious though, aside from listing categories, is the home.php file used in any other URL structure? I'm just concerned that there might be functionality in home.php that might be blocked by the robots.txt file

I haven't checked into this, so if anyone can post with certainty regarding the existence of home.php in any urls that are NOT category-specific, that would be great.
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #53  
Old 09-25-2006, 09:23 AM
 
geckoday geckoday is offline
 

X-Wizard
  
Join Date: Aug 2005
Posts: 1,073
 

Default Re: XC SEO Lite v1.0.0 Released

Quote:
Originally Posted by intel352
I personally already use the DirectoryIndex command, so I agree with you there gecko

I'm curious though, aside from listing categories, is the home.php file used in any other URL structure? I'm just concerned that there might be functionality in home.php that might be blocked by the robots.txt file

I haven't checked into this, so if anyone can post with certainty regarding the existence of home.php in any urls that are NOT category-specific, that would be great.
home.php is just used for the home page and category listings.
__________________
Manuka Bay Company
X-Cart Version 4.0.19 [Linux]

UGG Boots and other fine sheepskin products
http://www.snowriver.com
Reply With Quote
  #54  
Old 09-25-2006, 09:27 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: XC SEO Lite v1.0.0 Released

Quote:
Originally Posted by geckoday
home.php is just used for the home page and category listings.

thanks for the confirm gecko
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #55  
Old 09-25-2006, 09:31 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: XC SEO Lite v1.0.0 Released

If home.php became index.html, the homepage would appear to be a static HTML page, which would be better for SEO, simple as that.
__________________
xcartmods.co.uk
Reply With Quote
  #56  
Old 09-25-2006, 09:36 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: XC SEO Lite v1.0.0 Released

the file extension isn't important to SE's (at least, google, which is my personal focus), what's important is getting rid of variables in the url and providing what appears to be a static url.

Additionally, if a user/SE visited your domain with the DirectoryIndex set to home.php, they would not see index.html in the URL, unless there is some location within your website that specifically referenced home.php in a url.
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #57  
Old 09-25-2006, 10:35 PM
 
geckoday geckoday is offline
 

X-Wizard
  
Join Date: Aug 2005
Posts: 1,073
 

Default Re: XC SEO Lite v1.0.0 Released

Quote:
Originally Posted by intel352
the file extension isn't important to SE's (at least, google, which is my personal focus), what's important is getting rid of variables in the url and providing what appears to be a static url.
I agree the extension isn't important but for the major search engines getting rid of the variables isn't really important. Google was the first search engine to crawl dynamic URL's and does a good job of it. Yahoo and MSN now crawl dynamic URL's too. I thought the goal was to keyword stuff the URL's to help with ranking.
__________________
Manuka Bay Company
X-Cart Version 4.0.19 [Linux]

UGG Boots and other fine sheepskin products
http://www.snowriver.com
Reply With Quote
  #58  
Old 09-25-2006, 10:57 PM
 
Jerrad Jerrad is offline
 

X-Adept
  
Join Date: Nov 2004
Location: The Netherlands
Posts: 484
 

Default Re: XC SEO Lite v1.0.0 Released

Quote:
Originally Posted by intel352
Additionally, if a user/SE visited your domain with the DirectoryIndex set to home.php, they would not see index.html in the URL, unless there is some location within your website that specifically referenced home.php in a url.

Should I add anything to DirectoryIndex home.php if I have x-cart located
in the subfolder /shop? Because if I use the above syntax, it still shows
leukstewinkel.nl/shop/home.php...
Thanks!
__________________
X-Cart 4.0.12
Heavy modified with paid, free and forum mods.
PHP 5.2.5 | MYSQL 5.0.51a
Reply With Quote
  #59  
Old 09-26-2006, 04:40 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: XC SEO Lite v1.0.0 Released

Quote:
Originally Posted by geckoday
I agree the extension isn't important but for the major search engines getting rid of the variables isn't really important. Google was the first search engine to crawl dynamic URL's and does a good job of it. Yahoo and MSN now crawl dynamic URL's too. I thought the goal was to keyword stuff the URL's to help with ranking.

I apologize, the keyword bit is what I consider a part of the static url, so for me that was "understood"

anyways, i'm not concerned about home.php as-is, seems it would be more trouble than needed to rewrite home.php, so that will be a "not-anytime-soon" feature


@Jerrad: my htaccess has
Code:
DirectoryIndex home.php index.php index.html

Which works for me. Additionally, I do not have any index file in my x-cart main folder. Seems to me like you have a redirect setup, because if I visit leukstewinkel.nl/shop/, I get redirected to leukstewinkel.nl/shop/home.php

EDIT: the appropriate functionality should be that the /shop/ url should show up, without needing to display the home.php part (tho again, if x-cart mentions home.php, users/search engines will still hit home.php directly at some point)
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #60  
Old 09-26-2006, 05:31 AM
 
Jerrad Jerrad is offline
 

X-Adept
  
Join Date: Nov 2004
Location: The Netherlands
Posts: 484
 

Default Re: XC SEO Lite v1.0.0 Released

Some how it does seems to work now...
Meaning, that most of the time only the domain name will show up, but sometimes
it will display also the home.php behind it.

Any idea what could cause this?
__________________
X-Cart 4.0.12
Heavy modified with paid, free and forum mods.
PHP 5.2.5 | MYSQL 5.0.51a
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Forum Jump


All times are GMT -8. The time now is 04:15 AM.

   

 
X-Cart forums © 2001-2020