mod rewrite - remove dynamic part of url .htaccess -


i need remove dynamic part of url:

example.com/pagename/?btag=a_233b_230c_&affid=201 

so remove after , including "?"

but don't want rule apply directory:

example.com/wp-content/?attr=1345 

is possible .htaccess?

thanks, appreciated jon

rewritecond %{request_uri} !^/wp-content

that might help:-d repeat other folders.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -