htaccess forwarding

htaccess forwarding

Postby Dutch78 » Fri May 13, 2011 12:04 pm

there is a bug in the script that causes to show no images for certain products on the homepage.

It does work properly in a category so i want to use the htaccess file to forward the homepage to a category but no matter what i try i can't seem to get it working, any ideas?

so i need it to redirect from domain.com to domain.com/subcat

i would also need to change the location of the home button, any idea where that is located in the scripts?
Dutch78

 
Posts: 56
Joined: Fri Jun 11, 2010 9:34 am

Re: htaccess forwarding

Postby soulgeek » Tue May 17, 2011 7:30 am

Dutch,

1) You must be placing the redirect Rule somewhere wrong place in .htaccess. Am sure. Try to place it on diff positions and test.

2) Home button, are you refering the one in Breacrump? If so, just look for breadcrum code in search.php category.php so on, in that take the Ouput of that object in a PHP Variable, then STR_REPLACE the home page URL to wahtever Category you want it ot link to.

Am right now at work, so i ahev no acces to my Backend, else i could have coded something for you.

Cheers
Ankur
soulgeek

 
Posts: 35
Joined: Tue Feb 15, 2011 4:45 am

Re: htaccess forwarding

Postby Dutch78 » Sun May 22, 2011 5:19 pm

Hi soulgeek,

thanx for the help, i've got the htaccess working now but the home button is still a problem. I mean the button to the top left corner, i use the shopping theme, any idea where and how you can adjust the code for that?

btw, the link in your signature isn't working, i think you forgot the .com part ;)
Dutch78

 
Posts: 56
Joined: Fri Jun 11, 2010 9:34 am


Return to Help & Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron