Magento Forum

Problem with new website - URL adds a ‘/’ resulting with a 404 error
 
davidgrun
Sr. Member
 
Total Posts:  245
Joined:  2008-07-10
 

EDITED

I created a second website in a new directory ‘intl’

What I did was I followed the steps on this video tutorial http://video.google.com/videoplay?docid=-2478341786696713471&hl;=en

1)
When I go to www.my_domai.com/intl it works perfectly but if I click on any of the categories the URL becomes http://my_domain.com//intl/multimedia-judia resulting in a 404 error because it adds a ‘/’ before ‘intl’. But if you fix the URL in the address bar taking off the extra ‘/’ you see that the website is working.

I played with the intl/.htaccess on the line #120 but it did not fix the problem.

############################################
## you can put here your magento root folder
## path relative to web root

    RewriteBase /intl/

ANY IDEA HOW TO FIX THIS??

EDIT:

In System > Configuration > Web I setup the new websites URL incorrectly:

URL Base http://www.my_domain.com/
URL Base de Link {{unsecure_base_url}}/intl/

This should be:

URL Base http://www.my_domain.com/
URL Base de Link {{unsecure_base_url}}intl/

But Still having issues with this one:
2)
A new problem appeared afterwards - the original (first) website writes on every link ..//intl/… wheras it shouldn’t point to the new website… It seems to have to do with the cache since I am getting that problem in FireFox and not in IE. Even after deleting the cache.

I greatly appreciate your help!!
Thanks,
David

 
Magento Community Magento Community
Magento Community
Magento Community
 
malpayne
Jr. Member
 
Total Posts:  15
Joined:  2008-11-23
 

Did you ever find a solution for issue #2? I have the same problem.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top