The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
37 views

Pages throwing 404 error on server load

I have a really strange problem. I have to fix a strange bug in a wordpress installation that is related to the server load. When the site receive more than 5 parallel request some pages starts to ...
0
votes
1answer
184 views

How does routing on wordpress work?

How does the core wp routing works? I am having a hard time understanding... In MVC, your url looks like mycontroller/myaction that maps to MyController->myaction() In drupal, it's ...
1
vote
0answers
92 views

Static raw HTML page

On the server there is a static HTML page example.html in my root folder of the WordPress install. Now when a user types www.example.com/example.html I want WordPress to be smart and bypass all normal ...
0
votes
1answer
80 views

How to add a route?

I'm writing a wordpress plugin. I want to add a route to frontend, for example mysite.com/myroute/ that runs a php file( located in wp-content/plugin/myplugin/my_route_handler.php). I need to load ...
0
votes
1answer
82 views

WP custom routing does not work

I am trying to get custom rounting on WP without any plugins. I have a bunch of links looks like this: http://example.com/u/UserNickname11 I've created a page with slug = "userinfo" and added such ...
0
votes
1answer
52 views

Route to custom file

I would like to create a custom file inside an existing WordPress theme. But I'm not sure how to route to it, and tell WordPress that the route named www.mysite.com/custom should redirect to the ...
0
votes
0answers
110 views

How to make a custom route with any-string-part/number-part pointing to an existing page?

I've got a page with my own widget inside of it which needs some params from the url to produce dynamic db results - don't worry everything is sanitized well and I only let this part out to keep this ...
0
votes
0answers
76 views

Run A Pre-Built Core PHP Application Under A WordPress Page or Post Route

I have a complete application built in Core PHP and a WordPress site which has stable traffic every month, I need to get this new business application up and running under mysite.com/support. The ...
0
votes
1answer
142 views

Extend page routing with custom parameters

In WordPress there is defined a simple routing /%postname%/ So when I access /projects/ it loads me Projects page which has specified custom template_projects.php template. Is it possible to ...
2
votes
1answer
49 views

Is there a 'rake routes' for wordpress?

Is there an equivalent to 'rake routes' in php/wordpress that would spit out all the available wordpress url paths available?
0
votes
2answers
86 views

wordpress url correction

I have my wordpress site in a root folder like this "www.mysite/myblog/" so to get to the blog you have to go to "www.mysite/myblog/" I'm wanting to make it so that a user can go to "www.mysite" and ...
0
votes
1answer
224 views

WP Multisite - How to create a custom “router” for blog prefixes?

I'm trying to create a custom route for a WP Mutlisite network. If you're familiar with WPMS, you know that the db tables for each blog on the network begin with something like {prefix}_2_. Normally, ...
1
vote
2answers
369 views

Multiple templates for a custom post type

As new user to wordpress I'm finding that the preset templates structure a little restricting coming from the flexibility of other template routed CMS I've worked with. Saying this, I know there are ...
1
vote
2answers
114 views

How to display non-page / post content

I have a custom made Twitter stream on my site. I want to have a permalink for each tweet which would go to a page which would display only the tweet - no other content - surrounded by my custom ...
2
votes
1answer
85 views

In wordpress I am manipulation 404 response. I want to give the response before 404 error is given to google

May be the question in title is not explaining what exactly I want. So I will explain one logic and then ask what problem I am getting from that. We are using wordpress. We have 2 categories ...
0
votes
1answer
105 views

Wordpress plugin url for form submit

I am creating a custom plugin that has dynamic forms and I wanted to ask on how I can create a dynamic form action url. Example is Contact Form 7, how did cf7 create the form action url without ...
2
votes
1answer
196 views

Custom post type routing with hierarchy

I've been playing around with a lot of custom post types lately and I am pretty anal about my URL structure / routing. An issue I ran in to a with a site that I just developed was this: I had many ...
0
votes
1answer
193 views

Get permalink for a post from inside Wordpress and route to a related site

I built a mobile version of a wordpress site and added some PHP code in the wordpress index.php file to detect mobile users and HTTP-redirects them to m.website.com (which is not a wordpress ...
0
votes
1answer
66 views

One Page or Post, n Slugs

What would be the best option for serving up a page for any one of many slugs. Suppose I have the following: example.com/the-broken-slug example.com/thebrokenslug example.com/broken-slug ...
2
votes
1answer
708 views

Custom routing for plugins

I am making a plugin that needs a page that can be accessed from the outside, pretty much like an API, and have the url like so, http://xxxxx/custom_method?parameter=xxxxx&something=xxxx is ...
1
vote
3answers
1k views

wordpress - load a template based on the URI

I have a number of custom of post types - i.e. 'windows', 'doors', 'garages' and I want to load a custom template (special.php) whenever my wordpress site has a url that looks like this: ...
2
votes
1answer
692 views

Debugging WP routing

For some posts, I see 404 page, even though posts exist, where is the place in WP where using permalink is decided what object needs to rendered? Thanks!
0
votes
2answers
117 views

RSS feed for deleted posts and comments

I need to create a feed (RSS or Atom) of posts and comments that have been deleted (ie moved to Trash). What's the best way of doing this? Right now I'm thinking about creating 2 pages templates ...