View Single Post
  #2  
Old 06-19-2014, 02:41 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: DIFFERENT page per skin?

In case I am searching for this in the future...
Should I be editing

/skin/common_files/customer/home_main.tpl

?

I think so... but I need to figure out the logic.

I REALLY WANT to include a 301 redirect in htaccess to force all stray links for /help.php?section=contactus to 301 to /contact_us.html, EXCEPT if the customer is viewing the mobile skin (if using a smartphone), the page load needs to be /help.php?section=contactus

But the htaccess 301 will trump anything we do in home_main.tpl

Hmmm....

THE LOGIC needs to be:

1. IF mobile skin, the contact_us page must be default, /help.php?section=contactus
2. IF NOT mobile skin, the contact_us page is simply /contact_us.html

Any suggestions now?
Thanks!
J
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote