Wordpress with Photocart

Messages
4,421
Name
Tug
Edit My Images
Yes
I know its a long shot but I have photocart and I am using 1and 1 as my hosts... I have been using a temporary front page with a link to my Photocart login page however photocart is now accessible from www.tugwilson.co.uk/photocart

This has worked ok up to press but I now realise that I need to be more visible and have decided to go for a proper website front page with a little bit about us etc etc ...

Now my problem...When I installed photocart, I installed it in the public_html file on the server. So the web address to access it is www.tugwilson.co.uk/photocart ...all well and good. Now my issue is I want the web address www.tugwilson.co.uk to take me to the new WP website that I am currently putting together and then link from it to the Photocart folder. I originally installed the WP folder on the server and Photocart stopped working. I quickly realised I had done something wrong and reverted everything back to the original settings...now it is all working as it should be.

So to start again....Where should I install the WP folder so that it can be accessed from tugwilson.co.uk and at the same time be able to work on the WP website whilst at the same time, Photocart is still accessible.

I hope this makes sense....This is a very very steep learning curve for me...
 
Last edited:
just read your PM.. dont have any direct experience of installing WP however..

when you say you installed photocart to the public.html folder, did you install it to a subfolder within there? i see youre using /photocart is that the subfolder or a redirect or an alias?

my photocart sits in public_html/store. i cant see if you are using a subfolder why wordpress would break it.

it may be worth also asking on the picturespro support forum, they are pretty useful bunch.
 
ah, WP uses mySQL the same as PC. do you have 2 separate databases?

otherwise going back to my first point about subdirs, the only file that clashes with photocart is the index.php so providing you have them separate and havent overwritten that and you have 2 separate databases im not sure what the problem is.

do you get any errors when PC stops working?
 
Last edited:
I'm guessing there must be something installed into your public_html folder that relates to Photocart. The Wordpress install must be over-writing it.

Is your public_html folder empty apart from the photocart folder?

You could try adding the following as an index page. Save it as index.html and drop it into your public_html folder, then type your main url in. If that works, I'd say it's likely that the Wordpress install is breaking something - though I don't see how.

Code:
<body>

<h1>This is my test homepage.</h1>

<a href = "http://www.tugwilson.co.uk/photocart/"> This is the link to my photocart page</a>

</body>

What you could do is install wordpress in another subfolder (for example "blog") then add a link to it from the index page

Code:
<a href = "http://www.tugwilson.co.uk/blog/"> This is the link to my Wordpress site</a>

If that all works fine, then Wordpress must be over-writing something important when you install it.

A screenie of your public_html folder might help (if there's nothing sensetive in there)

Ian.
 
I have two separate DB's and the photocart app is in the public_html folder

ie public_html/photocart

Its working ok but I do not know how to have the new site under the tugwilson.co.uk URL without disrupting the photocart app located at www.tugwilson.co.uk/photocart

This url is not redirected at all...the home directory being home directorypublic_html
 
Hi Ian,

Thank you for the reply

Let me give that a try and I'll come backwith updates....
What I should do is get on a course and learn how to do this properly in the first place...

Nothing else in the public_html now ...
 
Last edited:
I have two separate DB's and the photocart app is in the public_html folder

ie public_html/photocart

Its working ok but I do not know how to have the new site under the tugwilson.co.uk URL without disrupting the photocart app located at www.tugwilson.co.uk/photocart

This url is not redirected at all...the home directory being home directorypublic_html

if youre putting the wordpress files in the root then it shouldnt interfere at all..

so like this (view from filezilla)..

http://i1125.photobucket.com/albums/l600/fallenlightphot/Other/wordpress.jpg

then set your page to default to the wordpress index.php if it doesnt already.
 
Neil, When you installed PC, what other folders were installed in the root directory at the same time?

I'm just considering deleting all the other stuff...I have the slide show option so in my root folder I have Logs, Pricing, Public_html,settings, slideshow and style

I'm not too sure if they are all part of the PC install
 
Last edited:
Was there something there before?

Yes...I had the WP folder in there but just deleted it ...I have a copy on my HD

My current direction is to have Photocart (PC) up and running whilst still allowing me to work on the WP site....Once I am happy with it I want www.tugwilson.co.uk to point to the WP site and then to have a link of some description pointing towards PC from the WP site....
 
Neil, When you installed PC, what other folders were installed in the root directory at the same time?

I'm just considering deleting all the other stuff...I have the slide show option so in my root folder I have Logs, Pricing, Public_html,settings, slideshow and style

I'm not too sure if they are all par of the PC install

all of your web facing folders should be within public_html. so subfolders for photocart, images, scripts or whatever else you have should be under public_html. including the wordpress files which i would extract to the root by the look of it.

all of the photocart files will be within the folder you specified for it, nothing is created outside.

so for example i have something like this for a folder structure:

public_html
-store
--photocart files/folders
-stylesheets
-javascripts
-pictures

all of my HTML webpage files are then in the root of public_html which is where you would want to extract the wordpress files to so based on the ZIP file i just downloaded from wordpress that you have something (ignoring your other subfolders for the moment) like:

public_html
-photocart
-wp-admin
-wp-content
-wp-includes
index.php
wp-blah (all of the other wp php files)
 
Last edited:
I think there must have been files from the first install of PC in the root folder....All deleted now ....WP created in root folder...now going to check I can access it from browser...
 
from the link on your homepage you look like youve installed WP to a subfolder called tugwp?

if you want to go straight to WP from the URL you want to extract the WP files so the index.php and the "wp-" subfolders are in the public_html root.

on the brightside photocart still works.
 
I have now installed the WP folder to the root directory...So now I have Logs, Public_html and the new WP folder in there.

I created the html file (index.html)(edited it to reflect my WP folder name) and dropped it in the Public_html folder

I then opened a browser and typed in the url ...it brought up the index.html details but when I clicked the link it came back with a 404 error...Not found I think?

Bit stumped as to where to go with it now.
 
from the link on your homepage you look like youve installed WP to a subfolder called tugwp?

if you want to go straight to WP from the URL you want to extract the WP files so the index.php and the "wp-" subfolders are in the public_html root.

on the brightside photocart still works.

:agree:

I hope I haven't confuzzled the issue here. My suggestion was more about proving it was an issue with the files in your public_html by putting wordpress in a separate folder.

As Neil said, if you want this to work straight from your main url, you need to install it at the root of your site and not in its own folder.
 
I just deleted the DB and created a new one ...Edited the config file and reinstalled WP ...all seems to be ok now...

I do not understand what I have done differently from before except for deleting those files that were duplicated from the PC folder...

Maybe there was a db issue or the WP programme had become corrupted...

Anyway I can get on now...

Ian, Thank you for your assistance, I have learned a few things from you today..

Neil, Thank you also... Just little things, but if you don't know or understand then they become very high walls !!! Cheers pal...
 
no bother. if you want to let sleeping dogs lie then edit your index.html that currently has "This is the link to my Wordpress site" with a simple redirect script to the wordpress page. might not be ideal for SEO though.
 
Glad you got there and as Neil said, if you're happy with how things are, you can simply create a 301 redirect which tells the search engines that a page has been permanently moved. It's a bit covoluted (process is here) but it will end up with any domain name searches being directed to your /tugwp1 folder.

The other option would be for you to create a landing page at your main url with the two sites linked from there w3schools is pretty good for getting started with html.

Good luck!

Ian.
 
Glad you got there and as Neil said, if you're happy with how things are, you can simply create a 301 redirect which tells the search engines that a page has been permanently moved. It's a bit covoluted (process is here) but it will end up with any domain name searches being directed to your /tugwp1 folder.

The other option would be for you to create a landing page at your main url with the two sites linked from there w3schools is pretty good for getting started with html.

Good luck!

Ian.

Hi Ian,

Thanks for the heads up on the w3schools info...Its just the level I need to learn the basics and understand the key ingredients ....I think I could really get into this..
 
Back
Top