| Author |
|
silverfly Newbie

Joined: 06 August 2008
Online Status: Offline Posts: 4
|
| Posted: 06 August 2008 at 5:33pm | IP Logged
|
|
|
Hello, I just installed the software and I've tested multiple rules (admittedly not knowing what they mean) and I can't seem to get any result no matter what my .htaccess file has in it.
Any help would be greatly appreciated.
Thanks.
|
| Back to Top |
|
| |
Anton Moderator Group

Joined: 30 January 2007 Location: Ukraine
Online Status: Offline Posts: 4837
|
| Posted: 07 August 2008 at 5:00am | IP Logged
|
|
|
Please explain what would you like to achieve, provide examples of initial and rewritten urls. Also tell what errors do you get.
__________________ Regards,
Anton
|
| Back to Top |
|
| |
silverfly Newbie

Joined: 06 August 2008
Online Status: Offline Posts: 4
|
| Posted: 07 August 2008 at 10:21am | IP Logged
|
|
|
Hi Anton, Ultimately, I'd like to be able to redirect any visitor to a different URL than they initially type in.
We have recently recoded and restructured the file names of our website. So, one example is the about page used to be found at:
www.website.com/about/index.html
But now it is www.website.com/2-0_about.cfm
So, ultimately I need something that will redirect these files.
I am currently not getting any output or results when I try any rule. I get no errors or anything.
-Nick
|
| Back to Top |
|
| |
Anton Moderator Group

Joined: 30 January 2007 Location: Ukraine
Online Status: Offline Posts: 4837
|
| Posted: 08 August 2008 at 3:25am | IP Logged
|
|
|
Please try to put the following config into the .htaccess in the root of your site:
RewriteBase / RewriteRule ^about/index\.html$ 2-0_about.cfm [NC,R=301,L]
__________________ Regards,
Anton
|
| Back to Top |
|
| |
silverfly Newbie

Joined: 06 August 2008
Online Status: Offline Posts: 4
|
| Posted: 08 August 2008 at 12:09pm | IP Logged
|
|
|
Nothing happened.
To make things a little easier, I tried working with my website: www.silverflydesign.com
I am trying a test:
Redirect anyone who clicks on www.silverflydesign.com/lemonade.html back to the home page (www.silverflydesign.com/index.cfm)
I have tried this:
RewriteBase / RewriteRule ^lemonade\.html$ index.cfm [NC,R=301,L]
But still nothing.
If I can get this working, I believe I can make some headway on my own from there.
Thanks again.
|
| Back to Top |
|
| |
Anton Moderator Group

Joined: 30 January 2007 Location: Ukraine
Online Status: Offline Posts: 4837
|
| Posted: 11 August 2008 at 3:22am | IP Logged
|
|
|
Please make sure ISAPI_Rewrite3 filter is up and running in IIS - Web Sites properties - ISAPI filters. Also please check permissions as per http://www.helicontech.com/isapi_rewrite/doc/security.htm And please tell where do you put your rules.
__________________ Regards,
Anton
|
| Back to Top |
|
| |
silverfly Newbie

Joined: 06 August 2008
Online Status: Offline Posts: 4
|
| Posted: 11 August 2008 at 12:20pm | IP Logged
|
|
|
It seems to be working when applied to all of our websites. If the rewrite rules are in the root folder of IIS, it works. We run into problems when applied to specific sites. We have had some luck with a couple rules by reading more articles and tweaking the code, but we're going to pass the problem onto our tech guy and see if he can get it working.
There could be issues with having a collocated server with multiple websites or something. I'm not sure, but go ahead and close this as almost resolved. 
|
| Back to Top |
|
| |