| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
default start page | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
default start page
I want "index.html" to be my default start page. My problem is, If someone type in:
www.mysite/xcart/ It defaults to home.php and not index.html. I know they can just type in "home.php" and bypass the index.html all togeather, but thats not the point. My index.html page is going to have a "Enter" or "Leave" button. Hitting enter taking you to home.php and if they choose to leave it take them back to my home page.
__________________
Road Rash Apparel LLC www.roadrashapparel.com X-Cart Gold Ver.4.1.8 DSEFU Mod PHP 4.3.11 MySQL server 4.1.22-max-log MySQL client 5.0.18 Web server Apache Operation system Linux Perl 5.008 XML parser (expat) 1.95.6 |
|||||||||
#2
|
|||||||
|
|||||||
Re: default start page
Why do you want a portal page? Most successful online stores drop the customer directly in. There is no need for index.html, home.php or any other variant.
This means simplifying your path to root and putting your store in the root. There is only one way in: www.roadrashapparel.com That's it... no other URLs to think about, worry about, deal with or fix. Unless your business is not about selling things and the xcart store is an add-on, it would take some serious justification to argue for a portal page. There are many, many threads up here discussing this. Try a search for "install to root" or "portal" or "landing page" etc... As Paul suggested, a simple line in .htaccess will do this for you - but you have to want to lose all the variations... put your store in root (get rid of the /xcart/ in the path) and you will simplify your life. My $.02
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#3
|
|||||||
|
|||||||
Re: default start page
PS -- you can still do a "landing page" as your primary page (for age restrictions or content) and still install to root -- just do it within the cart - static embedded pages work great for this. Hope this helps.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: default start page
My home page is www.roadrashapparel.com. There will be a link from there to /novelties.index.html
But if you just type in www.roadrashapparel.com/novelties/ it goes to /novelties.home.php Not what I want. I know theres a simple fix to this, just can't find it. pauldodman- plenty of post on this, I only post a question until I give up looking. And insted of saying there is plenty of post, maybe point me to the link or links would be more helpful. This is a fourm for us to help each other. carpeperdiem - Thanks for the reply. The landing page for /novelties will be index.html. If someone type www.roadrashapparel.com/novelties it take you to home.php. Thats what I dont want. I know they can just type in /novelties/home.php and avoid the index.html thats fine,
__________________
Road Rash Apparel LLC www.roadrashapparel.com X-Cart Gold Ver.4.1.8 DSEFU Mod PHP 4.3.11 MySQL server 4.1.22-max-log MySQL client 5.0.18 Web server Apache Operation system Linux Perl 5.008 XML parser (expat) 1.95.6 |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: default start page
Well I gave you a massive clue on how to do it - sorry that wasn't enough.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: default start page
LOL, Yes you did. And I have tried changing some stuff in there, but I'm doing something wrong.
Do I need to change: DirectoryIndex home.php index.php index.html ?
__________________
Road Rash Apparel LLC www.roadrashapparel.com X-Cart Gold Ver.4.1.8 DSEFU Mod PHP 4.3.11 MySQL server 4.1.22-max-log MySQL client 5.0.18 Web server Apache Operation system Linux Perl 5.008 XML parser (expat) 1.95.6 |
|||||||||
#7
|
|||||||||
|
|||||||||
Re: default start page
Yes, whichever file you want to be the main page, put first.
So DirectoryIndex home.php index.php index.html becomes DirectoryIndex index.html home.php index.php
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#8
|
|||||||||
|
|||||||||
Re: default start page
Thank You pauldoman
__________________
Road Rash Apparel LLC www.roadrashapparel.com X-Cart Gold Ver.4.1.8 DSEFU Mod PHP 4.3.11 MySQL server 4.1.22-max-log MySQL client 5.0.18 Web server Apache Operation system Linux Perl 5.008 XML parser (expat) 1.95.6 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|