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

Custom Post Type Pretty Structure

I am customizing a wordpress installation with a custom post type and have a problem with the permalink structure. I added a team_member CPT, and the contents should be visible in a specific URL: ...
0
votes
1answer
44 views

Change Image depending on page path

In my header.php I have the typical header code - this is for woocommerce but the coding has nothing to do with it: <h1 class="page_title"><?php woocommerce_page_title(); ?></h1> ...
0
votes
2answers
18 views

Custom Taxonomy Breaks Pages

I have a custom taxonomy called 'industry' that I want to use on custom post type 'website-design'. It works on the intended post type, but other pages are broken. I changed the 404 template as per ...
0
votes
2answers
22 views

How to stop permalink redirects for a particular slug

I have a large number of posts that each represent a very specific type of data. Each post title is the SKU for the data & information. Folks have become pretty savvy on the URL structure and ...
0
votes
0answers
22 views

Page with children of different post types

I want to have a Page post_type: page as the Parent of my structure. It should be possible to access post_type: page and post type customfrom the secionts slug: example.com/structure_parent Should ...
0
votes
1answer
86 views
+50

Custom Taxonomy breaking pages permalinks

I'm stuck for some days with this problem and I don't know what else to do. With %somethingHere% on slug rewrite, pages permalinks are broken (CPT AND CT OK). Without, I don't have my desired Post ...
0
votes
0answers
22 views

Wordpress Pagination Not Working After Transfer from Localhost

I have the following code for wordpress pagination: function sds_pagination(){ global $wp_query; $big = 99999999999999; echo paginate_links(array( 'base'=> str_replace($big,'%#%', ...
0
votes
0answers
14 views

Pretty permalinks arent working with quiz plugin [closed]

I have installed and running quiz master next plugin, I created several quizes on it and they work fine submit data to database show results etc, however they only work when I am using ugly ...
0
votes
2answers
25 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
16 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
20 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
9 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
25 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
5 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
24 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
23 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
16 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
28 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
54 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
17 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
15 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
30 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
10 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
29 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){ ...
5
votes
1answer
53 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
37 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
93 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
17 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
21 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
48 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
62 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
12 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
37 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
17 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
12 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
10 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
37 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
20 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
38 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
11 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
40 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
28 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
13 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
31 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
32 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 ...