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

Domain change question

Please help me with this situation. Now I have a site called "abc.com" with pages and blog (many articles). Permalinks is set as abc.com/%postname%/ And I am planning to move just the blog ...
0
votes
0answers
14 views

want to add a .html with existing rewrite rule

I'm trying to do two things to a woocommerce product category url im trying to strip out the base of product-category and add .html to the end of all product categories I've achieved the first ...
0
votes
0answers
13 views

after_switch_theme not working in a class?

Here is my class (by way of example) after_switch_theme is being stupid and refuses to fire. class myPlugin(){ __construct(){ add_action('after_switch_theme', array($this, 'rewrite')); ...
0
votes
1answer
12 views

Proper way to set up rewrite with Wp

This seems to be modding my .htaccess with every page view. What is the standard way of setting up a rewrite? This is what I have so far: if(!function_exists('some_rewrite')){ add_action( 'init', ...
0
votes
1answer
22 views

Rewrite Url to a SEO-friendly format

I am using a membership plugin and I would like to change the user-profile Urls. Example Url: http://rec-orders.de/?p_action=user_profile&post_author=2044 This is how the new Url shall look ...
0
votes
1answer
13 views

Finding and removing unnecessary redirects

I have a bunch of redirects to sites like sharethis, media6, and some random character urls. Most of these are leading to a blank pixel or each other. I know a lot has to do with facebook and needed ...
0
votes
0answers
14 views

Permalink rewrite slug not working properly with multiple taxonomies

I have this rewrite rule on my CPT: 'rewrite' => array('slug' => '%country%/%area%/%property_type%' area and property type show through fine but country comes through as %country% in the ...
1
vote
2answers
37 views

How to prevent the default home rewrite to a static page

I'm looking for a way to prevent the default behaviour (when you have a static page set as the site homepage or 'frontpage' (in settings>reading>front page displays ); I want the domain.com/ ...
0
votes
1answer
36 views

Duplicate Custom Post Type and Taxonomy Slug

I've seen a few questions that are very similar, but I haven't been able to get an exact answer, so I'm going to explain my situation here. Quite simply, I need the following url structure: ...
0
votes
1answer
16 views

Use Parent Pages for URL Structure without Landing Page

So this is more a philosophical question than anything, and if I'm asking this in the wrong place, I'm happy to remove the post: What's the best way to use a parent page for structure while keeping ...
0
votes
0answers
14 views

Taxonomy Slug Rewrite 404 Error

I currently have this problem I have a taxonomy that has the rewrite slug as: resource-center/case_studies1 I have a custom post type with the rewrite slug as: resource-center/case_studies I ...
0
votes
1answer
31 views

Custom permalink structure with %postname% in front of domain name

We are running a software review website, and we have a very large amount of reviews currently done, and we would like to restructure if its at all possible. I would like to know if there's a chance ...
3
votes
2answers
136 views

Custom Rewriting to Plugin with Parameters

I'm really stuck on the WP_Rewrite functionality... What I have I have a plugin that's rendered using a shortcode and is displaying full-site content. E.g.: //?p=2 (maps to domain.tld/myplugin/) ...
0
votes
0answers
24 views

Redirect url with .php in url

I'm trying to redirect links like this: example.com/podcast/pod.php?show=showname to something like this example.com/program/showname/feed/. I've tried using this redirection plugin: ...
0
votes
0answers
18 views

WordPress MultiSite Redirection

I have WordPress 4.1.1 installed on CentOS 7 as a MultiSite installation and "AllowOverride" has been set to "ALL" within /etc/httpd/conf/httpd.conf. Therefore PERMALINKS as set within each ...
-1
votes
3answers
104 views

WP Job Manger change jobs url (NOT slug)

I'm using the WP Job Manager plugin in my wordpress website. The list of my jobs is currently found on /jobs . I would like to have it on /careers . The listing of all jobs is not a page so I can't ...
0
votes
1answer
38 views

Use a template file for a specific url without creating a page

I wonder if its possible to use a template file for a specific url without having to create a page for that template. This is my simplified problem: I have created a page in WP with some link ...
0
votes
0answers
13 views

Custom rewrite rule returns post instead of (start)page

I need a custom rewrite rule so that /a/b/c/d/123 points to the startpage because my own plugin on the startpage needs those parameters from the URL. / I was able to accomplish most of ...
1
vote
1answer
31 views

How do I change attachment slug from name to id

I need to change the slug of the attachment post. Currently, it is showing attachment name , I want it to be replaced by id of attachment. Edit : Thanks to suggestion by TheDeadMedic, I am now ...
0
votes
1answer
26 views

Wordpress Rewrite Issue

I created a custom taxonomy, two actually (one tag and one category), for a page that lists a series of community projects. This is the parent URL: website.com/community If you go here you'll see ...
0
votes
1answer
44 views

Nginx rewrite rule conflict with WordPress permalinks rule

Facing issue with nginx url rewrite rules. What I want is to serve http://example.com/2015/03/23/post-title/ page when someone tries to access http://example.com/2015/03/23/myfeed/post-title/ url. And ...
0
votes
3answers
112 views

Use subdomain for certain urls

I have the following rules in my .htaccess file on a WordPress (single installation): # REWRITE FORUMS DOMAIN TO FOLDER RewriteCond %{HTTP_HOST} ^forums\.example\.com$ RewriteRule !^forums/? ...
0
votes
0answers
16 views

Wordpress Apache Redirect URL to another .htaccess

Hi I renamed the site Permalink: http://www.adress.com/tutorial/faq/ to Permalink: http://www.adress.com/tutorial/start/ in the Wordpress Edit Page Menu. Now the URL ...
0
votes
0answers
9 views

Rewriting top level URL to point to custom taxonomy in addition to pages and categories

I need the top level URL on a blog to point to custom taxonomy, in addition to categories and pages which are the default. For example, currently if a visitor goes to example.com/entertainment, ...
0
votes
0answers
28 views

URL rewriting with custom user meta “/%shop_name%/gallery/%gallery%”

I have created a custom user meta = shop_name in User Profile and custom post type gallery The default URL of the post is http://localhost/gallery/%gallery% which i have modified to below given URL ...
0
votes
0answers
18 views

Need help understanding a rewrite with multi-level taxonomy

I am trying hard to learn how to do rewrites. Not having really any understanding of regex is obviously not a good start. I have a cpt books and a taxonomy book-publishers-series. I have written the ...
0
votes
1answer
36 views

redirect old post type url to new structure url

i have one cpt Anime and it has post_type taxonomy with term anime and animation anime(cpt): (site domain)/anime/post title | |-(tax)Anime |-(tax)Animation And my url structure are ...
3
votes
1answer
30 views

Change page /2 to /transcript with a Rewrite

I set up this rule (in functions.php) function custom_rewrite_basic() { add_rewrite_rule( 'episode/([^/]+)/transcript', ...
0
votes
1answer
28 views

add custom entries to menu options

The menu options in WP already have support for created native posts types, and custom post types, and existing taxonomies. But in my plugin I provide a couple custom URLs that are not associated ...
0
votes
1answer
6 views

current_menu_parent for custom post type and custom url

I have defined a custom URL that loads a custom template, as a customized "archive" por a custom post type. I can't use the native archive since the page has a couple requisites that the archive ...
0
votes
1answer
17 views

Using category slug in add_rewrite rule

I'm using this function ro rewrite URLs: function archive_rewrite_rules(){ add_rewrite_rule( 'inspiracao/([^/]*)/([0-9]{4})/?$', ...
0
votes
1answer
18 views

Do rewrites added with add_rewrite_rule() persist after plugin deletion?

I am developing a Wordpress plugin and need to ad a rewrite url using add_rewrite_rule(). That does work. But what happens when my plugin is deleted? Does Wordpress cleanup the htaccess or do I need ...
0
votes
0answers
19 views

How to change comment-page-1#comment-25 to any string?

How can we change the slug "comment-page-1#comment-25" to somthing like review-page-1#review-25
0
votes
1answer
16 views

Custom Post Type URL Rewriting

I would like to add parameter to custom post type posts So I need to do my url like that. http://www.mywebsite.com/mycpt-slug/post-slug/myparameter I found this solution but here it's work with post ...
0
votes
2answers
58 views

Dynamically generate child-URLs for posts or custom posts

How can I have a post (or custom post) with a definite URL: www.test.com/category/post-name and a child-URL referring to a specific section of that post www.test.com/category/post-name/sub-url ...
1
vote
1answer
18 views

How do I create a permalink structure with 2 taxonomies

I would like to create permalink to a search for a custom post type that has 2 taxonomies in it. Here are a few appropriate examples: /root/%taxonomyA%/%taxonomyB% ...
3
votes
6answers
395 views

I want to create a custom slug in WordPress and output JSON. How do I do this?

I have an array: $cats = array('Hobbes', 'Simba', 'Grumpy Cat'); I would like to create a custom endpoint called "http://example.com/cats". Whenever you visit this URL, have it output the array as ...
0
votes
1answer
47 views

Disable default posts (Posts,Pages,Comments and Media) in wp-admin

I want to disable the default post types for user author in the wp-admin panel of the wordpress and display only custom post types. For that i had got the code given below. function remove_menus(){ ...
0
votes
0answers
25 views

How to rewrite wordpress URL?

Following is my post URL. http://animoplus.localhost/races-chiens/category2/category-2-first-post/ races-chiens/category2/category-2-first-post/ /Post Name/ Now, I want to create other URL for ...
0
votes
1answer
29 views

Posts in Page - How to customize the URL?

I have a "normal" WordPress install. Blogposts are displayed on the homepage an there are a few pages. Now I want to display the posts of a specific category on a page, so that I can add some ...
2
votes
1answer
51 views

Categories' hierarchy in URL

The posts in the website I'm currently working on have multiple hierarchical categories applied to each of them. For instance: Source - Books -- Moby Dick -- Sherlock Holmes The permalinks are set ...
0
votes
1answer
33 views

Login page is redirecting to homepage

Unable to login because wp-login.php redirects to homepage. I tried deactivating all plugins but nothing worked. I didn't install any plugins or make any changes recently.
0
votes
0answers
33 views

Wordpress url rewriting in asp.net website not work for categories and tags

I am using wordpress engine in my asp.net website for blogging. I am using url rewriting like /posts/%post_id%/ in settings. every things work right except categories and tags. I set base category to ...
0
votes
0answers
29 views

add_rewrite Rule

I want to add a rewrite rule, the remove the "base" from a custom taxonomy link. There current structure is: http://example.com/bundesland/TERMSLUG I would like to have it like this: ...
0
votes
0answers
21 views

Remove rewrite path for custom taxonomy [duplicate]

I want to get rid of the rewrite path for a custom taxonomy. This is the way, I register it: register_taxonomy( 'bl_tax', array( 'stadt'), array( 'label' ...
0
votes
1answer
14 views

How to show my application as referral in Wordpress Stats

I have a desktop application that links to my wordpress website. Whenever a user clicks on the link in the application it opens my website in browser. However how can I track how many people are ...
0
votes
0answers
58 views

Wordpress Polylang - Use same url slug on different languages [closed]

Just like this topic, I'm trying to create two pages with the same url, like this: domain.com/pt/downloads domain.com/en/downloads But it seems like polylang doesn't support this. Is there ...
0
votes
1answer
44 views

Remove sequential number from permalinks

I'm organizing some custom post types by taxonomy so that my URLs would look like /small-groups/spring-2015/date-your-mate /small-groups/fall-2015/date-your-mate The spring-2015 and fall-2015 are ...
0
votes
0answers
35 views

Custom Taxonomy/Post Type permalink rewrite

I am trying to rewrite my permalinks to make them flow better, but the permalinks keep throwing a 404 not found. Original permalink structure: example.com/video/chapter1 Re-written permalink ...
0
votes
0answers
50 views

Custom Post Type with Rewrite Rule and Paging

I am running WordPress 4.0 and I have created a custom post type called events-to-see which is a post. I wanted to get the events to display with the following url structure ...