The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
210 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 ...
1
vote
0answers
67 views

How make a multi language routes, with rewrite rules or rewrite endpoints?

I want to know a concept of making a multi language routing system for WP. That is the best practice, to make this routing system with add_rewrite_rules for pages post arhive etc in part, or to use ...
1
vote
0answers
204 views

display dynamic content based on url slug on custom page

i have a custom page named locations and i want the url to load like this: /locations/california /locations/nevada etc.. and upon each page load of the given url as above content is loaded based on ...
1
vote
0answers
183 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
0answers
11 views

Show parent page and ignore apparent sub-pages

I am rewriting a Wordpress site and plan to turn part of it into an angular app. The site has a bunch of sub-pages of the form /recommendations/xxxxx. I will keep the /recommendations parent page but ...
0
votes
0answers
24 views

How does the WordPress URL Routing work?

I would like to try and mimic how WordPress has their URL routing system designed, only a much more simplistic level. Can someone help me understand how they have their routing system designed so that ...
0
votes
0answers
8 views

Wordpress & AngularJS – Routes and redirects

Working on my first project with AngularJS. Pretty straightforward, but I'm wondering. I have a CPT named "project". And also a state named /project. Trying to access /project redirects to the Project ...
0
votes
0answers
12 views

Redirect specific upload directory

In a WordPress site, some data is getting fetched from a folder 'uploads/slider' using http_get function. However, the URL given in the function is 'ws/slider/list' and not 'upload/slider'. Now, the ...
0
votes
0answers
36 views

How write rewrite rule to reroute tiny url?

I want to know how to write a regex : for exemple url: http://localhost/wordpress/post-title/lang/en become http://localhost/wordpress/post-title/en. I need a global rule for all types of posts? ...
0
votes
0answers
220 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
120 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 ...