Totally Zenned
- Join Date:
- Sep 2005
- Posts:
- 836
- Plugin Contributions:
- 0
Chemo's Ultimate URL's
http://www.cnt-wholesale.com/test-c-1.html
got it isntalled but ghet page cannot be found when i go to a category or product
Views: 494,256
Totally Zenned
http://www.cnt-wholesale.com/test-c-1.html
got it isntalled but ghet page cannot be found when i go to a category or product
New Zenner
Hapy new member of the comunity here with a few questions...
I have installed Zen Cart 1.3.0.2 - So far love what I see...
I have installed the Dr Byte version of Ultimate SEO v. 2.101 from here: http://www.zen-cart.com/archived_contributions/other/ultimate_seo_urls_v2.101.zip
All went smootly and the install has worked great... With one problem so far.
I am hving trouble with the 'manufacturers' side box not using the correct urls.
I can probably fix this issue in the script, but I am not a php monkey... I understand the code and read and edit in most cases, but it is not my main focus.
Have any of you also had a proble with this? What have you done to correct this problem?
The test site I am working on to learn the system is here:
www dot sojourngallery dot com / index.php
New Zenner
I have been trying to find out how to use Chemo's Ultimate URL's on my version of ZenCart but I have found no threads on how to do so. I am currently running Version 1.0 which has all updates downloaded and is current.
Is it possible to use it on this version and if so can anyone please make sense of all this to me??!! I have seen a lot of talk about how to do things on other versions but nothing that makes any sense to me as all of the files that are metioned do not seem to be on my version.
Can anyone please help?
New Zenner
I just got this installed using DrByte's 1.3 update and Voltage's merged output.php file. It is working great except for one problem, pages like 'contact us' and 'privacy policy' are no longer available. All of them involve the url being something like index.php?main_page=<name of page>.html.
The link on my pages when I mouse over look like:
index.php?main_page=contact_us.html
And when I click that appears in my address bar in my browser, but it gets replaced by the root URL of my site and I'm sent back there. Any ideas?
I also wanted to know if there was a way to reformat the URLs to make them not as long. For instance if I have a category called Pants with a sub-category called Mens it creates a link like:
pants-mens-c-20_2.html
Is there a way to remove the c-20_2? Or is rewriting just not that flexible and it would cause database lookups to fail?
I'm pretty sure both these questions would involve my .htaccess file, so here it is:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^(.)-p-(.).html$ index.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-c-(.).html$ index.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-m-([0-9]+).html$ index.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pi-([0-9]+).html$ index.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pr-([0-9]+).html$ index.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pri-([0-9]+).html$ index.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-i-([0-9]+).html$ index.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]
RewriteRule ^news/?$ index.php?main_page=news&%{QUERY_STRING} [L]
RewriteRule ^news/rss.xml$ index.php?main_page=news_rss&%{QUERY_STRING} [L]
RewriteRule ^news/archive/?$ index.php?main_page=news_archive&%{QUERY_STRING} [L]
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.)-a-([0-9]+)-comments.html$ index.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.)-a-([0-9]+).html$ index.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index.php?main_page=$1&%{QUERY_STRING} [L]
I greatly appreciate any help you can give. Thanks!
New Zenner
Update: I found out that if I disable Automatic Redirects that it allows me to get to those pages, but without any SEO.
I'm still curious if that is right or not though?
Real Update: Okay ignore that up there, if I disable Automatic Redirects it takes me to the correct URLS for those pages, but it still shows the index page for the site, so my address bar is showing:
index.php?main_page=my_account.html
But the root page of my site is displayed.
If I disable SEO URLs entirely the issue goes away.
New Zenner
Okay, I now see what is going on, and I'm looking into how to fix it, but I have no idea, so if anyone else knows, please inform me! :)
Ultimate SEO's is taking this link:
index.php?main_page=my_account
And turning it into:
index.php?main_page=my_account.html
How do I keep this from happening? This should be the last few lines of the .htaccess file, but it doesn't seem to be working right.
New Zenner
Okay, sorry to keep replying basically to myself, but I have found out another part of the problem here.
This only happens to URLs being generated by EZ Pages. If I hand type:
/site_map.html
into my browser it takes me there, and all the links in the Site Map are correctly formatted, but any in the header and footer bars generated by EZ pages use the incorrect syntax. I assume then that editing a EZ Page template or code file somewhere with similar changes to what is in html_output.php should do the trick. I'm digging into it now.
New Zenner
I am have a problem with this. everything seems to be working ok with exception of when I click to add products to my cart when testing it. Every time I try to add the products I get a 404 Page Not Found message. This is the address it is trying to connect to:
When the SEO URL function is turned off everything runs fine.
Has anyone got any ideas?
New Zenner
I've just installed this and got an error. It's a Server 500 error. Did anyone get something like this before or is it because I'm testing it offline (with Xampp)?
Thanx
Pete
Sensei
kebeid:
I've just installed this and got an error. It's a Server 500 error. Did anyone get something like this before or is it because I'm testing it offline (with Xampp)?
Is your Xampp set up to support mod_rewrite?
Did you set your base URL in the sample .htaccess provided in the mod?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Zen Follower
I have installed Chemo's Ultimate URL's, and it works great except when trying to Login. After clicking on login it goes to Sashbox' site (my host).
I am running V1.2.7 zencart and the 2.0 version of ultimate url
Zencart is in the root directory, so I have .htaccess in public_html
Here is the beginning of .htaccess
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
Any ideas?
New Zenner
I've installed ultimate_seo_urls_v2.101.rar on my 1.3.0.2 version of Zencart. Everything worked great, or so I thought. Shortly there after I started getting complaints of customers being unable to pay via credit card.
I'm using the standard CC module on my cart to collect credit card info. With the Ultimate URL's mod enabled, whenever a customer hits the "submit" button on the payment page it simply refreshes - without going onto the confirmation. I saw a mention or two of this problem earlier in the thread but I didn't see a fix. Is there one?
Zen Follower
Please help. I'm totally lost on what to do. If you take a look at the first page of my store and position your mouse over the word "login" near the top you can see that the link shown on the bottom looks correct, but when you actually click on login it goes to Sashbox.net
I have contacted my host for help, but I haven't heard back from them.
Anita
New Zenner
Did you set your base URL in the sample .htaccess provided in the mod? Yes (that's the changing the /shop/ thing)
Is your Xampp set up to support mod_rewrite? - What's that.
Thanks for the quick reply Dr. Byte
Pete
Zen Follower
My problem was solved thanks to the wonderful Jim at Sashbox.
Anita
New Zenner
I have found a real problem with the SEFU mod...
I cannot seem to get any form of 404 or 302 re-direct to work correctly with the .htaccess now. It seems that if you visit any false page at the site, you will see the home page, rather than the 404 page not found.
Have any of you been able to add 404 error handling to the .htaccess associated with the SEFU and have any success?
My site is here: sojournglass(dot)com
New Zenner
If I use the standard 301 redirect line like this:
Redirect 301 /glass-balls.shtml http:// (WWW) .sojournglass.com/glass-balls-c-1.html
(I have altered this line to prevent linking from here)
Then the page is actually getting re-directed to the root domain. It seems that there is a problem with the other rules in place.
Also, using the standard 404 re-direct gets me nowhere... You can go to any random page in the site and it will display the home page.
This is actually a very bad thing for search engines.
Any help?
New Zenner
Ok... so... I found a way around the 301 re-direct issue...
For anyone else that may have been having this trouble:
The re-direct code should actually read like this:
Redirect 301 /glass-balls.shtml http:// (WWW) .sojournglass.com/index.php?main_page=index&cPath=1
I have altered the "www" to prevent this forum from linking to the site, though it should be written as a standard URL in your code.
Now that I have the 301 redirect issue solved... I am still searching for a way to have the 404 error pages handled correctly with the SEFU in place.
Currently if you go to mydomain.com/anything_random_written_here
You will see the home page and the URL will not be altered from what was typed into the URL bar.
This is a problem, as it would tell the engines that any broken link to your site is a duplicate of your home page.
Can anyone see what would be causing the re-write engine to see any random page as a normal page and show the home page content?
New Zenner
Apparently this forum is not as heavily read as I thought!
In doing more tests on the 404 error problem with the SEFurls mod I have found that if you go to any non-existant page in the site, you will see the home page content.
I have found that this is due to the following section of the htaccess file:
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index.php?main_page=$1&%{QUERY_STRING} [L]
However, if this section is removed from the file, the engine has trouble with a number of EZ pages and other pages not already handled by the rewrite rules.
So... I am seeking a way to allow the site to properly handle 404 page not found errors while at the same time allowing for the random pages to be handled correctly.
It may seem like a strange problem, but if the site serves up the home page for every incorrect page request thrown at it, the engines may follow bad links and see them all as duplicates of the home page... This is very bad, and actually ruins the mod IMO.
Since we do not always have control over people linking to our sites incorrectly, as webmasters, we must ensure that our home page, or any other page, is not dished up to bad links. The 404 page must be shown instead.
If anyone has some insight into how this 404 error problem could be resolved please let me know.
Totally Zenned
You make some very interesting points. I never thought of it before, but it makes sense to have a 404 page with Ultimate SEO's. Let us know if you find a solution (I've been trying but no success yet).
Tell staff why this post should be reviewed.