Re: Ceon URI Mapping (SEO)
Hi all!
I have this mod working perfectly on my test site but when I move it over to my live site it doesn't work.
I have simply FTP'd all my files from my test site to my PC then FTP'd them all up to my live server. Then I backed up the database and imported it to the live server.
Everything seems to work perfectly except for URI mapping. When I switch it off in admin all the links work, if I switch it on I get page not found.
Is there something in configuration that I've missed or is there some server setting I need to check/change?
I've had a look at the data in the URI tables in the database and everything looks ok. There's no references to my test server anywhere as far as I can see.
If anyone can help I'd be really grateful. It's the only thing that's stopping me going live :)
Re: Ceon URI Mapping (SEO)
Dunno about you, but the paths in my .htaccess file are different for my live sites versus the development site.. So when I move a site from dev to live, I usually have to adjust any files which contain file location/path data (configure.php, .htaccess, etc)
Dev - http://www.mysite.com/directory_name
Live - http://www.theirsite.com
is this possibly the case for you??
Quote:
Originally Posted by
damiantaylor
Hi all!
I have this mod working perfectly on my test site but when I move it over to my live site it doesn't work.
I have simply FTP'd all my files from my test site to my PC then FTP'd them all up to my live server. Then I backed up the database and imported it to the live server.
Everything seems to work perfectly except for URI mapping. When I switch it off in admin all the links work, if I switch it on I get page not found.
Is there something in configuration that I've missed or is there some server setting I need to check/change?
I've had a look at the data in the URI tables in the database and everything looks ok. There's no references to my test server anywhere as far as I can see.
If anyone can help I'd be really grateful. It's the only thing that's stopping me going live :)
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
damiantaylor
I have simply FTP'd all my files from my test site to my PC then FTP'd them all up to my live server. Then I backed up the database and imported it to the live server.
Everything seems to work perfectly except for URI mapping. When I switch it off in admin all the links work, if I switch it on I get page not found.
It sounds like you have forgotten to upload a .htaccess file or the new server isn't configured to load .htaccess files, therefore making it redundant at present?!
Check the file is uploaded and if so, check that your server's Apache webserver has the appropriate AllowOverides directive to allow the loading of .htaccess files.
Hope that helps!
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Hi Mike,
Glad you like the module, thanks for the nice comments!
Quote:
Originally Posted by
MMCDOO
HeI am having the problem Gerjan describe below where the who's online in tools displays something like:/includes/templates/browntemplate/images/TopPanelText1.gif,
Unfortunately I don't use the who's online functionality so I don't ever see this problem myself. I can't see how it would happen either, I don't know why image files would be tracked by who's online functionality!
I'm wondering if the who's online functionality can't cope with static URIs? I can't think why it would record images.. are you sure your first rewrite rule isn't causing this? Try removing it and only using the URI Mapping rule and see what happens!
Quote:
Originally Posted by
MMCDOO
PS I've seen it but forgot where--Where is the paypal link to buy you a pint or two?
Umm, I don't think I'm allowed to say here! :|
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi Mike,
are you sure your first rewrite rule isn't causing this? Try removing it and only using the URI Mapping rule and see what happens!
ceon
Thanks for the quick response, I tried removing the first rewrite rule, no luck.
Here is what I see when looking at the Who's online:
Online ID Full Name
Asc Desc IP Address
Asc Desc Session
Asc Desc Entry Time
Asc Desc Last Click Time
Asc Desc Last URL Viewed
Asc Desc
00:10:43 0 „Spider 67.195.115.249 18:09:51 18:10:52
Time Since Clicked:
00:09:42 ago Session ID:
Host: b3090879.crawl.yahoo.net
User Agent: Mozilla/5.0 (compatible; Yahoo! Slurp/3.0; http://help.yahoo.com/help/us/ysearch/slurp)
/daylily-catalog/all-daylilies/ferengi-gold?language=en
00:01:48 0 „Guest 75.109.50.197 18:18:46 18:18:51
Time Since Clicked:
00:01:43 ago Session ID: ce9d145791d0f69cf37043b5e2524838
Host: cdm-75-109-50-197.asbnva.dh.suddenlink.net
User Agent: Opera/9.80 (Windows NT 6.1; U; en) Presto/2.2.15 Version/10.10
/includes/templates/browntemplate/images/TopPanelText1.gif
00:01:45 0 „Guest 75.109.50.197 18:18:49 18:18:49
Time Since Clicked:
00:01:45 ago Session ID: 06616725621a56cf971ec676011799e1
Host: cdm-75-109-50-197.asbnva.dh.suddenlink.net
User Agent: Opera/9.80 (Windows NT 6.1; U; en) Presto/2.2.15 Version/10.10
/daylily-catalog/favicon.ico
00:00:12 0 „Guest 75.109.50.197 18:20:22 18:20:24
Time Since Clicked:
00:00:10 ago Session ID: d239e37651610b1855fd660f055ae2e1
Host: cdm-75-109-50-197.asbnva.dh.suddenlink.net
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.4; Mozilla/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)
/includes/templates/browntemplate/images/TopPanelText1.gif
The spider usually apears correctly unless it is crawling a linked product through a subcategory- even then its almost right. Only human guests get the template directory. It really is no big deal though. Thanks for your help.
I'll find that paypal link again.
Mike
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
MMCDOO
Thanks for the quick response
Actually, that was quite a long time to respond for me - I haven't been on the computer much recently! You must get very slow responses from other people if you thought that was quick! :|
I just looked at the whos_online.php function file and it simply records the REQUEST_URI.
Your rewrite rule omits any URIs ending in a 2 to 4 character extension from being rewritten and therefore processed by Ceon URI Mapping.
However the fact that whos_online is recording that path means that it is being processed.
I couldn't think of how this could be but computers don't do anything at random so I tried going to the URI recorded against your human visitor.
What I saw made me realise what is going on..
If you visit
http://www.mrfancyplantsnursery.com/...PanelText1.gif
You'll get a 404!
Same if you visit the path to the non-existent favicon.ico:
http://www.mrfancyplantsnursery.com/...og/favicon.ico
So something on your server is actually rewriting URIs behind the scenes to show a 404 page when a file isn't found.
The actual calling of this 404 page must be then being caught by the rewrite rule for Ceon URI Mapping and processed by Zen Cart.. meaning that the URI is then recorded by Zen Cart's who's online functionality.
So we now have a decent theory about what's happening!
You need to disable the 404 functionality on your site which attempts to display a custom 404 page for missing images. Or you need to exclude this page from the Ceon URI Mapping rewrite rule.
That should then mean that no attempt will be made to load the Zen Cart/URI Mapping engine to process the URI and therefore mess up your who's online list! :)
I should also point out that you should set a base href on your site or change the path to your favicon.ico file to be relative to the root of your site (put the full path to the file in your template).. obviously you don't have a "favicon.ico" file in every "directory" so paths like "/daylily-catalog/favicon.ico" will never be found!
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Thanks Connor!!!
Turning off the 404 did the trick. Thanks also for the favico.ico tip. I hadn't noticed that.
Have a good one.
Mike
Re: Ceon URI Mapping (SEO)
Hi Mike,
Quote:
Originally Posted by
MMCDOO
Turning off the 404 did the trick. Thanks also for the favico.ico tip. I hadn't noticed that.
Have a good one.
Out of interest, in case anyone else asks, how did you "turn off 404"?
Thanks!
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi Mike,
Out of interest, in case anyone else asks, how did you "turn off 404"?
Thanks!
All the best...
Conor
ceon
My question EXACTLY!!!:laugh:
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi Mike,
Out of interest, in case anyone else asks, how did you "turn off 404"?
Thanks!
All the best...
Conor
ceon
In Zencart admin under configure>mystore I had Missing Page Check set to display page not found. I turned this to off and visitors page addresses started showing correctly.
Thanks again for your help.