http redirection

Posted on 2009-06-29
Last Modified: 2012-05-07

I want to redirect to by .htaccess.
( it can be too)

How do i do it ?
Question by:its_ns_04

Accepted Solution

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


Author Comment

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


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: (…
Internet Business Fax to Email Made Easy - With eFax Corporate (, 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