By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,645 Members | 1,065 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,645 IT Pros & Developers. It's quick & easy.

question regarding .htaccess

P: 17
Hi All I am not sure the right forum for this question regarding .htaccess but in the past I got too much help from this forum.Anyhow my probolem is as follows.

I am using .htaccess to redirect pages on a given url.
Is it possible whatever I pass in a url as a parameter that does not appear in the browser. For example my url is as follows:
www.example.com/index/command/message/1
www.example.com/index/command/message/2
www.example.com/index/command/message/3
whatever may be the url I want browser to display the following url
www.example.com/myUrl
but I need the value of message like 1,2,3 etc. But dont want browser to show what value is passed.
How can I achieve this. Thanks in Advance
sorry for my bad english If I have not been able to explain.
Jun 18 '07 #1
Share this Question
Share on Google+
4 Replies


ak1dnar
Expert 100+
P: 1,584
Hi All I am not sure the right forum for this question regarding .htaccess but in the past I got too much help from this forum.Anyhow my probolem is as follows.

I am using .htaccess to redirect pages on a given url.
Is it possible whatever I pass in a url as a parameter that does not appear in the browser. For example my url is as follows:
www.example.com/index/command/message/1
www.example.com/index/command/message/2
www.example.com/index/command/message/3
whatever may be the url I want browser to display the following url
www.example.com/myUrl
but I need the value of message like 1,2,3 etc. But dont want browser to show what value is passed.
How can I achieve this. Thanks in Advance
sorry for my bad english If I have not been able to explain.
Refer to
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html

-Ajaxrand
Jun 18 '07 #2

P: 17
Thank you very much for your quick reply. I see this url and take hlep..


Refer to
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html

-Ajaxrand
Jun 18 '07 #3

P: 17
I have read this page but I am very new to .htaccess so I could not take any help. Its a bit complex for me. Can u provide me anyother material that can help ......... thanks in advance.
Jun 18 '07 #4

pbmods
Expert 5K+
P: 5,821
Moved to the Apache forum.
Jun 18 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.