Web Hosting Forum - Hosting Reviews, Web Hosting Discussion ForumCalendarContact Us

Welcome to the Web Hosting Forum - Hosting Reviews, Web Hosting Discussion Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content etc.

By registering you have access to many other special features, Like personal blogs, your own personal forum, extended profiles, posting of your resume, free links, photo galleries, auctions etc. We are Web 2.0 Compliant .

We also reward our posters and referals with free hosting, domains, prizes etc. Even earn points for reading posts. We offer contests, and events that are sure to please anyone in the hosting industry, web developer or SEO at heart.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   Web Hosting Forum - Hosting Reviews, Web Hosting Discussion Forum > Web Hosting Forums > Web Hosting Security > Apache Issues

Apache Issues For the discussion of apache issues and others revolving around it.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 01-16-2010, 12:05 AM
UrKo
 
Posts: n/a
Incorrect Rewrites

All my rewrites are working except the index rules. They are as
follows can any one help??

RewriteCond %{THE_REQUEST} ^GET\ .*/index\.(php|html?)\ HTTP
RewriteRule ^(.*)index\.(php|html?)$ $1 [R=301,L]

When i'm at a department, category or on a product page the index link
reverts to the wrong place. instead of redirecting to www.domain.co.uk
it goes to www.domain.co.uk/department/index.php which does not take
the user back to the main home page.

Happy new year and hope everyone is having fun.

Steve
Reply With Quote
  #2 (permalink)  
Old 01-22-2010, 03:38 PM
Junior Member
 
Join Date: Apr 2008
Posts: 8
Rep Power: 0
Hostechsupport is on a distinguished road
Lightbulb Re: Incorrect Rewrites

Hello,

Please try the rule
RewriteCond %{HTTP_REFERER} !^http://(www\.)?domain.co.uk/.*$ [NC]
__________________
Need Realiable Support?.......HosTechSupport.com
Need Quality Service ? ......... Think About US ......... !
● ■yahoo : hostechs MSN : hostechsupport@hotmail.comAOL: htsupport
Offering 24x7 and 365 days Outsourced Support Solutions for all major control panels/os's
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

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

Points Per Thread View:
Points Per Thread:
Points Per Reply:

Similar Threads
Thread Thread Starter Forum Replies Last Post
DW CS3 rewrites and destroys characters eflaten Macromedia Dreamweaver 0 07-23-2008 12:27 PM
DW rewrites characters eflaten Macromedia Dreamweaver 0 10-14-2007 04:45 AM
DW rewrites UTF-8 characters wrong eflaten Macromedia Dreamweaver 0 10-14-2007 04:22 AM
When to use URL rewrites ? JC Search Engine Optimization 9 01-23-2007 11:13 AM
AT&T rewrites rules: Your data isn't yours PA Bear Security 3 01-05-2007 09:08 AM


All times are GMT -5. The time now is 08:47 PM.


International Visitors Translate Hostingforum.ca here

Dedicated Hosting


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 Copyright 2008 Net Industries, LLC.