My first category links to my home page??

I am just starting to set up categories and products in my demo folder location.



Wind Meters is a category I just set up. And then I put one product in this category called Caldwell Wind Wizard and Kestrel 3500 Wind Meter



Here is my cart index page.

[url]http://www.longrangehunting.com/ezcartfiles/index.php[/url]



Here is what you go to when you click on the Wind Meters category.

[url]http://www.longrangehunting.com/ezcartfiles/wind-meters/[/url]



That page is actually the HOME page of my entire site. Why does it go there?



If it is related, in the admin when setting up or editing the Wind Meters category, the only LOCATION choice given is ROOT.



The “preview” offered in the admin shows this:

[url]http://www.longrangehunting.com/ezcartfiles/index.php?dispatch=categories.view&category_id=1[/url]

Just to take a guess, it might be because of your .htaccess file. Your .htaccess in your root probably looks like:


```php DirectoryIndex index.html index.php





RewriteEngine on

Some hostings require RewriteBase to be uncommented

Example:

Your store url is http://www.yourcompany.com/store/cart

So “RewriteBase” should be:

RewriteBase /store/cart

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !.(png|gif|ico|swf|jpe?g|js|css)$

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . index.php?sef_rewrite=1 [L,QSA]



RewriteCond %{REQUEST_FILENAME} ./catalog/.

RewriteCond %{REQUEST_FILENAME} -d

RewriteCond %{REQUEST_FILENAME}/index.html !-f

RewriteRule . index.php?sef_rewrite=1 [L,QSA]



```



It think you would need to change it to:


```php DirectoryIndex index.html index.php





RewriteEngine on

Some hostings require RewriteBase to be uncommented

Example:

Your store url is http://www.yourcompany.com/store/cart

So “RewriteBase” should be:

RewriteBase /store/cart

RewriteBase /ezcartfiles/

RewriteCond %{REQUEST_FILENAME} !.(png|gif|ico|swf|jpe?g|js|css)$

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . index.php?sef_rewrite=1 [L,QSA]



RewriteCond %{REQUEST_FILENAME} ./catalog/.

RewriteCond %{REQUEST_FILENAME} -d

RewriteCond %{REQUEST_FILENAME}/index.html !-f

RewriteRule . index.php?sef_rewrite=1 [L,QSA]



```



You can see the only thing I changed was:


RewriteBase /ezcartfiles/



The only thing I’m not sure about is the trailing


/



I don’t really mess with my .htaccess much so I could be wrong.



I hope it helps anyways,



Brandon

BINGO…Brilliant.



Thanks, Brandon



You answered so quickly you must just be waiting at your computer for me to need your help…:wink:

Len,



It’s called procastination.



I was supposed to be out replacing a door on my shed, but because it was all rainy and cold I procrastinated by responding to you.



Actually I’m right in the middle of the job now and thought I’d eat some lunch and now I’m procrastinating again.



Oh well. There’s nothing wrong with a 6 ft hole in the side of a building while it’s raining right?



Brandon