Sorry, I must have misunderstood the instructions. I'll try that.
*Edit* That did it! Thanks!
Printable View
I have a new problem now.
Now that I have the URI in place, it is making my store visible, but when you go to my homepage, it is automatically taking you to my store, but I dont want that as my homepage.
I added the following:
RewriteCond %{REQUEST_URI} /main.* [NC]
That got my homepage back online, but then the URIs were broken.
Any idea how to fix that?
Hi,
If you don't want your home page to be the store then you must put your store in a subdirectory.
If you do that then use the rewrite rule for a store in a subdirectory instead of the one for stores which are in the root directory. You can find out more about this by reading the configuration documentation.
All the best..
Conor
ceon
I'm in the process of creating a localhost version of my online site for some updates. The online site is working fine, but my localhost installation is driving me batty!
I've installed XAMPP v1.7.1 on Windows 7, with the PHP files (save the configure.php's) and database contents copied over from the online version (1.38a base). The localhost store is installed in c:\xampp\store-1.38a and comes up (missing images as expected) if I disable Ceon URI Mappings via admin.
I've got an entry in the database to redirect the index page to /home. When I enable the URI mappings, and go to localhost/store-1.38a, I'm redirected to localhost/home instead of localhost/store-1.38a/home.
Here's a copy of the .htaccess file that's in c:\xampp\store-1.38a:
I've tried the RewriteRule without the /store-1.38a/ prefix with no change in results.Code:
# Point 404 & 300 errors to the website-specific page
ErrorDocument 404 /index.php?main_page=page_not_found
ErrorDocument 300 /index.php?main_page=page_not_found
# Don't show directory listings for URLs which map to a directory.
Options -Indexes
# Follow symbolic links in this directory.
Options +FollowSymLinks
#-------
RewriteEngine On
#
# Added for Ceon URI Mapping add-on
#
# Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/store-1.38a/admin.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/store-1.38a/editors.* [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) /store-1.38a/index.php?%{QUERY_STRING} [L]
There's obviously something that I'm misinterpreting.
There's magic that occurs from posting!
First off, to correct my previous post, my store is installed in c:\xampp\htdocs\store-1.38a. Anyhow, moving the .htaccess file to c:\xampp\htdocs has brought my store to life.
Hi,
Glad to hear that.. the less support I have to give the more time I have for development! :)
Well done on getting it sorted!
All the best..
Conor
ceon
Does anyone else get:
HTTP Error: 301
URLs not followed
When we tested a sample of URLs from your Sitemap, we found that some URLs redirect to other locations. We recommend that your Sitemap contain URLs that point to the final destination (the redirect target) instead of redirecting to another URL.
When they are submitting sitemap to google?
Or does anyone know what can be done please?
I installed the Ceon mapping software. Most of my categories
have the auto generated URL's and the EZ pages also have
the new URL's.
But when I go to the admin and try to upload a
product it switches to a dynamic URL. Any suggestions ?
How can I get page2 /page3 etc on the left bar to be static URL,s
You'll need to explain this since this mod only creates product URIs using the "auto generate" feature..
This is explained very well in the readme file that comes with this mod.. You might wanna take a read through it first...