Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Feznizzle
Thanks for the help you guys. As much as I've been reading in here, I'm surprised I missed it. Maybe it is because I tend to skim when a problem seems "particular" to the user.
As both DivalVocals and Martin have said, this issue does indeed affect everyone using Zen Cart..
Quote:
Originally Posted by
Feznizzle
At one point I installed SSU's and I don't recall having this issue.
I don't know how it works but if it didn't support zenids then it was actually "breaking" the cart by not supporting them. It doesn't look nice but it works! :)
All the best..
Conor
ceon
Re: Ceon URI Mapping (SEO)
Quote:
As both DivalVocals and Martin have said, this issue does indeed affect everyone using Zen Cart..
Quote:
It doesn't look nice but it works! :)
That's life. I'm not sweating it. Search engine bots will correctly index according to the Ceon URI rewrites... that is all I care about!
Thanks for the great mod and wonderful support!
~Mike
Re: Ceon URI Mapping (SEO)
I can't visit this page. www.xxxx.com/google398d887c8c768d30.html
how do edit the .htaccess file?
RewriteEngine On
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,5}$ [OR]
RewriteCond %{REQUEST_URI} \.(html)$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/admin [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors [NC]
# Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule .* index.php?%{QUERY_STRING} [L]
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
dajiaoyazi
That .htaccess file seemed fine.
Send me FTP details for your site via this link and I'll take a look.
All the best..
Conor
ceon
Re: Ceon URI Mapping (SEO)
Hello Conor,
I got frustrated with :censored: IIS a few months back and hand't checked to see about any updates until recently and BAM! - IIS functionality and all.
Thanks a bunch man your hard work is greatly appreciated.
I buzzed around and saw some other people were having trouble with the add to cart in certain situations, not sure if that is an IIS issue or what but I can't seem to get my form to work when the URI rewriting is enabled. I troubleshooted with some of the solutions listed here and can't seem to put my finger on it. The page just refreshes when add to cart is clicked if an alternative URI is given.
One other thing I wanted to ask you about was about the canonical tag. I don't see the link rel=" tag ever on the page unless u are using http headers, in which case I don't see those either.
Main reason this could be an issue is because if you are ignoring the parameters and essentially showing the same exact page, all with no canonical tag.. then there is duplicate content all over the place if you know what I mean.
Let me know if you have any insight and thanks again as usual.
:clap:
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
sdsprings
Thanks a bunch man your hard work is greatly appreciated.
You're welcome and thanks for the nice comments!
Quote:
Originally Posted by
sdsprings
but I can't seem to get my form to work when the URI rewriting is enabled.
That sounds like you are POSTing a form to an old URI, which is then redirecting to the new, mapped/static URI and therefore dropping the POSTed form values.
You need to make sure that all the forms on your site use the zen_href_link() function.
You can look at the source of your pages and see if the add to cart forms use an "action" of "index.php?main_page=XXXX&cPath=XX"... if they do then the forms aren't using the mapped/static URI, in which case you'll need to fix your template to use the correct code (the zen_href_link function).
Quote:
Originally Posted by
sdsprings
One other thing I wanted to ask you about was about the canonical tag. I don't see the link rel=" tag ever on the page unless u are using http headers, in which case I don't see those either.
You should be able to look at the source of any category or product page etc. and see a rel="canonical" tag. If not, then you probably haven't uploaded all the files from the distribution, specifically the file:
includes/templates/template_default/jscript/jscript_ceon_uri_mapping_canonical_link_header_tag.php
I've just noticed that I have forgotten to list that file in the documentation. I'm guessing that subsequently you forgot to upload it!
Hope that helps!
All the best..
Conor
ceon
Re: Ceon URI Mapping (SEO)
Hey Conor,
Thanks for the prompt reply. I did ensure that I was using the correct zen function for the links and it seems to be spitting out the correct url for the form that is assigned to the product, however the page still refreshes.
Strange. I'm going to dig around some more and see what I can find but let me know if you can think of any other areas to peak at.
Thanks again!
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
sdsprings
Thanks for the prompt reply. I did ensure that I was using the correct zen function for the links and it seems to be spitting out the correct url for the form that is assigned to the product, however the page still refreshes.
That's very strange indeed.
Use FireFox and an extension called "Live HTTP Headers" and see what is happening (you may be doing that already).
You could possibly have a different rule in your .htaccess file which is redirecting from one address to another, breaking any post.
Hope that helps!
All the best..
Conor
ceon
Re: Ceon URI Mapping (SEO)
Hi,
Hope you can help me out here ... :(
I believe I've successfully installed the ceon url mapping module since I can see it in the admin -> module.
I followed the instruction that rewrite the rule in .htaccess file ( under admin folder)
Since I've rename my admin folder name, so I use the rewrite rule :
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/myadminfolder [NC]
and then I went back to admin and click " category " , scrolled down to the page and check ' tick the box to auto generate url mapping ' .
when I did above action, the page becomes ' Page Not Found '
when I erase and unchecked the box, the page is back to original..
Can anyone please help me ???? What's issue to cause that ?
Thank you.
my site: www.happyworkshopus.com
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
sung2010
I followed the instruction that rewrite the rule in .htaccess file ( under admin folder)
You don't put the .htaccess file in the admin folder, you put it in your store's *main* folder.
Hope that helps!
All the best..
Conor
ceon