Solved

http redirection

Posted on 2009-06-29
2
160 Views
Last Modified: 2012-05-07
Hi,

I want to redirect www.myurl.com/abc to www.myurl.com/index.php?name=abc by .htaccess.
( it can be www.myurl.com/jkfl too)

How do i do it ?
0
Comment
Question by:its_ns_04
2 Comments
 
LVL 7

Accepted Solution

by:
rcflyr earned 500 total points
ID: 24740289
The following accepts and characters 0-9 a-z or _ and redirects it to index.php?name=<name here>
RewriteEngine on

RewriteRule ^([0-9a-z_]+)$ /index.php?name=$1

Open in new window

0
 
LVL 1

Author Comment

by:its_ns_04
ID: 24756763
No it didn't work after I create a .htaccess file with the above contents.

0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DNS Question 7 62
PHP temp path missing 4 49
Problem to get function 52 100
Missing Apache mod_DBD packages in Centos 7 2 66
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

896 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now