If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / how to redirect with "www" in address?

how to redirect with "www" in address?

Locked

Started by dinosoup on 10 Oct 2007, 12:42 AM · Views: 1,593

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
10 Oct 2007, 12:42 AM
#1
dinosoup avatar

dinosoup

New Zenner

Join Date:
May 2007
Posts:
17
Plugin Contributions:
0

how to redirect with "www" in address?

For the CSS hover menu, if I just enter the address without 'www' in IE6, it doesn't work, the error says the csshover.htc is access denied. Only with the 'www' it will work.

So can you do a redirect in PHP with the 'www' included? Thanks

10 Oct 2007, 2:59 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: how to redirect with "www" in address?

You can do it using some rewrite rules in your .htaccess file.
The support thread for the CSS Flyout menu has a discussion about that specific issue. I think someone had included something about that in the readme at one point as well.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

10 Oct 2007, 4:13 AM
#3
dinosoup avatar

dinosoup

New Zenner

Join Date:
May 2007
Posts:
17
Plugin Contributions:
0

Re: how to redirect with "www" in address?

Thank you DrByte. Problem solved.:smile: