chrometweaks.org

Great web hosting sites? besides iPage?

Click Here To View All Answers...


Got a question, hope someone can answer... Great web hosting sites? besides iPage? Hoping for any response. Another question I got... I've seen mention on the forums that it is possible to remove the shop/catalog from the url by shifting the directories up one level. I want to do this since I have ran into several problems with various services like DMoz and Froogle as well as optimizing for searches. But before I go and alter my working iPage site I want to be sure of the procedure.

But wouldn't this mean that my new url would be.

Http://www.mysite.com/shop.

? I am looking to make it just.

Http://www.mysite.com.

Is there anyone that has actually done this that give me some help with this?.

Jack..

Comments (74)

That's a good question. I'm not sure what is the answer to your question. I'll do some investigation and get back to you if I got an answer. You should email the people at iPage as they probably could help you..

Comment #1

When you say shop is that the root directory?.

If you install the code in the root - you would only need to use www.mystore.com - as the index.php file would be the default page...

Comment #2

Hi Jack.

You would just move everything out of the shop to root keeping the tree structure, then all you have to do is change the paths in the two configure.php files If you want a hand I am in the usual place...

Comment #3

That is probably where my confusion is coming from. To my understanding, the root for my iPage site is at www.mysite.com. Currently my shop is installed at www.mysite.com/shop/catalog. So I want to move all of the files/directories that are currently in the catalog directory into the same directory that holds the shop directory. This would require the directories to be moved up two levels but all of the posts I have found say to move the files up once - thus my confusion. I'm not sure what defines the root of my site..

Jack..

Comment #4

Thanks Steve. That's my understanding but I am unclear what exactly the root is. Assuming it is www.mysite.com, then after this is done, if I looked at the directory at www.mysite.com, it would contain directories such as admin and includes. Is this correct?.

Jack..

Comment #5

Jack.

As I said move the files to your root that is everything from www.mysite.com/shop/catalog to www.mysite.com/ then edit the two configure.php files so that the paths point to the root instead of /shop/catalog/..

Comment #6

Ok, I just wanted to be sure since I was unclear about the root..

With that resolved, a related question comes up. Since my products have already been indexed by google, this move is probably going to cause me some problems intially. Do you (anyone) have any suggestions as to the best way to limit the disruption. I know I can put a redirect page at shop/catalog but I really don't want to do that for my 500 or so product pages. Is there any other way or should I just change it and let google sort it out in time?.

Jack..

Comment #7

Here is another way to do things. first, go iinto your admin section of the store and then tools, then backup. backup the database to the server (default selection). Then, using your ftp program, download your store via ftp to a folder on your local hard drive. this then creates a backup of your current store source code and a backup of the database. then using your ftp program again, go one level lower than catalog (so you have admin thru everything else displayed) and select all of the files and folders.

This way, at the 'shop' level, the first folder named is admin. then, go into your includes and edit the configure.php to reflect the change, as well as the admin/includes file. then delete the catalog folder...

Comment #8

This illustrates what I have been saying. If I do as you suggest, then all of my files will be in the shop directory so my sites url would be www.mysite.com/shop/. Is this what you mean to say or am I missing your point?.

Jack..

Comment #9

I think I missed the point of this thread .... !!..

Comment #10

LOL. The main question was how many levels I needed to move the files/directories up in the catalog directory in order to make it possible to have a url without shop/catalog in it. The standard answer, if you search the forums, is that you should move everything up one level. I haven't verified it yet but it seems this is not accurate and that the files needs to be raised two levels. Even in this thread both statements were made. This is a live shop so if I make a mistake it could cause me much grief so I wanted to be as sure as possible before making such a major change..

Jack..

Comment #11

The root of your iPage site is www.mysite.com , and going by what these guys are saying you need to move everything up two levels, then adjust your comfig.php files to reflect. Although I havent actually done this before I am seriously considering it. At present my iPage site is at www.mysite.com/catalog but I really need it at www.mysite.com. Let me know how you get on with this, as I would like to know the outcome, and how "easy" it is!..

Comment #12

Well check me if I'm wrong but it doesn't make any difference what file your in as long as catalog are configured in the root directory. If I look at the tree that comes up when I logon through my FTP program I see..

Mysite.

Https.

Xx.

Xx.

Xx.

Xx.

Xx.

Https.

Catalog.

Http.

Catalog.

Admin.

And when I enter my iPage website www.mywebsite.com I go directly to index.php my home page. So I don't understand what all this is about moving anything the redirects are handled in host admin...

Comment #13

I'll post here when I do it, which will hopefully be in the next few days. I've decided to take the cowards approach and get another iPage site setup (I needed it anyway). I'll install a test iPage site on it a make sure it works before messing with my live one..

Jack..

Comment #14

Hmm, would you mind posting one of your configure files? I don't see how the above could work as you say since you seem to have catalog and admin in the http directory. I'm not saying it is wrong, I just want to see how it works. Might save me a lot of work..

Jack..

Comment #15

Sorry, last entries are missing one should have been.

Httpdocs.

XXXX.

Catalog.

Admin..

Comment #16

I finished changing my test iPage site and it went fine as far as I can tell. Everything does have to be raised two levels. The only thing I question is that includes/configure.php contains the following two lines:.

Define('HTTP_COOKIE_PATH', '/shop/catalog/');.

Define('DIR_WS_HTTP_CATALOG', '/shop/catalog/');.

I'm not sure if the changed code should include a / or not, i.e.,.

Define('HTTP_COOKIE_PATH', '/'); or.

Define('HTTP_COOKIE_PATH', '');.

I opted to leave the / in but does anyone know for sure?.

Jack..

Comment #17

I would leave the "/" in. So all went fine and all the products are still in-tact? what about attributes? Did you have any contribs installed?..

Comment #18

I've seen mention on the forums that it is possible to remove the shop/catalog from the url by shifting the directories up one level. I want to do this since I have ran into several problems with various services like DMoz and Froogle as well as optimizing for searches. But before I go and alter my working iPage site I want to be sure of the procedure. From what I understand, if I were to normally install the code in shop/catalog, I would instead install it just in shop. But wouldn't this mean that my new url would be.

Http://www.mysite.com/shop.

? I am looking to make it just.

Http://www.mysite.com.

Is there anyone that has actually done this that give me some help with this?.

Jack..

Comment #19

Thanks for the links but these just state what I have already said. I see that my question was asked by someone else in that thread too but not answered there either. Seems everyone knows this is what is required but no one has really done it..

Jack..

Comment #20


This question was taken from a support group/message board and re-posted here so others can learn from it.