ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Moving all files to Root
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Moving all files to Root

 Post Reply Post Reply
Author
Message
Jeya View Drop Down
Newbie
Newbie


Joined: 22-July-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jeya Quote  Post ReplyReply Direct Link To This Post Topic: Moving all files to Root
    Posted: 24-July-2008 at 6:07pm
How can I move all the files inside of /productcart/pc/ folder to the Root of the website. (i.e. I want everything to look like this: http://www.mywebsite.com/viewcategories.asp

What code would I need to change?

It is better for SEO and just looks a lot better IMO.

Thanks!
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 24-July-2008 at 6:32pm
Hi take a look at the Wiki : wiki.earlyimpact.com/productcart/seo 

Links to moving to the root & - perhaps more relevant for you actually would be the redirects - which allow you to make URL's with SEO friendly content.

Back to Top
Planetlava_com View Drop Down
Newbie
Newbie
Avatar

Joined: 01-December-2005
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote Planetlava_com Quote  Post ReplyReply Direct Link To This Post Posted: 28-July-2008 at 6:10pm

I would think moving all of the files to the root would be quite a difficult task, especially since a lot of the pages in the pc directory include files in higher level directories and not just other files in the pc directory.

You would have to restructure the folders and change all of the files to reference the correct path.
 
Regards,
Tbone
 
Back to Top
carstone View Drop Down
Groupie
Groupie


Joined: 12-July-2006
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote carstone Quote  Post ReplyReply Direct Link To This Post Posted: 29-July-2008 at 8:52am
This has also been an a bit of a bug to me, too, although I can't adequately explain why. PC is pretty much the only cart I have looked at that has the store several folders down the folder tree and I haven't figured out why. I agree that it "looks better" to have them up at or near the root. It just doesn't "feel" right", but if it doesn't matter to the search engines, I guess I shouldn't fret it. The really big companies frequently do that, but I always assumed they purposefully installed their store in lower folders. Hmmm.
Back to Top
benpate View Drop Down
Groupie
Groupie
Avatar

Joined: 15-February-2007
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote benpate Quote  Post ReplyReply Direct Link To This Post Posted: 03-September-2008 at 1:36am
I have implemented this but regret doing so as its a night mare to update. I would suggest using the seo mod from productcart because at least you know they will update. One of the things I had to do was make EI's relative urls absolute.

For example, default link looks like this, "<a href="viewprd.asp" and changed to this <a href="<%=scAbs%>viewprd.asp" the variable scAbs is stored in the storeconstants.asp file and just adds the full path to the relative url making it an absolute. You have to go in and change every occurence like this or else your links will break.
Back to Top
Stuck View Drop Down
Groupie
Groupie
Avatar

Joined: 09-March-2007
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote Stuck Quote  Post ReplyReply Direct Link To This Post Posted: 04-September-2008 at 7:56pm
I agree, and as Carstone mentioned....... I have always wondered why it was a secondary procedure to move ProductCart to the root folder rather than supplied like this "out of the box". It is certainly not a simple task for most to move everything to the root folder, and I cant understand why anyone would not want ProductCart setup in the root folder to begin with, at least the majority of users. But maybe I am missing something!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.