Re: Chemo's Ultimate URL's
I'm having an install problem with ultimate seo urls 2.0.6. The instruction for modifying the .htaccess is:
Edit or create the file `.htaccess` in your Zen Cart catalog folder and add the following (replace /shop/ with the relative web path of your catalog):
Now, my shops name is canemasters.com I am temporarily setting up a new shop at canemasters.net Do I simply change this to /canemasters/ or /canemasters.net/ or does it have to do with where the site lies on my ftp server, which is /canemastersnet/ ???
Thank you.
Re: Chemo's Ultimate URL's
THe /shop/ is relative to the domain name, so if you have a store which is www.example.com/shop/ it should be /shop/. If your store is just www.testing.com, then it should be /.
Absolute
Re: Chemo's Ultimate URL's
The exact problem I'm having is, when I click on anything, a category, a ezpage, anything, I get this error message.
Not Found
The requested URL /canemasters/index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at www.canemasters.net Port 80
--------
Now, this mod is working on my canemasters.com webweb site. If you hover your mouse over the category "canes" on canemasters.com, it points to:
http://www.canemasters.com/index.php/canes-c-1/
If you hover you mouse over the category "canes" on canemasters.net, it points to:
http://www.canemasters.net/canes-c-1.html
Somehow, the index.php is being taken out. How do I fix this, or is that even the problem??? :blink:
Re: Chemo's Ultimate URL's
Not a problem, but it's inconsistent and can effect the search engine ranking.
Re: Chemo's Ultimate URL's
That's exactly what's wrong. Someway, somehow, the index.php is being taken out of all of my links.
If you visit, http://www.canemasters.net/index.php/canes-c-1.html
it works!
How do I change this so index.php is included?
Re: Chemo's Ultimate URL's
Okay, I "somewhat" got this to work by making the line in my htaccess file say
#RewriteBase /
But I REALLY need to make the index.php be included in the url so I dont have to go modify every single link in my flash header, and everywhere else I have a link.
How do I go about this? I'm not sure if it's in my htaccess file, but here is a copy of what it currently reads"
-----------------------------[QUOTE]
Thank you so much!
Re: Chemo's Ultimate URL's
Okay, I "somewhat" got this to work by making the line in my htaccess file say
#RewriteBase /
But I REALLY need to make the index.php be included in the url so I dont have to go modify every single link in my flash header, and everywhere else I have a link.
How do I go about this? I'm not sure if it's in my htaccess file, but here is a copy of what it currently reads"
Quote:
##### NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:
Options +FollowSymLinks
RewriteEngine On
#RewriteBase /
rewritecond %{http_host} ^canemasters.net [nc]
rewriterule ^(.*)$ http://www.canemasters.net/$1 [r=301,nc]
rewritecond %{http_host} ^canemasters.com [nc]
rewriterule ^(.*)$ http://www.canemasters.com/$1 [r=301,nc]
# 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]
Thank you so much!
Re: Chemo's Ultimate URL's
The whole idea of this module is that it REMOVES the index.php and makes all links SEO! Why do you now want to put the index.php back in?????
Absolute
Re: Chemo's Ultimate URL's
Try adding something like
Code:
RewriteRule ^index\.php/(.*)/ index\.php?main_page={QUERY_STRING} [L]
to your htaccess file below # From Ultimate SEO URLs
This hasn't been tested.
Absolute
Re: Chemo's Ultimate URL's
Because, I'd have to redo every single link in my site, my flash header that uses the index.php.