You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
What content ends up being displayed by index.php without URL parameters, and how can I add to it?
Right now I have links coming into the store going directly to store/index.php, which displays the skin, with main content of just a banner.
I wanted to make index.php (sans parameters) the {ROOT} and add some content -- Keeping a splash page, but not having it be the landing page.
Offline
The home page of the website should be controlled by the splash webpage located here:
Dashboard / Website / Content / Webpages
Offline
Fair enough - I get that. However when people type in the url to the base public folder (i.e. https://domain.com/store), they get index.php without parameters, which right now displays nothing but the skin without content. How can I change that? (I want to add content, not just redirects)
Offline
What happens when you put a slash on the end of the URL? As in: https://domain.com/store/
Offline
Same thing as no slash.
Skin and the banner.
Offline
Yup
Offline
I remember having a similar problem with CCP8, and I ended up putting in a redirect somewhere. I'll be darned if I have any idea where that was, though.
Offline
Would a support ticket be more appropriate for this?
Offline
If you'd like to open a support ticket for this, we can look at it for you. You're self-hosted, so that would be a billable job where we would logon to your server and fix the issue for you (if it can be fixed). If you moved the site here, we would be able to fix the issue during the transfer. Otherwise, we can continue to try to diagnose here.
At this point it sounds like a .htaccess issue where that's not passing parameters, possibly due to setup in a /store subdirectory and non-matching rules.
Offline
Understood.
www/.htaccess is completely empty and there is no .htaccess anywhere in /store or subdirectories
Offline
You probably need to set up the htaccess file if it is empty:
https://kryptronic.com/DEVMANUAL/SEO-an … -Setup.php
Offline
Awesome! I"m glad I set that up. Unfortunately, it didn't change what /store or /store/ or /store/index.php displays. I used the "Software Is Located In The Root Directory" content and put the .htaccess in the subfolder, as our root directory is used to display the rest of our site.
Offline
If your K9 is installed in a subdirectory such as /store, I expect you need to follow the "Software Is Located In A Sub-Directory Like" instructions, substituting /directoryname for /store.
I think the .htaccess file should be uploaded to the root directory, not /store
However, you may already have a .htaccess file in the root directory so you would need to modify that one, not overwrite it.
Offline
I tried that too - same non-result
Offline
can you post a link to the domain
Offline
In the .htaccess I replaced 'COREseourl' with 'app=ecom&ns=splash', and that worked.
It wasn't clear from the instructions whether that was something that I was supposed to do. .htaccess syntax is still very foreign to me.
I suppose if I want another page (other than splash) to be the landing page, I can create it, set it to {ROOT} and manually change .htaccess to the associated parameters.
Am I wrong to think that I shouldn't have to manually change "COREseourl". Is it something that's automatically populated by the software when apache reads .htaccess?
Offline
gardenofone.com/store
(still in development)
Offline
Found it! "Use Exact SEO*" somehow got turned on in the webpage settings.
.htaccess is setup the intended way ('COREseourl" instead of manually entering the parameters), and I successfully made a landing page other than splash!
Offline