![]() |
Moving all files to Root |
Post Reply ![]() |
Author | |
Jeya ![]() Newbie ![]() Joined: 22-July-2008 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() 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! |
|
![]() |
|
Hamish ![]() Admin Group ![]() Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
|
Planetlava_com ![]() Newbie ![]() ![]() Joined: 01-December-2005 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
|
carstone ![]() Groupie ![]() Joined: 12-July-2006 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
|
benpate ![]() Groupie ![]() ![]() Joined: 15-February-2007 Location: United States Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
|
Stuck ![]() Groupie ![]() ![]() Joined: 09-March-2007 Location: United States Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
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!
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |