I’m creating som custom templates in WordPress and I’m passing some data in the URL’s.
Currently my URL looks like this:
http://www.mysite.com/designers/?id=43&name=designer+name
The URL contains designer ID and designer name.
I would really like to use this:
http://www.mysite.com/designers/designer+name/
My permalink structure is set to /%category%/%postname%/
My .htaccess file looks like this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
I’ve looked at http://codex.wordpress.org/Using_Permalinks, but not become any wiser.
I got two questions:
- Is there any point in changing the above URL regarding SEO
- How can I get the “pretty” URL?
UPDATE
I’m adding some more info for clarification.
- I’m developing the site myself
- The template is 100% custom template
- Based on info from $_GET, I load data from my custom DB table and display this on page
- My site has an avarage of between 3-400 unique visitors per day. At peak I have 2000 unique visitors per day.
- I’m developing an online fashion magazine
-
My URL is currently being created like this:
Url = get_permalink().'?bid='.$brand->id.'&name=".$brand->name;
-
I”ve used similar method here:
http://storelocator.no/search/?brandID=4673&storeID=0&brand=Moods+of+Norway
Using Custom Post Type was an option I considered, but I needed my own table structurem because designers / brands are linked up against galleries (and more links to other tables to come). So saving brands data in WP POST table was not going to work.
So I need to know this:
- What do I need to do with my Permalink structure?
- What do I need to do with my .htaccess file?