#1 (permalink)  
Old 12-10-2011, 03:39 PM
Jim Poor's Avatar
Class Curmudgeon
 
Join Date: Nov 2008
Location: Northern VA
Posts: 3,501
Default Website question

Anyone know how to direct visitors to my site to the home page, regardless of what URL they type for another part of the site?

For the holiday period, I want folks to go to my main page rather directly into the shopping cart system so that they'll see my holiday closing schedule.
__________________
Best,
Jim
Facebook
Visit my website
Reply With Quote
  #2 (permalink)  
Old 12-10-2011, 04:01 PM
Rentham's Avatar
Everything is permissible
 
Join Date: Feb 2011
Location: Cleveland, Ohio
Posts: 838
Default

Jim, hijacking the url is possible but it essentially breaks your site for users. If you're set on doing it that way you can google ".htaccess 301 redirect". It might be worth investigating a minimally intrusive CSS or ********** solution that gives a small pop up notification ala B&H during their closing schedules.

Edit: Wow, okay... the initials to the banned word are JS.
__________________
Mike Evers
Rentham Creative | Twitter | Facebook
Reply With Quote
  #3 (permalink)  
Old 12-10-2011, 04:19 PM
Jim Poor's Avatar
Class Curmudgeon
 
Join Date: Nov 2008
Location: Northern VA
Posts: 3,501
Default

Thanks. I had a holiday pop-up last year with a cookie so folks only saw it once every three days if they visited frequently.

Can't find the code for it now

I'd like this to be what folks see when they first hit the site, with an option to continue on.

__________________
Best,
Jim
Facebook
Visit my website
Reply With Quote
  #4 (permalink)  
Old 12-10-2011, 05:05 PM
Jim Poor's Avatar
Class Curmudgeon
 
Join Date: Nov 2008
Location: Northern VA
Posts: 3,501
Default

I managed to get the script running with text and a cookie.

Not having much luck getting an image in it though.

This is what it looks like so far Jim Poor Photography
__________________
Best,
Jim
Facebook
Visit my website
Reply With Quote
  #5 (permalink)  
Old 12-10-2011, 06:04 PM
SwissJon's Avatar
Enjoys shooting people.
 
Join Date: Oct 2010
Location: Switzerland
Posts: 4,511
Default

I'm not a big programmer, but you should be able to do a Jscript redirect or create a popup using jQuery. Stick a cookie on the users machine. If the cookie doesn't exist, they get the redirect or pop-up, if it does, they don't.
__________________
A photo needs to start and finish in your imagination, if it passes through your camera in between, that's cool, if it doesn't, that's cool also.
Flickriver Portfolio 500px Flickr NSFW
Reply With Quote
  #6 (permalink)  
Old 12-10-2011, 07:19 PM
I'm new here!
 
Join Date: Dec 2011
Location: Northern MN
Posts: 42
Default

Instead of the close button could you edit the script to link to the homepage instead? It could say "Continue" or something to that effect and when clicked it would take them to the home page where you want your holiday splash page to be displayed. Alternatively you could make your splash page an image and simply embed that in your popup script which they could just close out.

While I get what you are trying to do, just be warned that users generally dislike being re-directed and pop-ups are often blocked anyways.

On another note, does your cart allow for CSS styling? While its not a big deal, it would look more professional if your cart matched your main site as far as layout goes and this could easily be remedied if it allows for some editing or even wrapping some HTML into the header and footer of the template used.
Reply With Quote
  #7 (permalink)  
Old 12-10-2011, 07:23 PM
Jim Poor's Avatar
Class Curmudgeon
 
Join Date: Nov 2008
Location: Northern VA
Posts: 3,501
Default

Quote:
Originally Posted by KristineMN View Post
Instead of the close button could you edit the script to link to the homepage instead? It could say "Continue" or something to that effect and when clicked it would take them to the home page where you want your holiday splash page to be displayed. Alternatively you could make your splash page an image and simply embed that in your popup script which they could just close out.
It is an image, but I can't get it to work with the pop up alert script.

Quote:
While I get what you are trying to do, just be warned that users generally dislike being re-directed and pop-ups are often blocked anyways.
Yes, but the dislike even more when they pay for express, 5-day shipping on the 21st of December when I'm closed until the 9th of January. Gotta get the message out somehow.

Quote:
On another note, does your cart allow for CSS styling? While its not a big deal, it would look more professional if your cart matched your main site as far as layout goes and this could easily be remedied if it allows for some editing or even wrapping some HTML into the header and footer of the template used.
Yes, it does. And it currently does match the dog sport side of things. Not so much the CIA side. Something for next year.
__________________
Best,
Jim
Facebook
Visit my website
Reply With Quote
  #8 (permalink)  
Old 12-10-2011, 07:34 PM
Bruce A's Avatar
Nah, just kidding!
 
Join Date: Mar 2011
Location: Gold Coast Qld Australia
Posts: 3,187
Default

How about something like this:

Web Page Design | Website Design | Website Designing | Web Site Design | Web Site Designing | Web Page Development | Web Development
__________________
Nikon D700, MB-D10 grip, Nikon AF-s 16-35 f/4 VRll, Nikon AF-s 28-70mm f/2.8D ED, Nikon AF 80-200 f/2.8D ED, Nikon AF-s Micro 105 f/2.8 G ED VR.
My flickr
My500px
banphotography.com
Reply With Quote
  #9 (permalink)  
Old 12-10-2011, 07:37 PM
I'm new here!
 
Join Date: Dec 2011
Location: Northern MN
Posts: 42
Default

Quote:
Originally Posted by Jim Poor View Post
It is an image, but I can't get it to work with the pop up alert script.



Yes, but the dislike even more when they pay for express, 5-day shipping on the 21st of December when I'm closed until the 9th of January. Gotta get the message out somehow.



Yes, it does. And it currently does match the dog sport side of things. Not so much the CIA side. Something for next year.
I understand. I think your workaround that you have currently in place is a reasonable solution. I was a web designer for years (yes, even went to school for web and graphic design) so its hard for me to refrain from web site critique sometimes, lol.
Reply With Quote
  #10 (permalink)  
Old 12-10-2011, 07:41 PM
Jim Poor's Avatar
Class Curmudgeon
 
Join Date: Nov 2008
Location: Northern VA
Posts: 3,501
Default


Thanks. Some pretty nice options there if I can figure out how to add the image to them.



Grrrrrr. Just noticed I botched the date on the image!
__________________
Best,
Jim
Facebook
Visit my website
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off



Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

What’s Your Preference?

Daily Digest

Each day we send out a quick email to thousands of DPS readers to notify them of updates. This email is just short excerpt of the first few lines of our latest post with a link if you want to read it all. You can unsubscribe from this this service at any time.

This service is provided by a third party (Feedburner) and you can subscribe to it by leaving your email address in the following field and confirming your subscription when you get an email asking you to do so.

Enter your email address for
Daily Updates:

Weekly Summary

For those wanting a weekly summary of what happens on this site this free email newsletter is probably your best option. It includes a summary of the tips posted to the site each week. This newsletter is subscribed to by over 25000 readers (many who also subscribe to the other options above) - come join the community!

To subscribe to this weekly newsletter simply add your email address to the following field and then follow the confirmation prompts. You will be able to unsubscribe at any time.

Enter your email address for
Free Weekly Newsletter:

 
SEO by vBSEO 3.3.0