Sef Url for a shortcode plugin
-
Hi, sorry for my english.
I wrote a plugin and im using this plugin as a shortcode in a static page.
This plugin’s have a structure like that; lets think my static page’s url is domain.com/blabla/. so when the user enters that page, plugin is working. but this plugins have a php $_GET parameter.
if the user comes from domain.com/blabla/?type=testing, plugin will show something different. so i just want to do this domain.com/blabla/?type=testing url; domain.com/blabla/testing.
i didnt do that yet but probably if i add something like this to .htaccess it will work. RewriteRule ^blabla/(.*)$ blabla/?type=$1 [NC]So the problem is; i can change this .htaccess easly but i want to do this automaticaly when a person install that plugin, the person shouldnt deal with change .htaccess.
is there a way to do this for wordpress plugin.?
thank you
The topic ‘Sef Url for a shortcode plugin’ is closed to new replies.