/    Sign up×
Community /Pin to ProfileBookmark

.htaccess hide question mark

hi webdeveloper users,
i have problem with my .htaccess code

in site i have link
<a href=”norma/something1/something2/something3″>LINK</a>

in .htaccess i have

[CODE]RewriteEngine On
RewriteBase /
RewriteRule ^/?index.php / [R=301,L]

RewriteRule ^norma/([^/]+)/([^/]+)/([d.]+) /index.php?norma-$1-$2-$3.html [NC,L][/CODE]

I have problem with quetion mark (“?”).
I am need link look like [url]http://eshop.mydomain.com/norma-something1-something2-something3.html[/url]

But my link look like now
[url]http://eshop.mydomain.com/[/url][B]?[/B]norma-something1-something2-something3.html

So please for help.
Thank you in advance.
ps. sorry for my bad english

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@donatelloAug 08.2012 — What you are seeking are QSA - Query String Appends

http://wiki.apache.org/httpd/RewriteQueryString

[code=html]RewriteEngine On
RewriteRule ^/page /page?
[/code]
Copy linkTweet thisAlerts:
@Mouse7777777authorAug 09.2012 — I know, what make QSA.

Can you please tell me, how i can change htacces code for this situation ?

I am need send /norma/something1/something2/something3 in link (<a href="/norma/something1/something2/something3">LINK</a>)

And what i must make, if i need url http://eshop.mydomain.com/norma-some...ng2-something3

Thank you in advance.
×

Success!

Help @Mouse7777777 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.24,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...