Magento - clicking on parent category returns a 403 error - magento

I have a problem with my Magento 1.5.0.1 installation.
Clicking on subcategories works fine and will send me to the proper URL and display products. When I click on a parent category however, I get a 403 forbidden error.
Does anyone know what the problem is?

There are a few reasons that a category link would 403.
My first guess would be that there is a directory in the web root with the same name as the category and you have URL suffixes disabled.
For example giving a top level category the URL key of 'media' while URL suffixes are disables will usually result in a 403.
Another possibility would be if you are using Apache and have mod_security enabled and the category name contains a work that mod_security doesn't like (e.g. select, insert & delete).

Related

Url Not Display Category Name

When i navigate products, at status bar my url not display category name.
For My knowledge it's mostly the problem with reindexing. once you complete the reindexing to Ready mode , this problem may solve , including catalog url rewrites also should be in Ready mode.

How to get the admin login page in magento if it is showing 404 Error page not Found?

I am doing a project in Magento.I have uploaded the project onto the server, the front end design of the project is showing correctly but when the admin login page is retrieved, its showing 404 error page not found.I have tried many solutions shown in the links below:
Magento 404 on Admin Page
But still it is not working.Can anyone suggest a solution for this?
I had a similar issue. After moving from one server to another admin showing 404. Problem was in configuration. In System->Configuration->Web->Secure->Use Secure URLs in Admin was set to "Yes", but https wasn't configured.
I'm in table core_config_data found row with path "web/secure/use_in_adminhtml" and set "value" = 0.
The problem is not widespread, but you can check this. Hope this helps

Magento attribute url not found error 404 /l/ page filter

everyone
I have a problem about attribute url filter page can not found. It show error 404 and there are /l/ on url.
according to this this page. http://www.siameyewear.com/brands.html
At the backend. I have enable Is Anchor to yes. and check Use All Available Attributes. To show attribute Product Listing Sort By bra bra bra.
At this page. http://www.siameyewear.com/brands.html
On your left hand side. You will see Product Listing Sort By. Which is create by magento attribute.
But my problem is. When I'm click on a link. What ever link under a word "Shop By" It's will show error 404 page can't be found.
For example. When i'm click on a Rayban Link under a word "Shop By" It's will show a error 404 and url will look like this http://www.siameyewear.com/brands/l/rayban.html
I don't know where the /l/ came from. I have try to remove /l/ by myself. It's still not show a correct page.
Anyone know how to fix this problem. Kindly please help.
Thank you so much
Problem solved. Just remove some stupid seo enterpr...

Magento migration from single store to multistore. Redirects

I have 1 website for now. Its URL is www.test.com, for example.
I want to create second website on the same domain adding store codes to URLs. So my URLs will be
www.test.com/first/
www.test.com/second/
But as I can see all my previous URLs will show 404 on their open. So if I open
www.test.com/product.html
it will show 404. It is not good because I loose my SEO.
How can I create redirects so if user opens
www.test.com/product.html
he will be automatically redirected to default website, like
www.test.com/first/product.html
Shall I have any issues with such redirects? (Like API will not work)
Or is it possible for URL
www.test.com/product.html
to show product from default website, if exists?
Magento has a very good system for SEO.
For Rewrite Management these are the steps:
1.Loginto Admin.
2.Move mouse over Catalog and you will find a drop down.
3 Select URL Rewrite management.
Catalog >> UrlRewrite Management
4.Then click on ADD URL Rewrite Button.
5.Then on next screen select custom from option provided
Create URL Rewrite : Select Custom
Now following important fields and values that should go:
Request Path (Old URL ) Target Path ( New URL ) redirect (Permanent 301).
Note : This approach will be good if you have few products but if you have too many product then some .htaccess rule is recommended.

Magento category URL redirecting to other product url

I have a category whose URL key is toys, which was accidentally also the URL key for a product. Therefore everytime I visited toys.html, It was redirected to the product page and not the category one.
Now, I have changed the product URL to something else, but still the category page redirects to the product page only. Please tell me how to solve this issue.
This is the category LINK
UPDATE :- When i renamed the toys category to toys-arena, it started working. So I have renamed the URL using toys-arena.html
Go into the magento admin area, Catalog -> URL Rewrites
you can then search for you product or category url, and edit or delete them. you can delete any old reqrites you no longer want to use.

Resources