![]() |
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. |
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 |
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.
|
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, |
Re: default start page
Well I gave you a massive clue on how to do it - sorry that wasn't enough.
|
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 ? |
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 |
Re: default start page
Thank You pauldoman
:) |
All times are GMT -8. The time now is 02:56 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.