?
Solved

RewriteRule too broad

Posted on 2006-10-31
1
Medium Priority
?
291 Views
Last Modified: 2010-03-04
Hello,

I put this in my .htaccess file:

              RewriteEngine on
              RewriteRule ^admin manage
              RewriteRule ^edit manage

The problem is that
             edit.html
             editing

both are re-written.

I ONLY want the following to be rewrittien:
              admin
              admin/
              edit
              edit/

How?
Thanks!
0
Comment
Question by:hankknight
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 30

Accepted Solution

by:
callrs earned 2000 total points
ID: 17840813
Try
            RewriteRule ^admin/?$ manage
              RewriteRule ^edit/?$ manage

http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html   redirecting URLs with Apache’s mod_rewrite
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question