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
1answer
11 views

Change the custom post type permalink

I have projects category in my theme ( custom post type ). my link goes like this http://shaowtriger.com/project/naim/ my required link is http://shaowtriger.com/brands/naim/ I also ...
0
votes
0answers
17 views

I want to add one extra field to my URLs, I'm using Rewrite functions but it doesn't work

I think my question isn't in the right way, I just ask it. I want this routings for my wordpress site (for example in Custom PostType Archive page): example.com/VALUE => ...
0
votes
0answers
13 views

Having trouble with Wordpress URL Rewrites

I am using Query Vars to display content from a database in wordpress on the page. The url looks like: 192.168.92.11/~buyin/business-directory?c=shop&r=valley-towns&t=Greenville Everything ...
0
votes
1answer
33 views

Why won't this rewrite rule work?

Here's the setup. I have a custom post type 'Businesses'. I have a custom taxonomy 'Display Category'. And I have a second custom taxonomy 'Filters' Both taxonomies are set to work with the custom ...
0
votes
1answer
7 views

How can I configure WP multisite to use /blog/ as part of the path structures?

I'm migrating an existing group of sites to multisite using subdirectories and need to match the url paths exactly, and am running into conflicts with the /blog/ path that gets inserted by default on ...
0
votes
0answers
17 views

Different Slugs depending on last page

is it possible to configure WordPress on some way that if i have a portfolio Item ( from my theme ) which will be opened from 2 different pages and w/o an URL jump so that www.xyz.com/brands/example ...
0
votes
1answer
25 views

Custom Post Type View Button in Admin Gives 400 Error

I have a custom post type, Project: /******************************* Projects Custom Post Type *******************************/ add_action( 'init', 'register_cpt_project' ); function ...
0
votes
0answers
15 views

Remove Rewrite Rule

after adding a rule: add_action( 'init', 'wpse26388_rewrites_init' ); function wpse26388_rewrites_init(){ add_rewrite_rule( 'usuario/([0-9]+)/?$', ...
0
votes
2answers
31 views

Customizing the custom post type permalink

I understand how to register a custom post type, customize the slug and decide whether to add the 'front' (the WP permalink settings) or not. What I'd like to do is customize the permalink by adding ...
0
votes
1answer
32 views

.htaccess RewriteRule to include post type and taxonomy

I'm trying to rewrite this url www.domain.com/gallery/?university=birmingham to an seo friendly one like this www.domain.com/uni/birmingham/gallery the (?university=birmingham) represent the ...
0
votes
1answer
23 views

All pages lead to home

I've recently moved from linux to windows hosting, and now all of my permalinks just redirect to the homepage. I've selected the correct structure in Settings->Permalinks and have the following in my ...
0
votes
1answer
30 views

How to change home or site url using action hooks or filter?

I want to change url dynamically, so is there any way to change url? I know other methods like from admin, directly from database or wp-config. but i want to change it from either hooks or filter. ...
2
votes
1answer
42 views

Permalinks, Rewrites, Get Variables, Oh My!

Ok, so I know it's a silly title, but it's exactly how I feel right now.. I've created some custom rewrites for WordPress and they work great, the only problem is that now I need to add pagination. ...
2
votes
1answer
37 views

Get the category is not working on url

Although this is my first post but i have been coming here for answers so I know the rule and this isn't a duplicate because i have tried whatever i could but couldn't seem to get my codes to work. ...
1
vote
1answer
16 views

Rewrite Slug for CPT Archive Pages to Plural Name of Slug

I have a custom post type with the rewritten slug of plugin creating the url structure of http://site.com/plugin/plugin-slug/. Which makes the CPT Archive as http://site.com/plugin/ I'd like to ...
0
votes
2answers
25 views

How to create short urls for sharing and downloadable content?

I want to create something similar to "youtube.com/long => youtu.be/short" for my wordpress blog/portfolio/freebie site: "magicshrooms.com/%cat-etc => mgcsr.mz/link-name ". Generally, I want to create ...
0
votes
0answers
27 views

Getting rewrite correct

I had the permalinks settings as /%postname%/%post_id%/ but recently change it to /%postname%/ and added the following to htaccess RedirectMatch 301 ^/([^/]+)/(\d+)/$ http://www.site.com/$1/ It ...
0
votes
0answers
32 views

URL/Permalink customization for Taxonomy/Term archive & post

I have a CPT called "Provider", taxonomy called "State" and a term called "Alabama". Is it possible to change the following URL structure from: 1. http://localhost/state/alabama (to view all the ...
0
votes
1answer
23 views

Rewrite slug of custom post type to include post-id

My current permalink setting is /%postname%/%post_id%/. Would like to use the same with CPT. Currently the URL looks as site.com/questions/title/ Would like to get post id at the end of the url on ...
0
votes
1answer
31 views

Create custom permalinks to show Custom Post Type's relationship?

I'm creating a WordPress site that has 3 custom post types registered: course, chapter, and lesson. All of these post types are inter-connected and share a relationship using custom fields. For ...
0
votes
0answers
8 views

How remove Wordpress Impression from my website [duplicate]

I am developing one wordpress theme for client. I completed the theme. But he is asking about remove the wordpress theme impression. Here impression means when i try to see view page source i am able ...
0
votes
1answer
41 views

Add_query_arg + two times the same argument?

I'am trying to filter my archive page by clicking links. When clicked they execute the add_query_arg command. Everything works fine so far. But now i want to add combinations within the same ...
2
votes
1answer
45 views

WordPress URLs without posts

We are working on larger system, which is based on WordPress, but WordPress is used only for "static" content, the main part of the system should be consuming the external API and displaying the data. ...
0
votes
0answers
25 views

Rewrite Rule Not Working

I am trying to use a rewrite rule to get 3 variables from the URL. Here is my rule: add_action( 'init', 'pe_rewrite' ); function pe_rewrite(){ add_rewrite_rule( ...
1
vote
1answer
25 views

Wordpress 3.9 breaks invalid permalinks.. code fix possible?

With wordpress 3.9 apparently some changes were made to how permalinks work internally. It seems that in my case these changes have caused some previously working pages to start returning 404 errors. ...
0
votes
1answer
30 views

What's the best approach to do this?

I want to start a new site where I want the main page to be a static page showing information about myself, a kind of resumee without personal details. Then, there would be a site.com/blog/ where I ...
0
votes
0answers
12 views

Subdomain for main category, directories for subcategories

I explain clearly what I want to achieve : I have here Main category : Car -Sub-category : Sports-Car --Sub-category : Porsche ---Post : Porsche-911-Turbo.html I want URL to be this : ...
0
votes
1answer
37 views

Weird characters behind every single link and images

My site http://ilovetaobao.my If you view page source, almost every single images and links have this in the end of the URL. ?84d5a9 For example like ...
1
vote
1answer
40 views

Adding special characters to slug?

Is it possible to prevent WP from stripping out certain characters when customizing a URL? For example, affiliate ids usually have something like ?id=something. Customizing a content's slug with ...
0
votes
0answers
64 views

URL rewrite custom taxonomy using add_rewrite_rule() or generate_rewrite_rules()

I'm trying to get my head around amending some URL's for a website I have created. After reading two (very informative) answers (1, 2) but I'm still a little unsure how to approach creating a URL that ...
0
votes
1answer
30 views

Use a custom post URL that is outside the blog root directory

I have a website blog and its URL is: www.website.com/blog The above is fine and I want it to stay that way. www.website.com is the main site, which is not a blog. Currently, the URL structure for ...
0
votes
1answer
28 views

Folder Name and Category Name Wordpress

I have URLs that need have the old URL for download files. Before, it has 2 separate website. The MAIN and the PORTAL website. http://www.website.org http://www.website.org/portal I want both ...
0
votes
0answers
11 views

Renaming CPT slug when the user access a page from one specific taxonomy

How do I rename a registered CPT slug when the user access a page from one specific taxonomy? I have a custom post type called /package/ and it taxonomies /america/ /europe/ /asia/ /hotel/ An ...
0
votes
0answers
38 views

How to Combine Two Custom Post Types into Single Permalink Structure

The website uses - A) A hierarcical Custom Post Type "Destination" to support the following structure, so each tier of the hierarchy could have its own unique destination guide: Territory - ...
0
votes
1answer
45 views

Query var removed after rewrite

I have a WordPress blog that uses custom post types, which I'm creating using the WCK plugin. One of which is the post type shows. A permalink to a specific show, then, appears as: ...
0
votes
1answer
45 views

How to mask url of a specific page without affecting seo [closed]

What I'm looking to do is exactly this and/or this. What's holding me back is my fear of losing all the SEO traffic my posts at site.com/blog/post have already acquired. Would implementing this fix ...
0
votes
0answers
14 views

Re-write URL for certain sub-pages only

For better Organization in my Admin panel for Pages on a site I would like to add a page called "Unlisted" and then add sub-pages to this page that I do not want to be listed on the site...the purpose ...
0
votes
0answers
14 views

how to change some of the rules in the database

I need to add a rewrite rule for a WP page. I noticed that the rule is already part of the existing set, but apparently it is not correct. With the hope some internal mechanism would have replaced ...
0
votes
1answer
87 views

How To Run Multiple Multi-Site Networks On Same Box [closed]

I'm building a multi-site project locally using the VVV Vagrant VM. I setup a sub-domain multisite install with domain mapping and two sub-sites. Everything works fine. This was my sandbox that I ...
0
votes
1answer
85 views

How to use wp rewrite to hide form action url?

I have a widget that I'm making that builds a multi-step form which retrieves xml data from a third party plugin (http://xmlplugin.com/geoquote.php). While this plugin is available for use already it ...
0
votes
1answer
20 views

Font Page overrides rewrites

I have a custom rewrite as follows So /shares points to a page I created with a slug images which uses a custom query variable named h626_page. My problem is I want to set the images page as ...
0
votes
1answer
109 views

Redirect A URL Pattern In WordPress Using .htaccess

I am new to WordPress and just converted from Blogger to WordPress. Now as you know that Blogger URLs are too different from WordPress URLs so after migrating I started receiving 404 error in Google ...
0
votes
3answers
45 views

Once redirected by Rewrite rules, how can WordPress know the page?

I have been searching for some configurations of .htaccess, filters and hooks to make able to manage the inner site uri's. The goal was force login, register and admin pages through SSL, and all the ...
0
votes
0answers
20 views

Rewriting URLs with Query Strings

I've been (unsuccessfully) attempting to prettify some URLs in a website I'm building in Wordpress, from something like this - ...
0
votes
0answers
28 views

Dynamically add a keyword to url with a specific template

I'm working on a site that is going to have two parts. Its going to have the regular marketing website and its going to have lots of landing pages constantly being drafted up to test things. My ...
0
votes
1answer
51 views

Rewrite Endpoints and CPTs - How to use in a plugin

I'm working on rewrite rules for a plugin that uses a URL endpoint, /modifier, to create a query_var &modifier=1 to signify it should do something else. The rewrite deals with URLs where ...
0
votes
1answer
47 views

.htaccess RewriteBase equivalent for WordPress - Passing a URL as a variable without getting a 404

I have a page ran by a javascript plugin that changes the url every time a slide in a gallery is cycled. This means that while slide 1 is visible, the URL is http://www.sitename.com/gallery/slide1/ ...
0
votes
1answer
67 views

How do I remove a word from a url in Wordpress using .htaccess?

In the site I'm building there is a post-type called "Focus". Since they need to url to be like www.mysite.com/focus/page-post-name I have the post type slug as "focus". Of course the archive page is ...
1
vote
0answers
52 views

How to change hierarchical page permalinks to be flat

I'm building a site for a client with a large navigational structure. I think it would be easiest for them to manage if the pages were listed hierarchically in the admin panel, but it would also be ...
0
votes
1answer
25 views

Help to cleanup this code

I am trying to change my attachment page link yo example.com/photos/attachment_ID/post_name/attachment_name can you tell me how to call the parent post name function wpd_attachment_link( ...