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

Is there a way to regenerate page permalinks without a plugin?

I'm working on a site which has some incorrect permalinks contains 'home-2' e.g. http://example.com/home-2/pagetitle/. I have no way of knowing where home-2 came from and manually editing the ...
0
votes
1answer
17 views

Page_link change

I'm trying to change default pages post type permalink, I'd like to add a '.php' to its end for example: home_url() . post_name . '.php' I can't use WordPress permalinks page because I'm using it ...
1
vote
1answer
28 views

Link to external URL

Only information I found on this were hacks 6+ years ago or plugins. Quite simply, I want to grab a URL (www.google.com) from a custom post type and make a link that links to that URL. Currently, my ...
0
votes
1answer
28 views

Add Custom Pagination Permalink

I'm trying to create a page with multiple loops on it and as such also need multiple pagination. This is proving to be a touch difficult, I've managed to get the links to show correctly by using the ...
0
votes
0answers
23 views

Htaccess https 301 problem

Since 2 weeks I have installed an SSL certificate on my domain. I have changed my base urls to https so my canonical url is https now. But now I need to force to https. I did this with the below ...
0
votes
1answer
33 views

Accidentally changed the permalink structure

I've changed the permalink setup on our webpage and now none of the links to the blogs are working. To be honest, I didn't really need to do it, but I was really trying to add a bit more of a ...
0
votes
0answers
6 views

WordPress menu link redirecting

I have a WordPress menu item that I want to link to http://forum.secdefus.com. I have set the menu up as such. Mousing over the link on the site displays "forum.secdefus.com" in the bottom left hand ...
0
votes
1answer
32 views

Wordpress Permalinks 404 error

Using Default Permalink Settings '/?p=123' works fine for me for every single page and it shows website urls like " ://mywebsite/solutions/?page_id=580" but When i changed it to /%postname%/ or to ...
0
votes
0answers
40 views

Custom post type and shared custom taxonomy ..permalink structure

hope someone can help me since I'm fighting with this issue since weeks without a solution. Scenario: ~ 15 different post types (hotel, bed-and-breakfast, etc) -> reason to use the post_type ...
1
vote
1answer
18 views

Custom post type permalink returns 404

Mates, I've created a custom post type. Created some posts of that type, but when I try to access to any of them, I get 404 error. Also created single theme (single-pb_progproy.php). Here's the ...
0
votes
1answer
50 views

Can't edit Custom Post Type slug/permalink

I have a custom post type and the permalink shows up but I am unable to modify it like I can with Pages and Posts. Is there a way to enable this? I have a few conflicts with some pages and I'd like to ...
-1
votes
1answer
61 views

Create monthly archive for parent category

Part of the website I'm working on is meant to function like a monthly magazine, with a few different departments. So I have 'Magazine' set as the parent category, and say 'Art' and 'Music' as child ...
0
votes
1answer
21 views

unwanted redirect

Built a custom theme for a client, everything has been working great for the last month. Today I noticed the "Aircraft" page was redirecting to the front page. Checked everything, refreshed ...
0
votes
0answers
21 views

PHP Rewrite Wordpress Folder to act as query string variable throughout site

I'm hoping in this is a possibility with Wordpress and I have been researching this for hours online and I'm not find a definitive or simple working example of how to achieve my goal. I need ...
0
votes
1answer
40 views

permastruct for custom post type not working in one of four cases

I've created custom permalinks for various custom post types on a website. They all worked. Until recently I added another one, which I cannot get to work 8-o. The "company" struct is not working and ...
0
votes
1answer
21 views

add_rewrite_rule with 3 or fewer matches?

I've been reading around a lot on here and Google to do with custom rewrite rules in WordPress and add_rewrite_rule. I found Jan Fabry's answer particularly helpful, but I'm now a bit stuck. I am ...
0
votes
0answers
33 views

Search page Paginations not working

This is what I use in all my other pages that require a pagination. <?php endwhile; ?> <?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ($total_pages > 1){ ...
7
votes
2answers
164 views

Get default permalink structure from pretty URL's

When a single post is clicked on from a category page or for that matter any page, you can get the URL of that referrer and parse it to get the query string. But this only works with the default ...
0
votes
1answer
49 views

Custom taxonomy rewrite in permalinks for posts gives 404 on pages

So I've got a custom taxonomy (called "version") for just posts wich works fine.. My Problem is that i want to use this tax in my permalinks eg URL.com/12-3/cat/postname.. which works also fine for ...
1
vote
2answers
114 views

How to generate random numeric slugs for a custom post type?

I have this PHP code to generate a random numeric string: function generateRandomString($length = 12) { global $generatedStrings; $characters = '0123456789'; $randomString = ''; for ...
0
votes
1answer
21 views

Multiple Custom Post Type permalink issue

I have 2 Custom Post Type(Our Works and Case Study) in a WordPress site. If I add same postname(Pepsi) at my 2 Custom Post Type(Our Works and Case Study) the permalink will show given below: 1) ...
0
votes
0answers
23 views

Get the post URL from wordpress posts

I am not able to get the actual wordpress URL from the blogs in my multisite wordpress Here is my code: <?php $args = array( 'network_id' => $wpdb->siteid, 'public' => ...
0
votes
2answers
99 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 ...
1
vote
1answer
65 views

Override category permalink to match old non-WordPress links?

I am migrating a currently static website to WordPress. The pages (I am using pages, not posts and categories) have the following structure: Products (parent page) - Product 1 (child-page) - ...
0
votes
1answer
22 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
16 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
43 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
21 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
20 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
12 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
40 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
27 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
10 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
42 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
15 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
48 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
44 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
17 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
15 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
63 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
41 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
30 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
96 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
41 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: ...
1
vote
1answer
61 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
59 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
84 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
22 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. ...