The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
79 views

How to pass a message using template_redirect

I'm using the following function to redirect a post to another using custom field. It's working just fine until I added the line#8 to pass an ID so that I can grab it in to the post (to where was ...
0
votes
1answer
165 views

Custom template redirect based on url vars

I am using a custom URL on my menu to show the most viewed posts by passing the variables to the url as http://website.com/?v_sortby=views&v_orderby=desc However I want to use a custom template ...
-1
votes
1answer
141 views

redirect not logged in users to specific page and redirect them back where they come from

The problem is not the first redirection (already solved in other case here), the problem is the second redirection back. No problem with the first redirection, when no logged in user come to page ID ...
1
vote
0answers
40 views

How do I determine what is causing a redirect for a given page?

This is probably a face palm question. On Wordpress 4.4. the link http://example.com/blog ...redirects to: http://example.com/category/general ...ie. it's redirecting to archive.php and ...
1
vote
0answers
29 views

Why does my URL rewriting only work using two different methods?

For our website, I've built out some "pages" using URL rewriting, with some code that I found here. It worked to have two of these special pages, but it's not working when I try to add a third. I've ...
0
votes
0answers
32 views

How to identifty post from its URL in 404 page?

Why GUID is such unstable? Some of the post's GUID are pretty permalinked, but most of them are default. I's using Pippin's function to get the post_id from its GUID, but it's not working if my site ...
0
votes
0answers
115 views

template_redirect and title

I pass a template_redirect in wordpress as hook but I want to have a personnalized title for this page and I miss to do that. Has someone any idea ? add_action( 'template_redirect', 'virtual_pages' );...
0
votes
0answers
180 views

template_redirect called twice

I am working of a simple redirect plugin that match the given slug and redirect to the assigned url, which i supposed to working fine. But recently i am adding the functionality to update the stat ...
0
votes
0answers
85 views

How can run the multiple website sites or domains into single wordpress intallation

I want to run multiple sites into wordpress 3.8.1, when the user access my website the url and language of my website is auto change to its country by it's ip address of user and website will also be ...
0
votes
0answers
340 views

Adding a query var to taxonomy term archive - gets redirected to the other taxonomy archive page

I want to pass another query var in the URL through a form while I'm on a taxonomy archive page. The URL would look like so http://www.mydomain.com/tax_1/term_55/?&tax_1=term_1&tax_2=term2&...