Refers to the process whereby an URL is manipulated to create what in WordPress is called a "pretty permalink"

learn more… | top users | synonyms (1)

0
votes
0answers
11 views

How can I add slug/category to portfolio permalink? [duplicate]

My portfolio URL currently looks like this: sitename.com/portfolio/ I would like to add the category slug after so it reads: sitename.com/portfolio/slug/ so that if I go to a portfolio item of a ...
0
votes
1answer
16 views

How can I turn a url with get method as a clean url with segment as the get method?

I got a page called profile my current way to view the profile of user 1 www.sample.com/profile/?id=1 how can I make this something like this www.sample.com/profile/1/
0
votes
2answers
22 views

How to make custom Wordpress page deliver search results

I have customised the standard Wordpress search.php and everything is working fine. Now, my client would like to be able to add some content to the beginning of the search results page in the same ...
0
votes
1answer
30 views

Rewrite URL for a specific taxonomy [duplicate]

I registered a post type of 'product', and also registered a taxonomy 'poruct-cats' for this post type. When I want to access to product-cats it seems like below: ...
0
votes
0answers
42 views

Rewrite Rules: Post ID within Post Slug for a Custom Post Type

I've got my custom post type slug article and I need the following permalink structure: http://domain.com/article/postname-123/ The number in the end has to be the post ID. I don't want ...
0
votes
0answers
24 views

URL Rewrite Multiple CPT

Basically I am trying to do something simalar to what has been referenced in this thread URL rewrite rules for multiple taxonomies query however it's not working for me. I am using the Types ...
0
votes
0answers
48 views

.htaccess Redirect with Wordpress in a subfolder

I am going to try to explain this as best as possible. I have a wordpress installation at www.Domain.com/careers/ Which is great, and really not a problem. The main problem is, i'm moving some ...
0
votes
0answers
16 views

rewrite rule added to function.php not work

Hello in my custom plugin i want to set custom rewrite rules. First i trying make this with one rule, so i create functions.php file in my plugin folder and i paste into this code: function ...
0
votes
0answers
19 views

Pagination redirection in WordPress

I had a blog website in a custom CMS. I recently re-developed the website in WordPress. The old website had pagination urls like "?page=2" But WordPress shows pagination urls like "/page/2" Now what ...
0
votes
1answer
17 views

Custom URLs in post types make it impossible to view archive

I have a custom post type (let's call it "video") and a custom taxonomy (let's call it "section"), I would like both of these to appear in the post URL. The post URL rewriting is working fine. ...
0
votes
0answers
61 views

.html and pagination for custom post type and category

I have a problem. I stand on the site of wordpress and I need to keep the URL. On my old site at the end of pages, of records, categories were .html extension. I have default permalink in wordpress ...
0
votes
0answers
29 views

WP Rest API blog with detail page

I've a blog on a other site, and with the WP Rest Api I want to show the excerpts on a other site, with a custom single page. I've made a page_blog.php page where I show the posts, and now I want to ...
0
votes
0answers
47 views

Add Rewrite Rule giving 404 Error

I'm having a little problem with Wordpress add_rewrite_rule function. I'm trying to accept a user subscription by using the URL from the email I've sent. The hash I use is generated from ...
0
votes
0answers
10 views

Modify a rewrite rule for yy/mm and yy/mm/dd

I have a rewrite rule that I used to remap URLs from /yyyy/mm/post successfully but now trying to modify that to redirect using the pattern match of /yyyy/mm/dd/post Here is the rewrite rule I am ...
0
votes
0answers
15 views

Add custom term to custom post type URL

I need a URL structure specifically for a custom post type. For example http://mybooks.com/[genre]/[book title] Where [genre] is the custom taxonomy term and [book title] is the title of the custom ...
0
votes
0answers
27 views

Force Wordpress to only match URL in category

I'm having a problem where if I have the WP url index.php?post_type=custom_post_type&custom_taxonomy=xyz&custom_post_type=post-slug (replacing all variables, of course) it will not actually ...
0
votes
2answers
71 views

ubuntu + nginx - everything works except “rewrite url structure” [closed]

I'm on ubuntu vps running nginx Running w3 total cache on wordpress. Everything works fine except for when i enable "rewrite url structure", and it breaks, 404 probably to the minified files. How ...
1
vote
1answer
34 views

Enpoint Not Found in Rewrite Tag Permalink

I'm trying to make an XML feed show nice and pretty permalinks rather than showing query strings. The problem is I can't get my /products/ endpoint to show up when trying to process my custom rewrite ...
0
votes
1answer
27 views

Url wordpress rewrite

In wordpress i have created a custom page called mail.php inside a folder form_support, my original url is http://exemple.com/form_support/mail.php i created htaccess file with rewriting rule : # ...
1
vote
2answers
65 views

Rewrite URL to remap WordPress Permalink

I'm moving my WordPress site to a new host, and in the process I want to make a one time change to the Permalinks. I want to rewrite the URLs from /2015/11/sample-post/ to /sample-post/ but how can I ...
0
votes
0answers
13 views

Regular Expression for rewriting

I want to match url like this y.com/note/class-11 y.com/note/class-12 y.com/note/class-11/ y.com/note/class-12/ But i don't want to match y.com/note/class-11/post_title y.com/note/class-abc I ...
0
votes
0answers
15 views

WP-DownloadManager URL rewrite

I am using WP-DownloadManager. The issue is that it is using a custom post type setting and generating URLs like: example.com/wpdm-category/icons/ [category] example.com/download/concepts-republic/ ...
0
votes
1answer
30 views

Get parameters and custom page template

My WP website have calendar page with custom page template. If i open mysite.com/cal i see calendar of current month, if i open mysite.com/cal/?month=01&year=2015 i see calendar for january. It ...
1
vote
1answer
109 views

Add “page-a” slug to category link if user visit category link from “page-a”

I have Area pages like below: http://www.example.com/area1 http://www.example.com/area2 On each area page common wp menus are displaying categories. To illustrate: Menu Items: -> ...
0
votes
0answers
48 views

Wordpress URL Rewrite is removing special characters

I'm having a little problem with Wordpress's built-in add_rewrite_rule function. It's quite simple: I have a newsletter form, which sends a confirm mail to users, with a confirm code. Let's say that ...
0
votes
2answers
43 views

Rewriting in wordpress url

Yes we love to make the url more shorter ,more clean. Lets say we have css url like this xxx.com/wp-content/theme_name/css/my_custom_css.css However i would love to display it like this ...
0
votes
0answers
47 views

How to create a custom permalink structure for taxonomies

I`m trying to achieve the following structure in urls for CPT`s: website.com/CPT - Lists all - OK website.com/CPT/post-slug - List the CPT with slug - OK website.com/CPT/tags - Lists all tags used ...
1
vote
0answers
28 views

Including taxonomy term before post type breaks top level pages

Got a website that has two top level pages called commercial and domestic, and in these pages there is other content that shares a similar format, e.g. I want case studies in both the commercial and ...
0
votes
0answers
23 views

Set custom post type's base url in subfolder

I have a custom post type (non-hierarchical), say, "tickets," and usually what WP does with its URLs is this: Single CPT: http://tld.com/tickets/single-entry/ Archive CPT: http://tld.com/tickets/ ...
1
vote
1answer
120 views

meta tags doesnt fetch data from permalinks

i have a page http://studyofjoy.com/categories/ i want to add custom meta tags to heading section like this: <meta property="og:title" content="<?php echo "title:" . ...
0
votes
1answer
50 views

Overwrite Wordpress's URL rewrite not working

What I'm trying to do it's pretty much simple, but it's not working and I don't know if it's a Wordpress rewrite or I'm just doing it wrong. What I have is this url: ...
0
votes
0answers
31 views

How can I write the following URL in wordpress

I am working on a project, and one of the biggest parameters was that we keep existing data and URL structures intact. the decision was made long before me to switch from an old, crappy codeignitor ...
0
votes
0answers
72 views

url redirect to another url whilst keeping original url

I have a wordpress site (mysite.co.uk). I also have another add-on domain (mysite.fr) pointing to the wordpress site root. I have pointed this domain (mysite.fr) to this page - ...
0
votes
0answers
100 views

Generate page URL based on form field input

I have a WordPress page with the URL: http://example.com/mypage/ On that page I have a custom form, on the submission of the form I want to generate the URL in following format: ...
2
votes
1answer
58 views

Custom Permalink Tag breaks Pagination

Most the below work stems from a previous question / accepted answer. I'm trying to achieve the following permalink structure: /listings/ /listings/page/2/ /listings/%state%/ ...
0
votes
1answer
183 views

Rewrite Rule for Custom Page with Query Vars in URL

Background I have a a page called 'listen' with a custom template, which runs a custom wp_query that uses the 'show' variable in the URL. The following example works... ...
0
votes
0answers
5 views

How to display customized urls

I need to rewrite some urls or to create masked urls. I create two tags categories displayed as widgets on the site, job title and city name but the url of both tags categories must have the same ...
0
votes
0answers
21 views

Rewrite rules in Multisite not working unless flush_rules() always run

We have a multisite website that creates pages in the website by pulling from an API and inserting them into template files. The current rewrite rules we have made to create these pages are: ...
0
votes
0answers
34 views

Make URL like /fr/something display same as /something

I would like every URL of my WordPress site that looks like /fr/something to show exactly the same page as /something, but without redirecting; I want to keep the URL. I think I'm close, I used : ...
0
votes
0answers
64 views

How to show custom URL and load the content of PHP file?

Suppose I want to display the URL like this: www.example.com/whatsup I don't want to make a page to show, just make a URL like that. And say in my theme directory I have a file like this: ...
0
votes
0answers
57 views

Paging not working for hierarchical custom post type

I've defined a custom post type called Fishing Reports, and want to break it down by states, then regions. For example: url.com/fishing-reports/florida/northwest/ That part is working as expected. ...
0
votes
0answers
70 views

add_rewrite_rule using custom taxonomy and year

I have a CPT called books and a custom taxonomy called genre and need to show in a page all books of a specific term and a specific year. For that, I created taxonomy-genre.php file and created a ...
0
votes
1answer
33 views

Add pagination to a template loaded by query variable

I have set a query_var,called men, which loads a custom template displaying men's clothes. The rewrite rule is as follows: ...
0
votes
0answers
23 views

URLs with two taxonomies are missing from sitemap

I have problem with wordpress rewrite and SEO, mostly the sitemap. I'm using the Yoast SEO plugin. I use the regular "post" post type with two taxonomies. The regular "category" and a cutom taxonomy ...
0
votes
2answers
24 views

Many Rewrite Parameters/Rules

I have a bible page which is page_id of 135 and I am trying to create multiple WordPress rewrite rules. I am trying to obtain something like either of the following: website/bible/nasb ...
0
votes
0answers
64 views

Rewrite.php .htaccess generating external rewriterule for a different domain

I've been searching the web for a bit now and have not found a clear answer to this question. How can I modify rewrite.php so that when .htaccess is regenerated it creates rewrite rules for an ...
1
vote
0answers
111 views

Multisite theme path rewrite using .htaccess

I'm trying to rewrite the theme path for multiple domains (wordpresss multisite) using separate themes, this is my current .htaccess file, this is allowing each site to use seperate CSS files but not ...
1
vote
1answer
88 views

WordPress rewrite rules for state and city

I'm building a site where every state and city in the US has a landing page. I have a database of every city, state, and zip code, set up as a custom post type in WP. Here's what I've done ...
0
votes
0answers
32 views

add_rewrite_rule

Facebook share will strip out querystrings. So I'm thinking if I can create a rewrite rule that will take a pretty URL like: http://mariners.plainjoe.net/irvine/events/event/131306 and rewrite it ...
3
votes
1answer
64 views

Custom Posttype Inheritance (and url structure)

After looking at documentation and searching around, I haven't been able to find anything, so here goes: Are there any way of custom-post-type-inheritance, and an url structure like this: ...