Modify the Default Homepage for your Domain
Re: Modify the Default Homepage for your Domain
To help people with little programming knowledge, I have put up a video tutorial that shows how to change shop.php to index.php
It is at http://www.business-information-service ... e-shopphp/
It is at http://www.business-information-service ... e-shopphp/
Re: Modify the Default Homepage for your Domain
*edit*
i just changed 'shop' to 'index'
much easier
thanks for the tip!
i just changed 'shop' to 'index'
much easier
thanks for the tip!
-
- Experience Level 2
- Posts: 51
- Joined: Fri Jan 16, 2009 2:38 am
Re: Modify the Default Homepage for your Domain
Much easier, but then you have to remember that any references to shop.php that you made before, you have to edit. =) ..and as mentioned before you have to change the codelock in the script or your links to things won't work =0An4h0ny wrote:*edit*
i just changed 'shop' to 'index'
much easier
thanks for the tip!
(I didn't notice how old this was..didn't mean to necro post...just new around here..sorry!)

Re: Modify the Default Homepage for your Domain
The easiest way IMO is to copy shop.php and name it index.php. This way you'll have both of the files and any references will work
this is the way I do it in all of my stores
this is the way I do it in all of my stores
-
- Admin
- Posts: 1879
- Joined: Fri Oct 01, 2004 10:40 pm
- Contact:
Re: Modify the Default Homepage for your Domain
Remember that starting with v4.2.0 when you rename either the shop.php or admin.php files, you DO NOT need to edit the file name reference using a text editor, as you did you prior versions.
Just rename the files and they work.
Just rename the files and they work.
Re: Modify the Default Homepage for your Domain
Since this seems to be an ongoing thread, might I ask this question here?
I'd like to migrate my current unwieldy method of setting up pages to something more efficient and manageable -- without using redirects.
Ideally, on a site with AOM installed, instead of having one 'shop.php' file suting all purposes, I'd like to use folders to accomodate many types of widgets.
In other words, folders that I can send folks to with the URL:
example.com/widgets1
example.com/widgets2
example.com/widgets3
example.com/widgets4
example.com/widgets5
example.com/widgets6
Whatever product needs require....
In fact, I might have up to 50 folders dedicated to different products. Related products, but more targeted for particular search terms and sitemapped better.
Did that make any sense? I'm not thinking straight of late...
Thanks, answer at your leisure. I'm moving slow of late too.
I'd like to migrate my current unwieldy method of setting up pages to something more efficient and manageable -- without using redirects.
Ideally, on a site with AOM installed, instead of having one 'shop.php' file suting all purposes, I'd like to use folders to accomodate many types of widgets.
In other words, folders that I can send folks to with the URL:
example.com/widgets1
example.com/widgets2
example.com/widgets3
example.com/widgets4
example.com/widgets5
example.com/widgets6
Whatever product needs require....
In fact, I might have up to 50 folders dedicated to different products. Related products, but more targeted for particular search terms and sitemapped better.
Did that make any sense? I'm not thinking straight of late...
Thanks, answer at your leisure. I'm moving slow of late too.
Re: Modify the Default Homepage for your Domain
What about each widget in a custom page, then you can link to them however you'd like.
Re: Modify the Default Homepage for your Domain
You can also add a few lines to the htaccess file to rewrite those pages and connect them with anything that is based on AOM
read the current htaccess file and you'll get an idea of what you can do with rewrite
read the current htaccess file and you'll get an idea of what you can do with rewrite
-
- Posts: 7
- Joined: Sat Dec 26, 2009 5:06 pm
Re: Modify the Default Homepage for your Domain
this worked for me perfectly, thanks so much =)mcarp555 wrote:Put DirectoryIndex shop.php as the first line of the .htaccess file. Note, the .htaccesss file must be in the same location as your shop.php file.
Re: Modify the Default Homepage for your Domain
I think just rename the shop.php to index.php is an easy one.
Re: Modify the Default Homepage for your Domain
Until the next upgrade. Every time an upgrade is released, I get dozens of support tickets from people who forgot they changed shop.php to index.php. Using the 'directoryindex' command in .htaccess means you never have to remember to delete the old index file and rename the new shop one.
Re: Modify the Default Homepage for your Domain
Do you mind providing detailed newbie instructions
on how to do this?
Thanks

Thanks
Re: Modify the Default Homepage for your Domain
See question #1 here.
Who is online
Users browsing this forum: No registered users and 5 guests