|
Nov 21 |
comment |
Tricky URL rewrite with custom values in url Finally found the issue, it was the browser cache that kept redirecting to the url with query string. |
|
Nov 20 |
comment |
Tricky URL rewrite with custom values in url Quite strange, I changed theme to TwentyEleven and tried still the url changes from http://mysite.com/image/wpusername/001 to http://mysite.com/image/?iuser=wpusername&iname=001 (I did copied the custom template to TwentyEleven directory) |
|
Nov 20 |
comment |
Tricky URL rewrite with custom values in url When you check does the url remains same ?? |
|
Nov 20 |
comment |
Tricky URL rewrite with custom values in url yes image is the page with custom template set. |
|
Nov 20 |
comment |
Tricky URL rewrite with custom values in url There is similar question wordpress.stackexchange.com/questions/25241/… but couldn't see working answer in that as well. |
|
Nov 20 |
comment |
Tricky URL rewrite with custom values in url yes I did removed the rules from .htaccess, only default WordPress rules are there. Also flushed rewrites again. |
|
Nov 20 |
comment |
Tricky URL rewrite with custom values in url thanks a lot for answer. Your code works but the only issue is when I go to the url http://mysite.com/image/wpusername/001 it redirects to http://mysite.com/image?iuser=wpusername&iname=001. Instead I want the url SEO friendly and unchanged. (Note I changed pagename to image itself instead of custompage) |
|
Nov 20 |
comment |
Tricky URL rewrite with custom values in url @MarioPeshev thanks for comment. Looks like even if I use the template_include hook the url may not remain same. The Rewrite API is working but the url changes to http://mysite.com/custompage/?iuser=myuser&iname=001 instead i want it to remain http://mysite.com/custompage/myuser/001 |
|
Nov 20 |
comment |
Tricky URL rewrite with custom values in url @MarioPeshev tried Rewrite API but i guess i'm missing something. |
|
Nov 20 |
comment |
Tricky URL rewrite with custom values in url I tried adding $newrules['image/([^/]+)/?([0-9]{1,})/?$'] = 'index.php?post_type=page&p=564&iuser=$matches[1]&iname=$matches[2]'; to rewrite_rules_array using filter. But ends up getting Memory allocation error. |
|
Jun 23 |
comment |
W3 Total Cache active but not working (solved) Thanks. I did read that and switched back to Basic mode. |
|
Jun 16 |
comment |
How to use wp_nav_menu to create a select menu dropdown? Does the walker work?? It doesn't show dropdown box with default theme |
|
Jun 16 |
comment |
Custom nav menu not showing The walker menu doesn't seem to be working. I'm checking to find problem... |
|
Jun 6 |
comment |
Comment Author Name In Reply Form Can you give your blog url ?? |
|
Jun 6 |
comment |
Comment Author Name In Reply Form Added replacement function for cftf_javascript in answer based on your html. Check it out. |
|
Jun 6 |
comment |
Comment Author Name In Reply Form You dont have to put that in your code. I'm asking you to give yours. Just open any of the single page and in the html source you can find something similar to that. I want to have look at the element with the id #reply-title or the one you use. |
|
Jun 6 |
comment |
Comment Author Name In Reply Form Provide the HTML of the response title. eg <h3 id="reply-title">Leave a Reply <small><a rel="nofollow" id="cancel-comment-reply-link" href="/public/sosiale/?p=18#respond" style="display:none;">Cancel reply</a></small></h3> |
|
Jun 6 |
comment |
Comment Author Name In Reply Form Well "Unfortunately didn't work..." is different from "Unfortunately didn't work with my theme..." |
|
Jun 6 |
comment |
Comment Author Name In Reply Form Update #reply-title and #cancel-comment-reply-link based on your theme element ids. |
|
Jun 6 |
comment |
Comment Author Name In Reply Form So, you didn't read the answer properly. No wonder that it didn't work. |