473,473 Members | 2,134 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Rewrite Url Issue / Clean URL

Hi,

Can anybody help me to rewrite the url.
http://www.sitename.com/showuser.php?username=myname

and i need this clean url
http://www.sitename.com/myname.php

Thanks.

Aug 11 '07 #1
3 1785
On Aug 11, 2:31 pm, kanwal <way2kan...@gmail.comwrote:
Hi,

Can anybody help me to rewrite the url.http://www.sitename.com/showuser.php?username=myname

and i need this clean urlhttp://www.sitename.com/myname.php

Thanks.
rewrite in PHP or for apache mod_rewrite?

Aug 11 '07 #2
On Aug 11, 11:39 am, ELINTPimp <smsi...@gmail.comwrote:
On Aug 11, 2:31 pm, kanwal <way2kan...@gmail.comwrote:
Hi,
Can anybody help me to rewrite the url.http://www.sitename.com/showuser.php?username=myname
and i need this clean urlhttp://www.sitename.com/myname.php
Thanks.

rewrite in PHP or for apache mod_rewrite?
I write this but not working:

RewriteRule ^([a-zA-Z0-9_-]+).htm$ showuser.php?username=$1

Aug 11 '07 #3
kanwal wrote:
On Aug 11, 11:39 am, ELINTPimp <smsi...@gmail.comwrote:
>On Aug 11, 2:31 pm, kanwal <way2kan...@gmail.comwrote:
>>Hi,
Can anybody help me to rewrite the url.http://www.sitename.com/showuser.php?username=myname
and i need this clean urlhttp://www.sitename.com/myname.php
Thanks.
rewrite in PHP or for apache mod_rewrite?

I write this but not working:

RewriteRule ^([a-zA-Z0-9_-]+).htm$ showuser.php?username=$1
This isn't PHP. Try alt.apache.configuration.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Aug 11 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: HALLES | last post by:
HELLO ! I seek to use a form too fill a file without putting a server on my computer. I am no C# programmer, i can do some things in Javascript but IT CAN T WRITE REWRITE APPEND A FILE ON LOCAL...
188
by: christopher diggins | last post by:
I have posted a C# critique at http://www.heron-language.com/c-sharp-critique.html. To summarize I bring up the following issues : - unsafe code - attributes - garbage collection -...
7
by: Stan Canepa | last post by:
I am looking for good documentation to help support rewriting a VB 6 app in Dot Net. I looking for things like VB 6 being unsupported in March 2008, general performance improvements, at what point...
1
by: darrel | last post by:
We're using ISAPI rewrite to turn this: /district/2 into this actual URL /default.aspx?siteID=2 Up to this point, things have been working perfectly, but we've never had to do a...
4
by: mainargv | last post by:
hi How do you rewrite codes with " ... va_list va_start va_etc", so that simple c compiler don't have to deal with them. I have written a simple c->verilog compiler but it can't deal with...
1
by: soniamuk | last post by:
i am facing a typical issue with apache where i have a filter context(written in c++) which pulls information from apache server. in this process when i am trying to fetch an url where rewrite rule...
4
by: Iaml | last post by:
We have a lot of legacy pages written in HTML or classic ASP. A lot of our web users bookmarked these pages. Now we will rewrite these HTML or classic ASP pages in ASP.NET 2.0 or 3.5. I am...
3
by: Joe | last post by:
Hello, I currently have a file system where images and assets are stored in a directory like this: http://www.domain.com/assets/media/CLIENT_NAME/uploads/CLIENT_DIR/CLIENT_FILES Which holds...
3
by: aag | last post by:
Hey there! I've got an URL rewrite issue that I'm wondering if the masters out there can help with :) I have a site that resides at (for example) foo.com - it's a full site with tons of pages...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.