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
2answers
23 views

Custom Post Type Permalink Page Not Found

I've been wasting hours and hours trying to solve a permalink issue with custom post types. It keeps returning page not found (404). When I use the default permalinks, it works, but when I switch to ...
0
votes
0answers
6 views

Override category permalink to match old non-WordPress links?

I am migrating a currently static website to WordPress. The pages have the following structure: Products (parent page) - Product 1 (child-page) - Product 2 (child-page) - Product 3 (child-page) ...
0
votes
1answer
20 views

How wp maps urls into files

I am trying to understand how wordpress works. I have found this line of code in my theme: <?php echo get_permalink(get_option('Theme_search_page_id')) ?> If I get the that option from mysql ...
0
votes
0answers
9 views

I need to change my wordpress permalink structure to mysite.com/taxonomy/post_type/post_title

I have three post types like post_type1, post_type2, post_type3, which are having same taxonomy "region" now i need my permalink structure like mysite.com/region_name ...
0
votes
2answers
34 views

Echo title with permalink

I was creating a wordpress sidebar widget that will display recent posts. For, this i've created a custom widget(popular_posts_widget.php) and included in my theme functions.php. I was trying to ...
0
votes
0answers
8 views

blog directory created under the root

Scenario: Wordpress is installed in the root; I created 2 pages Home and Blog; I set Home page as static page for root (http://www.mysite.com/) and Blog page for static page for blog article ...
1
vote
0answers
14 views

Add more structure tag to permalink?

I'm new in wordpress .I wondering is there anyway to get the category id in permalink ? My current permalink is : http:///example.com/%category%/%post_id%-%postname%.html ...
0
votes
1answer
7 views

Conditional Permalink based on category?

There have been unanswered questions about this here and in the WordPress support forum. Is it possible to have a conditional Permalink structure for all posts in a category? for example, ...
0
votes
1answer
9 views

Wordpress URL Problems After Change it

I have error im my link in my site. I have 2500 post in old site with link like:- www.domain.com/mm-123.html And now i change to WordPress and change URL to :- www.domain.com/sample-post/ Now, ...
0
votes
1answer
29 views

Permalink of custom post type partly broken

I'm running into some issues while working with a custom post type (CPT). The problem is that the permalinks of the CPT are fine for a single post but not for the archive/overview page. The website ...
0
votes
1answer
16 views

Redirect after permalink changes

In old site I had the permalinks like: www.example.com/q-html.html When I change my old site to WordPress 4.0, I set the like: /%postname%/ When the URLs come up in a Google search, the user is ...
0
votes
0answers
8 views

Copy from column to another column with replace space

I have posts in my DataBase like this:- ID post_title post_name Date 11 News title test2 22-10-2014 12 News title test3 ...
0
votes
0answers
30 views

How to increase the character limit for post name of 1000?

I have error in permalink, I have post that title is big like :- التعادل الخامس على التوالي بين السعودية وقطر Now when open the post in my site i see permalink like :- www.domain.com/التعادل ...
0
votes
0answers
8 views

All Blog Links Return to Home Page

I have a website that has an HTML home page with a WordPress blog in its own subdirectory. Upon clicking the link to the blog, you are taken from the HTML home page to the WordPress blog, but when you ...
0
votes
1answer
24 views

Permalink Custom Page Template

I have template file named "page-manga" in my theme folder and my page's named manga too. In that template I have manga reader script running. Manga reader script has own variables. Wordpress ...
0
votes
0answers
16 views

Menu links' destination url changed to an hashtag

Here is the website: http://www.aiteq.it In the menu on the left, all of the links seem to point to "#",instead of the pages selected in the wordpress menu section of the control panel. Viewing the ...
0
votes
0answers
12 views

Make a custom permalink for a specific category

I would like to make 1 post and check off 2 categories, say cat1 and cat2. I want cat1 to spit out my post like this : site.com/past-name Then cat2 to spit out the same post like this : ...
0
votes
0answers
12 views

one of my multisites comes up with a 404

I'm having a really hard time with a multi-site. I have a main site, and 9 sub-directory wordpress sites that all seem to be working fine except ONE for "san-diego." When I visit that site's ...
0
votes
1answer
15 views

Add custom post type name in term link?

Is possible add name of custom post type in link of taxonomy term and remove slug of taxonomy? The default link is: slug_taxonomy/term_name I like: post_type_name/term_name Note: I use WPML ...
0
votes
2answers
24 views

Change Buddypress Admin Profile Page Permalink

Does anybody know how to change the default admin profile permalink in Buddypress which is: domain.com/members/admin/ to this: domain.com/members/MyUserName/ I tried to change my name and it doesn't ...
0
votes
0answers
25 views

Is there a way to add slug to home_url on this function?

I have a hard time figuring out how to do the following. I have this function, which broadcast an url from my wordpress posts to my social accounts on Twitter and Facebook, but it shares them with the ...
0
votes
0answers
11 views

How do I link from Thumbnail ( Fragment ) to post?

I'm new so be gentle. I am using a content slider that uses "fragments" for thumbnails beneath the slider. It uses this code to display those thumbnails: <a href="#fragment-<?php the_ID(); ...
1
vote
1answer
24 views

Nginx url rewrite rule problem

I am facing a problem with the permalink. Urls like http://example.com/sub-page/ works fine with the help of try_files $uri $uri/ /index.php?q=$uri&$args; Right now i am working on temporary ...
0
votes
1answer
22 views

Permalink for PDF of article

I'm trying to learn if this is possible, and how I might go about implementing it. Our site is a scientific journal, and our published articles follow this permalink structure: ...
0
votes
1answer
38 views

template_include not loading -instead goes to index.php

I have the following code: <?php function ex_rewrite_rules(){ //discography query variable rewrite add_rewrite_rule( 'artists/([^/]+)/discography/?$', ...
0
votes
2answers
36 views

Permalinks not working (.htaccess is writable)

I've just recently setup a new Wordpress site on a Debian based VPS. I've managed to get everything working fine except for the permalinks. None of the options work except for the default one. My ...
0
votes
1answer
81 views

Permalink with a Category and then a Post

I have a multsite Wordpress install and each site can have their own categories. I would like the site URL to be the new site name and then a cateogry and a post or page name. For example, if I have ...
0
votes
0answers
17 views

Keep wordpress from modifying my permalinks

How can i stop wordpress from modifying my permalinks. It is like it has a mind of its own. If I have title of the page such as: Top Benefits of Red Apples, the permalinks is top-benefits-apples. ...
0
votes
0answers
22 views

Using categories and pages in menus

I've got a problem with mixing categories and pages within menus. As a fictional example: - About us (custom page template) -- What we do (page) -- Key staff (page) -- CEO blog (category) ...
0
votes
0answers
27 views

Custom Post Types and rewrite rules - One CPT works and a cloned one doesn't

I have two Custom Post Types in my plugin and have a custom single-{cpt}.php file for each in my theme. Each page grabs the content from a specific wordpress post. The first 'house' post works but the ...
0
votes
0answers
16 views

Links not working on “post name” permalink

I am working on wordpress 4.0 I have uploaded a WordPress site on live server and have done all the changes in database files and config and site is working properly with index page, but when i click ...
0
votes
0answers
17 views

Shop coding dynamic permalinks & titles

I have built a shop application using php and mysql and wasn't sure how to add it to wordpress but I had a stab at it anyway, I managed to get it to function fine but because the pages are dynamically ...
0
votes
3answers
185 views

URL rewrite and navigation structure for wordpress custom post type

I have created the following custom post types: Artists Albums Songs Songs are children of Albums, Albums are children of Artists. I am trying to set up a navigation structure that shows this ...
0
votes
1answer
43 views

Wordpress Permalinks not working in Apache2 Ubuntu 14.04

In my local machine, wordpress permalinks not working. After research I found that wordpress not creating .htaccess file. For this I followed below steps. Manually create a ".htaccess" file and ...
0
votes
1answer
39 views

Get permalink of a post without using Wordpress functions

I'm trying to get the permalink of a post without using Wordpress functions and am trying to find the best way to go about it. Basically whats happening is that I have a multi site install of ...
0
votes
0answers
24 views

Trouble with custom post type archive on multisite install

I have a problem with a post type archive on a multisite install. When try to access it on one of the sites I end up getting a 404. Checking the url shows the following, all other sites work without ...
0
votes
1answer
26 views

Pagination url for page template

I am creating a page template in WordPress to show all my posts. But i have a problem with pagination. I have a page url like below: http://localhost/sdd/video "video" is my page slug. And the ...
0
votes
0answers
42 views

Custom post type empty slug breaks permalinks for pages

In attempt to avoid posting a ticket to essentially reopen #15082 I'm posing here first. I have been vigorously dealing with this CPT permalink rewrite for countless hours now. After a 3am kinda night ...
0
votes
0answers
41 views

Custom Page Taxonomy - 404 errors all over the place

I keep looking at the same few lines of PHP over and over again, and I can't make heads or tails out of why the 404 errors are happening. Here are the lines: add_action( 'init', ...
0
votes
0answers
12 views

two permalinks for the same post

Do you know a way of having two permalinks for the same post? I have post with an hebrew slug and i want to have the same result with an english slug i'll give it.
0
votes
0answers
31 views

Page Type with Category Link

I have a custom-page type "page-clients.php" which loads category of "clients". Example: http://website.com/clients (all clients-working) Example: http://website.com/clients/9 (sub category ...
0
votes
0answers
18 views

wp_publish_post to saved draft, permalinks broken

I'm creating a system, where some custom post drafts are being prepared, and after certain actions taken by moderators it is being automatically published. So, first I create post draft like that: ...
1
vote
1answer
82 views

Change in permalink structure made javascript cookie not work correctly

My site needs a mechanism where a user is sent to agreement page when he visits the site for the first time. Once he accepts the agreement, it is saved in cookie. He can browse any page directly after ...
1
vote
0answers
23 views

Base permalink for custom taxonomy

I'm using custom hierarchical taxonomy that is attached to custom post with following structure: www.mysite.com/movies/drama/example/ where "movies" is a slug for custom taxonomy and "drama" is an ...
0
votes
0answers
12 views

Lightbox and add_rewrite_endpoint

I have the following code for custom URLs: function wpa_gallery_endpoint(){ add_rewrite_endpoint( 'gallery', EP_PERMALINK ); add_rewrite_endpoint( 'photos', EP_PERMALINK ); } add_action( ...
0
votes
0answers
40 views

Issue with pagination() get_pagenum_link() and language permalinks

I'm quite new to Wordpress and php. I managed to put up a site running on three languages with a plugin called "qTransalte" and a theme that had blog posts, slide posts, portfolio posts and highlight ...
0
votes
0answers
22 views

get_tag_link returns all posts

I recently changed my permalink structure from 'default' to 'day and time' and as a result my index page has stopped working. Before it would return only the posts with the relevant tag but now it ...
0
votes
0answers
23 views

Prevent guessing slug

I have the following rewrite rule function add_rewrite_rules($rules) { $new_rules = array( 'buscador-latte/(.*)/?$' => 'index.php?page_id=866&search_parameters=$matches[1]', ); ...
0
votes
0answers
8 views

Bad attachment links (starting with “../wp-content/uploads”)

For some reason, WordPress is generating attachment images with bad links (beginning with a relative call, which breaks with prettified URLs). The links begin with "../wp-content" - and I can't figure ...
0
votes
1answer
25 views

Define a Permalink Structure by Post and Page

All, I have a post that works fine with a permalink setup. However, I also have a page called gallery. What I would each post can have a page. So for example I have a post named business-name so my ...