A permanent link to an item (a blog post, an attachment, ...). The default structure is "?p=123", but WordPress can handle "pretty permalinks" and will rewrite them internally to the former version. If you have a question about special rewrite structures you should use the [url-rewriting] tag.

learn more… | top users | synonyms (1)

0
votes
1answer
39 views

Can't make permalink of CPT work

i'm learning how to use wordpress, but i've encountered a big problem. I'm trying to create a custom post type, i've used this code: add_action('init', 'init_realizzazioni'); function ...
0
votes
1answer
90 views

Media/attachment urls don't redirect with fake URL structure

I'm having an issue with media/attachment files and I'm not quite sure how WordPress is returning the URL that it does. I've noticed that I can add anything as a subdirectory structure before a media ...
0
votes
1answer
36 views

Removing parent page in URL for one page

I have a page e.g.: mysite.com/parent/child1/child2/page And I want the URL to be: mysite.com/page But only for this one page ... not the entire site. Is there a way to do this without using some ...
0
votes
1answer
89 views

Wordpress permalinks and javascript redirection

I need to use javascript redirection in one of my scripts. With /%postname%/ WP permalinks structure redirection works like it should but with default it always redirects to home page. /%postname%/ ...
0
votes
1answer
31 views

I need to display post related info

WordPress CPT URLs are displayed at this format: www.example.com/cpt/post-slug. I need to have URL like this www.example.com/cpt/post-slug/rating that will include rating details for corresponding ...
0
votes
1answer
65 views

Use menu structure for permalinks

I'm building a blog that is kind of split into 5 different parts. Example: I try to combine 4 brands and the company owning those brands on one website. Let's say the company is called "Apple" and the ...
0
votes
1answer
246 views

Change permalinks for custom post type based on taxonomy term

I have a custom post type 'profile'. Each profile can be one and only one of either student, staff or alumni, which is set through the 'profile_types' custom taxonomy. This gives me permalinks of: ...
0
votes
1answer
100 views

URL Rewrite Adjustment for Custom Post Type causes template to revert to index.php

I have a custom post type with a URL permalink rewrite that seems to work if it uses /mynews/stories/YYYY/mm/story-name but if I change "mm" to the first 3 letters of the month (eg Jan, Feb, Mar, ...
0
votes
1answer
110 views

Remove index.php from WP 8.0 install migrated to IIS from Apache (still detecting Apache server)?

I was developing this WP site using WAMP at work, and now suddenly we're switching it up and putting it on a Windows server (2003). I can tell from the Permalinks Settings page in wp-admin that it ...
0
votes
1answer
30 views

Permalink Issue - Funny & Weird

I am having an issue where the permalink for my blog posts shows www.example.com/blog/_______. The /blog doesn't just seem to go. Please see screenshots. So then I went here, and changed the ...
0
votes
1answer
38 views

Custom WP permalink structure

I've been struggling trying to wrap my brain around this problem for a few hours. I'm basically trying to achieve this URL structure for a coupon site I run. ...
0
votes
1answer
70 views

Changing Permalinks for Category Pages Only

I am working to redesign a site and would like to rework the permalink structure for the category pages only. Right now they are using: /category/category-name I would like to switch this to: ...
0
votes
1answer
33 views

Customize category permalinks

How can I generate URLs like http://example.com/blog/category/Test/? Currently, I have http://example.com/category/blog/Test/.
0
votes
1answer
98 views

Remove multisite “blog” slug from specific custom post type

I have wordpress multisite, by default multisite has the word "blog" added to all post types excluding "pages" How would i only remove it from a specific custom post type. If I go to setting and ...
0
votes
1answer
466 views

Redirect & permalink problems after moving multisite to a new server

I just moved my subdomain multisite to a new server and I'm having some trouble with permalinks & redirects. One difference post-move is that I have moved core WP files into it's own directory ...
0
votes
1answer
31 views

How to display post permalinks instead of pages?

I am working on a website for comics, and whenever you go to it, it should open the latest POST. I have no pages, I deleted them all. All the website has, is posts. So I want that whenever people ...
0
votes
1answer
131 views

Point domain to different webhost's subdirectory wordpress

Now there may seem to be duplicates for this question but nothing concise so I'm going to try: I have a wordpress install setup at mydomain.com/subdir - hosted on fatcow. I went ahead and bought a ...
0
votes
1answer
59 views

Redirect Pretty Permalinks to Ugly Permalinks

I want to change the permalinks from /%postname%.html to the default ?p=%post_id% permalink. I know how to change the permalink structure that from WordPress admin panel. However, I have over 30000 ...
0
votes
1answer
48 views

Latin character conversion

I'm managing a wordpress blog in Spanish for the first time and I'm currently migrating servers (e.g server A and B). The problem is that even though the file names are correctly sanitized or escaped ...
0
votes
1answer
290 views

How to get category slug link? ( include parent categories)

for example, if main category slug is cars; sub-category slug is: Ford; how to get the permalink of Ford, including its parent categories' slug? ( get_category_link() returns mysite.com/?cat=19 type ...
0
votes
1answer
72 views

Wordpress permalink still not working (error or not understood?)

After hours in understanding wordpress permalinks I'm despairing and hope that somebody can help. I have the following link: www.mysite.com/?page_id=923&bahn=BER After activating the ...
0
votes
1answer
40 views

Using a taxonomy value as part of a post URL

I'm working on a Real Estate site using the following permalink format for properties: http://www.site.com/property/1330-5th-avenue (property is a custom post type for listings) How can I ...
0
votes
1answer
41 views

Slug adding -2 even though the other posts with the same name is in a separate post type

This is annoying, and because of this I separated their post types. Now, I have two post types: motogp-2013 motogp-2014 In my post type motogp-2013 I had an event called 'Grand Prix de France' ...
0
votes
1answer
114 views

replacing post ID by custom post name in url

I am stuck in replacing post ID by custom post name in url. link is as shown below: href="'.$url.'/'.$options['applyp'].'/?pos='.$post[$i]->ID.'" i need to replace ?pos='.$post[$i]->ID.' by custom ...
0
votes
1answer
42 views

Custom Taxonomy List links being re-written

I am trying to show a list of terms from my Job Category. I tried the following: function job_listing_taxonomy_list( $taxonomy,$hide ) { $args = array('order'=>'ASC','hide_empty'=>$hide); ...
0
votes
1answer
70 views

Losing the original URL when using add_rewrite_rule

I'm attempting to implement a rewrite rule so I can introduce a variable into my CPT's single page template. Basically I'm trying to include 'all' between my CPT's slug name of work and the category ...
0
votes
1answer
76 views

Most efficient use of custom taxonomies, categories, and pages

I've been researching the difference of taxonomies vs. categories vs. custom post types vs. etc. and have been beginning to pickup on the differences. However I still can't wrap my head around when it ...
0
votes
1answer
69 views

WooCommerce product permalinks

How can I do to have my product links as mysite.com/name-of-my-product? I tried the WooCommerce options but I can't remove the base string before the product`s name from the url structure. Thanks
0
votes
1answer
46 views

append links with unique number string

I am in the process of developing a WordPress theme for a news site that delivers the news in bitesized chunks with the story regally updated with new content. What I am having trouble with is this: ...
0
votes
1answer
80 views

How to mix pages and sub-categories in a url

I have a series of products which are organized into categories like: Windows Product Lines Specific Window type post Initially I created a page (/windows) which links to the individual ...
0
votes
1answer
148 views

Cross post type parent page added parent page to permalink but give 404

I have made some custom post types with Magicfields. I need to set the parent page for a custom post type to a standard wordpress page. Figured that out with the help of this: ...
0
votes
1answer
25 views

Rename category part the permalink without .htaccess

I have pretty permalinks that look like this: http://mysite.com/category/my-blog-post/ I want to rename "category" into "company-news", to make it look like this: ...
0
votes
1answer
26 views

Tag URLs load a single post

I recently rebuilt a WordPress install (maintained database, replaced WordPress/plugins/theme files) after the site was compromised. It is working more or less correctly now, with the exception of tag ...
0
votes
1answer
113 views

Wordpress Permalink Redirect 301

<?php $permalink = get_permalink( $id ); header("Location: ".$permalink, true, 301); ?> Iam redirecting the URL without the id to id with 301 this php code is giving me problems, is the ...
0
votes
1answer
143 views

Remove subfolders from URL

I am having a tough time removing the subfolders from the URL in my WordPress site. Currently, the URL format is: www.mysite.com/subfolder/index.php/category/postname I would like to remove both the ...
0
votes
1answer
62 views

Storing postID in session variable to query database when visitor on custom template page

I have an application with 3 custom post types, A, B, and C. The post types B and C are related to A using acf relationship fields. I've designed a single template for A post types. When viewing this ...
0
votes
1answer
31 views

permalink repeated

I just moved my blog to a new server (I've updated the dns). Everything is fine except the permalink settings. I used to choose the day-name style like: mydomain.com/blog/2013/08/28/sample-post/. ...
0
votes
1answer
1k views

Use WordPresss menus with anchors

I have a CPT archive page and I want to create a navigation menu which will jump to anchors in the form <a name="post-slug" http="{the permalink goes here}>The CPT Title</a> I have been ...
0
votes
1answer
91 views

Custom permalink variable on single post

I'm trying rewrite url for permalink on single post my permalink: /%postname%/ My single form: http://example.com/abc-def/?chapter=1 adc-def mean: %postname% i want permalink is: ...
0
votes
1answer
115 views

Pretty links for PHP pages above WP /blog directory?

I've made a new WP installation in a subfolder /blog, set up with "Post name" permalinks. I'm ready to make several other non-WP website PHP pages which would reside above the /blog directory. I was ...
0
votes
1answer
83 views

Image format not using single-image.php

I am trying to isolate a particular post format for images, and reading the Codex, I thought it would be possible to create a new template file single-image.php. However, that file is not being used. ...
0
votes
1answer
30 views

Permalink / sub-template issue

I've got a WP page with many subpages with their own template. The main template includes them. Each element with its own template can be received with an id and an anchor that is linked to this idea, ...
0
votes
1answer
193 views

Custom Permalinks for Custom Post Types and Taxonomies

I've been struggling with this for hours. I'm trying to get this URL structure: example.com/business/%custom-tax-name%/%custom-post-name%/ By custom tax name I don't mean the name of the taxonomy ...
0
votes
1answer
87 views

How to remove permalinks links presents in each page of my site?

I have this WordPress static site: http://www.saranistri.com/ As you can see at the end of each page there is a link named Pemalink into a box. I want to remove this box and this link. Can I do this ...
0
votes
1answer
92 views

Pretty Permalinks cause site to crash on main domain

Here is the problem I am getting in a nutshell. Pretty Permalink + Main Domain = Site goes down Immediately. MySQL gets hammered. Pretty Permalink + Sub-Domain = Site is up No Permalink (default ...
0
votes
1answer
32 views

How to configure Wordpress to be a subdirectory of my main site as mymainsite.com/blog?

I have developed a site www.mainsite.com based on Ruby on Rails hosted on Heroku. I have also developed a blogging site based on Wordpress at blog.mainsite.com hosted on Dreamhost. I want our users to ...
0
votes
1answer
65 views

[Plugin leenk.me]modify get_the_title

I use a plugin called leenk.me to post messages to Facebook based on my posts. One of the custom fields is %TITLE%, which posts the title of my post and the link to my post. if ( false === ...
0
votes
1answer
53 views

broken permalinks in responsive layout

In full view (when I can see all items in the top menu) my url to pages works well - the url is mypage.com/mysite. When I resize my window so I can see the drop-down top menu for pages, or see my page ...
0
votes
1answer
34 views

Problem when i configure permalink

When I changed the permalink to /%postname%/ I lost the connection with server... and I need to clean .htaccess to access again... how can i fix it? What do I need to put in .htaccess? My current ...
0
votes
1answer
60 views

Use shortlink as permalink

I'm using Url shortener plugin with bit.ly API. When I use the bit.ly url, it's redirecting to my Wordpress permalink. How Can I use the bit.ly all the time ? I want the bit.ly url become the ...