| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How to pull index.php or home.php | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Lets say i installed my xcart under a directory www.mystore.com/xcart.Now how do i make it possible for visitors who type www.mystore.com get directed to www.mystore.com/xcart/home.php without any link?
I have tried manipulation .htaccess but i still can't get it done.any help will be appreciated.Thanks
__________________
THIS is my signature.I AM USING THE X_CART 4 |
|||||||
#2
|
|||||||
|
|||||||
![]() well you could use meta redirect but thats going to kill search engines
whats the problem with .htaccess ??
__________________
x-cart 4.0.5 (live and heavily modded) Server: freebsd |
|||||||
#3
|
|||||||
|
|||||||
![]() The problem is i am new to this.I would be very greatful if you help me with some codes i should write in the .htaccess and where to place it.Thank you
__________________
THIS is my signature.I AM USING THE X_CART 4 |
|||||||
#4
|
|||||||
|
|||||||
![]() You are definately not in a bad position - you have two very good options!
First, and what I would suggest...you could generate your 'HTML Catalog' (in Admin under Administration Menu on the right) in your root directory. This would generate "static" pages for every page on your site. Search engines will 'love' them and clients will appreciate the speed. ...or second you could add this to your .htaccess file (the one in your root web directory): DirectoryIndex /xcart/customer/home.php That would force everyone to /xcart/customer/home.php! If you need anymore help...just PM or Email me. --alponte
__________________
--------------------------------------------- Infosolv, LLC A Professional Services Company X-Cart v3.5.10 & 4.01 Find our MOD\'s at: Custom X-Cart MOD\'s, Add-On\'s & X-Cart Hosting! |
|||||||
#5
|
|||||||
|
|||||||
![]() Thanks for your helps.The problem with my .htaccess is that,it directs all the customers to where i want them at but,all the links on the page becomes broken. Thus:
the code in my .htaccess is ./xcart/home.php but when customers get directed to xcart/home.php and they click any item like CD under categories, the link becomes www.mystore.com/home.php?cat-75 instead of www.mystore.com/XCART?home.php?cat-75.Hence an error of a non existance page. I hope you understand what i meant.Get at me,please.Thank you.
__________________
THIS is my signature.I AM USING THE X_CART 4 |
|||||||
#6
|
|||||||
|
|||||||
![]() dihsar:
Post your complete .htaccess file from your root web directory, and the one in your /xcart/customer directory. I will help you out! Send me an email if you post it today as I will be working at home all day anyways.... --al
__________________
--------------------------------------------- Infosolv, LLC A Professional Services Company X-Cart v3.5.10 & 4.01 Find our MOD\'s at: Custom X-Cart MOD\'s, Add-On\'s & X-Cart Hosting! |
|||||||
#7
|
|||||||
|
|||||||
![]() I very much appreciate your help.I just moved everything from the xcart directory to the root directory.Everything seems to be working very perfect.Unless there is a reason why you think i should keep all xcart files in its own directory.Thanks in advance.
__________________
THIS is my signature.I AM USING THE X_CART 4 |
|||||||
|
|||
X-Cart forums © 2001-2020
|