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
9 views

Plugin returns random 404 Error on URL ReWrite

A proprietary plugin I'm trying to install is generating a 404 Page about once in every 6 or so page reloads. Saving permalinks has no effect on this bug. I cannot find any meaningful server logs ...
0
votes
0answers
5 views

Category-dependent custom permalink

My website uses a custom permalink structure of the type: /blog/%year%/%monthnum%/%day%/%postname%/ Now, I created a new post category, which needs to have the permalink: /guide/%postname%/ In ...
0
votes
0answers
11 views

wordpress ignoring search variables

I need a custom path for the search function, but not permalink, because I want to be able to pass in any of the regular wordpress search variables. For example, I'd like to search for the word yes ...
0
votes
0answers
36 views

How to add variable at the end of URL

Regarding category URL rewriting: Current URL : www.example.com/category/croatia/hotel Required URL : www.example.com/croatia/hotel Here the keyword category is default from WordPress. The keyword ...
0
votes
1answer
14 views

Custom Taxonomy and Rewrite URL

I'm fixing some custom templates. There is this custom taxonomies add_action( 'init', 'custom_taxonomies', 0 ); function custom_taxonomies() { register_taxonomy('news_category', 'stfp_news', array( ...
0
votes
1answer
35 views
+100

Rewrite url without flushing the database?

Is it possible to create a rewrite in WP dynamically such that no flushing is needed? i.e. not storing the rewrite in the database? Only defined in my plugin code?
0
votes
1answer
16 views

404 redirect based on url

I have a link like this: https://www.example.com/bh-job/38/?title=digital-marketing-intelligence-expert When I surf to the page I'm redirected 404 page because the page doesn't exisit. The page ...
0
votes
0answers
17 views

Taxonomy name in the URL [duplicate]

So I have a taxonomy of Clients linked to two custom post types (Press releases & Case Studies). What I want is the URL of a Press Release or Case Study post to have the client name (taxonomy ...
0
votes
0answers
13 views

How to not redirect url blog pages to www?

I do not want the url of my blog pages to add the prefix www everytime I reload the page, which is what it's doing right now. How can I solve this problem?
0
votes
1answer
17 views

URL rewrite before template_redirect called

Logic I have a page template at /blog that contains a "public" blog. I have a page template at /members that is members area. If a user enters the URL /members/blog I want to catch this in the ...
1
vote
1answer
19 views

Wordpress Redirecting Non Category Pages /page/nnn to their Canonical URLs

I seemingly to have a strange issue I have found in almost every other Wordpress site. Suppose, you have set your Blog home to a static WP page /myhome. And you have a separate page for blog /blog. ...
1
vote
0answers
21 views

Custom Post Types hierarchy and rewrite

I've been around this problem for 2 days, googling and experimenting with no avail. I have this Custom Post Type name "programas", and a page with the same name. The page "Programas" lists all the ...
0
votes
1answer
36 views

Custom Post Types and Removing Slugs - should we do it?

I've run into issues trying to remove my custom post types slugs and I've read other questions on here from people with the same problem. We don't want that slug in our URL! But the solutions to this ...
0
votes
0answers
15 views

show 404 page for url which contains unexisting post id

I created custom urls rewrite example : domain.com/post_id/image/image_name/ with rewrite rule it shows likes this : Domain.com/125/image/my-car-image/ it work fine but i want to show 404 not ...
0
votes
2answers
28 views

Custom post type URL

I have a page called "News", and I have created a custom post type for news. In "News" page I need to show all news custom posts and they need to be clickable. "News" page url is ...
0
votes
1answer
21 views

forward/redirect taxonomy archive of term to a page with same name

I have a page called "cars" with child pages for each individual car eg (site.com/cars/ferrari) I have created a taxonomy called 'vehicle' where each term has a car that matches the child page. ...
1
vote
1answer
28 views

Load an url with minimal/no DB queries

What would be an ok way to load a theme template with minimal/no db queries? Another question: is it viable to 'dry' load a non-wordpress template using rewrite rules? So instead of index.php?p=1011 ...
0
votes
0answers
53 views

Add custom parameter to permalinks

I have a WordPress page that I would like to use SEO friendly query parameters with. Let's say this wordpress page is accessible by going to http://www.example.com/test and its short URL is ...
0
votes
0answers
17 views

Category Archive Permalinks

So my blog has been running well since last time i asked a question here. But now, i've got another question, i'm having problem with the category archives permalinks So my category tree looks like ...
0
votes
0answers
18 views

“Project” post type to “Page”

I need the user to go to a Page when he clicks on the menu that is managed in "Projects" section (backend). Situation I have a kind of a menu managed in "Projects" section (backend), made with ...
0
votes
0answers
14 views

Can I use the same permalink base for Categories and Posts?

I am migrating our site from another CMS and the way the permalinks were setup with the prevous CMS are like this: posts: /news/%year%/%monthnum%/%day%/%postname%/ categories: ...
0
votes
0answers
12 views

Custom Permalinks with Post Meta Value , other pages return only homepage error

I have a directory site, so i created a post type name "ads" and their post title are phone numbers, but i want the permalinks instead of mysite.com/ads/post_title i want it ...
0
votes
0answers
34 views

How to remove custom post type slug & taxonomy-base from URL in WordPress

I am using woo-commerce I have bellow code to remove the post type "product" slug from url and it works fine. Product url = http://example.com/product/product-name/ to Product url = ...
0
votes
0answers
22 views

How to get additional query parameters after a url rewrite

DISCLAIMER: Wordpress novice here. I'm trying perform a custom rewrite rule - and I believe Wordpress is stripping the additional query values from the rewritten url. example url: ...
1
vote
1answer
22 views

Can I have /blog and /foo and /bar all point to the same blog?

I currently have wordpress installed in its own directory and serving content for URLs beginning with /blog. So all my wordpress content is served from URLs like these: ...
0
votes
0answers
21 views

Permalinks 404 error with HTTPS host

My new permalinks continue displaying a 404 error on my site even after adding the AllowOverride and Rewrite modules parameters. Here is my default-ssl.conf file : <IfModule mod_ssl.c> ...
0
votes
1answer
20 views

Hide category name in URL

I have this situation myurl.com/catA leads to main wordpress site, and I need to make that myurl.com/catB should leads to specify wordpress category but without showing it in url like ...
0
votes
1answer
23 views

Add ReWrite from Old Pages to Wordpress (remove .php)

I have a WordPress site that has 4 old .php pages left to run as is. My issue is previous there was a rewrite rule to remove the .php from the URL giving it clean URLs. I tried just adding the same ...
0
votes
0answers
27 views

how to use two permalinks for one custom post type

I have a custom post type "article" where posts have a permalink structure (www.mysite.com/article/post-name). I need each post in it to have two different templates according to its permalinks: the ...
0
votes
0answers
13 views

URL rewriting taxonomy term

I'm trying to find solution for the following hours now and i don't know if this is applicable. I have 1 Custom Taxonomy "Years" for Post Type "Post (default)". The taxonomy has 2 Terms: "2014" and ...
0
votes
1answer
34 views

Wordpress rewrite rules not working

I have created a plugin and i have gotten rewrite rules to work using my .htaccess file. I would like to make this work from my plugin instead to keep everything contained from within there. Im ...
0
votes
0answers
13 views

Link a page type with custom WP_query variable

Basicly i want the URL : http://localhost/brands/[brand-name] to be addressed to a page template single-brandname where "[brand-name]" is a custom variable introduced in permalink. The Main Brands ...
0
votes
0answers
6 views

How can I have a custom post type titled “feed” and have the urls work?

First of all if you think this is something one definitely shouldn't do go ahead and tell. I want to separate my site to two blogs, one will be titled "UX Blog" and another just "Feed". But of ...
0
votes
1answer
38 views

Custom post type permalink: only use %post_id% and remove %postname%

I have created a custom post type in Wordpress which is working great. The only thing I need to solve are the permalinks created by this CTP. I currently have: ...
0
votes
0answers
31 views

Creating a URL re-write rule on Ngix causes re-direct loop with wp-admin

I have a Wordpress site hosted on Nginx by WP Engine. Currently it resolves requests to URLs either with or without a trailing slash. So, both of these URLs are functional: mysite.com/single-post ...
0
votes
0answers
42 views

How to rewrite a URL for a domain resolving to a sub-folder containing a WordPress install?

I'm having the following dilemma with WordPress: We are hosting several sites under one hosting plan (GoDaddy Deluxe Hosting) and using the "Hosted Domain" feature, which makes domains resolve to an ...
0
votes
1answer
26 views

Pagination for custom post types - url rewriting

I'm working with custom post type, that I want to paginate, here's part of code, initializing custom post type: $args = array( 'labels' => $labels, 'public' ...
0
votes
2answers
34 views

Custom URL segment parameters for posts

I need to add a custom parameter/segment to the post URL. For example, when I have a post at example.com/post-name, I need to add another segment like example.com/post-name/places. After that, I ...
0
votes
0answers
22 views

Two same URL domain

I have a problem with my wordpress . I just migrate to a new install only the post and categories . But now entering a link or search the CSS BASE URL for example doubles A href attribute URL : ...
1
vote
0answers
31 views

Attachment page gives 404 if user not logged

I am struggling on a very weird behaviour for a WP site I have developed. My client have uploaded many photos to the media library, and tags them with some custom taxonomies I have defined. Some of ...
0
votes
1answer
54 views

optional parameter in permalink structure

Im currently facing an issue with the relationship between pretty permalink and my themes templates. I have a post type called 'performance', and with pretty permalinks enabled the URLs for the ...
0
votes
0answers
27 views

Unable to perform simple URL rewrite

I've been trying to get url rewrites to work, but I don't seem to be getting anywhere with them. I've checked that AllowOverride All is set in httpd.conf, I've made sure that rewrite rules are ...
1
vote
1answer
196 views

Regionalised Content

Ok, so - I am working on a magazine style website that requires "regionalised" content. So for example I have: UK (Includes ALL) Manchester Brighton London I have already successfully ...
0
votes
0answers
41 views

Dynamically populate permalinks

I'm using a fairly standard permalink structure in wordpress e.g. example.com/custom-name/post-title However, I wish to prepend the 'custom-post-type' with a location name from my database. So the ...
0
votes
0answers
20 views

How to control the the URL of a Custom Post Type to have multiple slugs?

I currently have a custom post type whose rewrite rule is this: 'rewrite' => array( 'slug' => 'tests', 'with_front'=> false ), So the URL is www.domain.com/tests/post-name ...
3
votes
1answer
61 views

Dynamic Endpoints

I have a database table outside WordPress that I need to make endpoints for. I've created a page /cars/ where I plan on using a page template to generate links. I would like for the url to look like ...
0
votes
0answers
23 views

Redirect to single post with unique custom taxonomy term

I need some help with taxonomies and custom post type to make a redirection to an specific single post. Lets suppose I have a custom taxonomy called "place_id" wich assigns each custom post type ...
0
votes
1answer
77 views

Include language variable in url

I have been developing a language plugin for wordpress which works completely. The only thing that is missing now is the url-rewriting. I have been looking at a lot of websites, sources and other ...
0
votes
0answers
19 views

ModRewrite not working properly

I am experiencing issues with modrewrite and RewriteRule. Have a look at my .htaccess: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond ...
0
votes
1answer
36 views

How to rewrite URL and get the values?

I created a shortcode by add_shortcode. where the shortcode placed in a wordpress page to display dynamic content. The dynamic content is based on the URL value. Example If URL is ...