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.
4
votes
1answer
529 views
use navigation path from menu for permalink
I now switched to permalinks and defined my own structure
/%postname%. If I click on a menu item it takes the path from the parent page (hierarchy defined directly when editing a page). I want that ...
3
votes
1answer
81 views
Creating custom permalink structure for languages
I've written a simple multi-language system, whereby clicking on a flag icon sets a one year cookie containing a two letter language code (e.g. nl, de, etc).
I hook into the wp action to read the ...
3
votes
1answer
137 views
Custom taxonomy on permalink
I have a long time problem and look forward for your help.
I have a custom taxonomy of "city" (it is no hierarchical like tags).
I just would like my URLs to look like this:
...
3
votes
1answer
121 views
rewrite get parameter with custom post type
I am trying now for a couple days to solve the following Problem:
I have a custom post type called gallery. I need the URL
http://example.com/gallery/FOOBAR
to be parsed like
...
2
votes
1answer
197 views
Redirect old permalinks to new permalinks
I changed the permalink structure from /%category%/%postname%/ to /%year%/%monthnum%/%postname%//
How can I redirect all old posts to the new ones (eg: via htaccess)?
2
votes
1answer
110 views
Adding another word in front of post url
I have a wordpress website with bunch of posts.
My problem is that I need to change the URLs from
website.com/post-name
to
website.com/specialword/post-name
The "specialword" is what I need to ...
2
votes
1answer
506 views
Remove parent slug for child pages
I'm looking for a plugin/custom function that removes the parent slug of a child's page permalink.
Something that automatically changes the permalink for child pages.
Example:
...
2
votes
1answer
50 views
After updating a page, all pages on the site used the index.php template
I am having a strange problem with a site I am currently building. I will try to give as much detail as possible in the hopes that somebody is able to figure out what is causing this :)
Overview of ...
1
vote
1answer
24 views
How to use all tags in post permalinks
My site with pictures is set up so that the posts do not have a title and have only tags.
I would like to know how to use all tags in permalinks settings?
1
vote
1answer
25 views
Default permalink changes
I need to use in my permalinks same titles for different post types and as far as I know the slug must be unique so the permalinks cannot be:
custom-post-type-1/hello-world
...
0
votes
0answers
60 views
permalink and add_rewrite_rule - error 404
I'd like to have comments in a separate page with a dedicated template only for posts in a specific category (slug shops). Example: mysite.com/post-incatshops --> mysite.com/post-incatshops/comment
...
0
votes
0answers
33 views
Permalinks do not work on Event sub-pages
I use the Event Manager Plugin, and I'm having a problem with permalinks. When I set "Post name" option, I get "Page not found".
I have an event page: example.com/events/event-1/
This Event page has ...
0
votes
0answers
25 views
Adjusting Pagination
I am currently try to fix some issues in the pagination on one of my client's sites. The code that was in place is:
if (!function_exists('prime_pagination')) {
function prime_pagination($args = ...
0
votes
0answers
53 views
how to set up permalinks to contain special characters
I have been trying for months to make a one page WordPress site. This site has need for a special character set in the navigation in order to work. Each page is set up in an unordered list based on ...
0
votes
0answers
16 views
Configuring custom taxonomy with permalinks
I have a custom taxonomy that I would like to show up in my URLs. I also have a custom post type that the taxonomy is associated with. The custom post type is set to be a book title. The taxonomy is ...
0
votes
0answers
20 views
TCPDF and permalinks
I am currently using a post to pdf plugin 'Hacklog down as pdf' which works ok. I've used it before in a current working environment.
It suddenly stopped working but I have found out that when ...
0
votes
0answers
56 views
Custom Post Type Link not working
I have been messing with this problem for 3 weeks already with still no results. I downloaded the Rewrite Rules Inspector and Flushed the rules that are missing.
The server I'm using for hosting uses ...
0
votes
0answers
22 views
WP pages return 404 after BP installation
I am running an installation of BP 1.7, which I am loving to bits.
All my permalinks within BP (members, activity, etc.) work perfectly fine, but my "regular" Wordpress pages (about, contact, etc.) ...
0
votes
0answers
31 views
Create custom permalinks / rewrite
How can create a custom permalink in my functions file that would include a template page
when you go to a custom url: http://example.com/members/settings
I have a template page at ...
0
votes
0answers
39 views
Trouble with pretty permailnks buddypress .htaccess custom posttypes
I have a buddypress/bbpress website that also has multiple additional custom post types. After adding each new custom post type I would update permalink settings to correct the 404 not found occuring ...
0
votes
0answers
21 views
How to create link to posts in WP-Markdown
I am using WP-Markdown plugin for writing posts. In one post I wanted to add a link to another post, but since I am using Markdown editor I had to add the URL (permalink using month and name) of the ...
0
votes
0answers
32 views
Include other parameters in permalinks for better management of browser history
In single.php, I have the following items that I manage (create, update, hide) with jquery/ajax:
a <select> tag in which I return all website categories.
a second <select> tag in which I ...
0
votes
0answers
28 views
standard post with extra parameter brings permalink problem
This problem concerns several rewrite rules, but i'll stick to one, for clarity.
In my theme, i use a parameter "parentid" which gives me the page/post/custom post i've clicked on (the parent).
in ...
0
votes
0answers
42 views
Hierarchical Custom Post Type Permalinks, %postname%, Rewrites, Permastructs, Oh My
First go at programming with WordPress, I am trying to use custom post types (CPT) to organize 'Log' 'Entries' by 'Console'. So it's a one-to-many relationship between Consoles and Logs, and ...
0
votes
0answers
77 views
custom Wp_Query / permalink + wp_pagenavi = not working
Testing it in my WAMP environment (with default permalinks), next/previous/page number(s) (links) pulls up the appropriate information - pushing it to live with a custom permalink structure results in ...
0
votes
0answers
47 views
Use $_GET with permalinks on page
I'm currently trying to use a $_GET to populate a MySQL query with in a URL on another page within a Wordpress site.
URL sample:
<a href="http://site.com/file.php?alabama">Alabama</a>
...
0
votes
0answers
31 views
Complex regex to add_rewrite_rule
I'm making a plugin and I need to get the URL stay that way:
/user/user-name/musics/music-category-slug/page/1
Real example:
/user/mike-yoles/musics/rock/page/1
.
user/ => post_type ( I ...
0
votes
0answers
36 views
After server migration (local server to online server) permalink don't work
I am finding some difficulties with Permalink after have migrate my blog from my apache local server to an apache online server.
I have used the Search and Replace Tool on my online server script: ...
0
votes
0answers
93 views
Problem with permalink structure of parent-child custom post type
Okay,
This is the scenario.
I am building a hotel website using WP.
I have two different CPT, which are hotels and rooms
I have set up the pages and archive for hotels.
Now 'rooms' is the child of ...
0
votes
0answers
56 views
How to pull Magic Field items in a group by a specific permalink and not the list order?
I am currently making some fixes to a site that someone else built. They have a custom post type called 'News" within that is a group called 'Category List' with an image, title and description. The ...
0
votes
0answers
27 views
Wrong permalinks for custom post type on multisite install
I'm working in a multisite instance of WP that is using subdirectories and am trying to add a custom post type to a child site.
I'm trying to get custom post permalinks that look like so:
...
0
votes
0answers
29 views
Looking for a way to give deeper links on the menus
Is there anyway to make links as sections?
for example:
www.mywp.com/en/company/about
www.mywp.com/en/company/contact
www.mywp.com/en/company/jobs
www.mywp.com/en/product/one
...
0
votes
0answers
49 views
Is redirection possible without WP permalink nor plugin?
I have to set a new version a site (which wasn't made with WP), and i need to 301 redirect my old pages for obvious SEO purpose.
At the moment i have issues with my WP permalink rewriting, since i ...
0
votes
0answers
35 views
How to hide custom post types/taxonomies from permalink structure?
All questions about post types/taxonomies and permalinks seem to be about altering and changing the permalink. I wonder how to hide a post type or a taxonomy completely from search engines, prevent ...
0
votes
0answers
49 views
Problem with adding rewrite rules when using permalink redirection
When you change the post_name of a post, WordPress keeps the old post_name in the posts_meta table as wp_old_slug linked to the same post_id so the redirect from the old permalink to the new works ...
0
votes
0answers
44 views
Permalink rewrites not working
with a structure of http://mysite.com/myblog/ I am trying to set up rewrite rules for the pages and posts in the blog, but they break and show a 404.
I confirmed that mod rewrite works by manually ...
0
votes
0answers
35 views
Remove child categories from permalink
I have a custom post type permalink setup which looks like:
.../post_type/%category%/%postname%/
The problem is that when I have sub-categories, it adds them in the URL.
Instead of:
...
0
votes
0answers
43 views
Add query var to every post permalink
I have to add a variable value myvarvalue to every post permalink. Every post could have it but could also be empty, so it's not necessary they will have.
The permalink should be: ...
0
votes
0answers
38 views
How to set a Custom Post Type as the parent of a WordPress Page?
I have a Custom Post Type called Recipe with permalink mydomain.com/recipe/a-recipe-name.
I would like to create a subpage (containing some details on the recipe) with permalink ...
0
votes
0answers
68 views
Relative or Absolute Paths for Flash Video Player Files
I have a Flash SWF file working correctly in the root of my website. It is fully embedded, with everything including the player hosted directly on the website (not a YouTube embed).
This flash file ...
0
votes
0answers
37 views
Link to portfolio page
I am using panoramica theme. I have made a portfolio item in category solutions and I have another subpage with of this portfolio page which is another portfolio page. I want to give the link to one ...
0
votes
0answers
20 views
Link to the same page ( action=“whattowritehere?”=
I am really noob for web and just got jumped in the middle of it... so there are my code which is working perfectly without wordpress..but if i use it with a custom template the buttons actions didnt ...
0
votes
0answers
61 views
Domain & Wordpress Installation on seperate Servers
Today I wanted to change my wordpress url. I register the domain from another provider, not from my own host.
This morning, I got an mail from the registrar saying that the url now points to my ...
0
votes
0answers
55 views
Setting breadcrumbs to show both parent and child
Good day
In Wordpress, I have a a parent category and several child categories of that parent. Now I made a post that has category 'child'. Whenever I click on the post in the browser, the breadcrumb ...
0
votes
0answers
52 views
Auto Generate Image Link After Image Content
I want to ask with all, i'm very stupid coding! i don't know what this is.
I have auto wallpaper site with one pic/post, but i'll put auto generate download image link after that wallpaper (just image ...
0
votes
0answers
48 views
Blog page nav not working with default permalink structure
I have a piece of php code that creates nice looking page navigation, however when the permalinks are set to default rather than something like post name the pagination buttons don't work and just ...
0
votes
0answers
135 views
How to change the permalink structure of the default post type
This Custom permalink structure only for default posts looked like the perfect answer:
add_action( 'init', 'my_new_default_post_type', 1 );
function my_new_default_post_type() {
...
0
votes
0answers
52 views
How to add a custom permalink to posts that have one specific tag or category?
sorry if the title doesn't explain well what I want... I'll write an example. I have set one Wordpress site with this permalink settings:
/%postname%/
That's what I need for mostly of the posts, but ...
0
votes
0answers
103 views
.htaccess & permalink causing 404 errors on old pretty links
Ok, so I know similar issues have been posted before but I have yet to find a solution.
I was foolishly messing around with plugins and my .htaccess last night and got myself into this pickle. ...
-2
votes
0answers
22 views
How to change permalink in wordpress for a single category
I'm using this permalink for all /%category%/%postname%/. Due to some reasons i want to change permalink to %post_id% for a single category and it's sub-categories.
i.e. For all permalink is like ...


