Re: Chemo's Ultimate URL's
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?
Some rewrite problems and formatting question
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:
Quote:
Code:
##### NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
# From Ultimate SEO URLs
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]
# For Open Operations Info Manager
RewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]
# For dreamscape's News & Articles Manager
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]
# All other pages
# Don't rewrite real files or directories
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!
Re: Chemo's Ultimate URL's
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.
Re: Chemo's Ultimate URL's
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.
Re: Chemo's Ultimate URL's
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.
Re: Chemo's Ultimate URL's
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:
http://www.regencyexpress.co.uk/prod...14_144_160_210
When the SEO URL function is turned off everything runs fine.
Has anyone got any ideas?
Re: Chemo's Ultimate URL's
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
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by 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?
Re: Chemo's Ultimate URL's
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 /
# From Ultimate SEO URLs
Any ideas?
Re: Chemo's Ultimate URL's
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?