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.
0
votes
0answers
16 views
get_attachment_link() adds a hashtag to URL
I'm using the get_attachment_link() function in a site I'm developing and it's returning a really weird result. For some reason it adds #main at the end of every url.
...
0
votes
2answers
25 views
Custom Post Type Permalinks with %category%
I Create New Post Types and Taxonomies. This is the script:
add_action('init', 'my_custom_post_type_init');
function my_custom_post_type_init()
{
$labels = array(
'name' => _x('Roundabouts', ...
0
votes
0answers
18 views
Plus sign in query string to custom page gets 324 server error
OK, so I've created a page (http://justinhealth.com/testsite/error-signing-up). It's a custom error page for iContact.
Now, when there's an error in iContact's signup, it actually goes here:
...
0
votes
1answer
15 views
Update permalinks after domain change
I installed my blog in a free hosting webpage, the hosting gave me a free domain and I used that domain in my blog, then I did buy a .net domain, I changed the URL in Settings->General of my ...
0
votes
0answers
21 views
Fix my url problem in wordpress [closed]
I have a website which runs on a bing api. The site is imgpot.com and if you open the site in chrome and open any image on the right side then you will see the URL is broken and it adds %20 between ...
0
votes
2answers
33 views
Permalinks problem with custom theme
I am pretty much learning by doing a custom theme from scratch (not a child theme), and have had much trouble with permalinks.
In the permalinks settings page on the wp-admin, if I put any option ...
0
votes
1answer
18 views
Custom taxonomy rewrite using tax name instead of rewrite slug
I Created a custom taxonomy for my projects custom post type.
function projects_taxonomy() {
$labels = array(
'name' => __('projects Categories'),
'singular_name' => ...
1
vote
1answer
38 views
why does anchor name add a slash to url?
I am trying to do what should be some the most basic html, but it's not working for me. Here is my code:
<a name="rocket"></a>
<div>
<h3>The Title</h3>
<p>some ...
0
votes
1answer
26 views
how to set up wp in folder within static website?
In my server I have the following file structure:
www/
index.html
js/..
css/..
img/..
index.html
...
blog/
.htaccess
index.php
wordpress/
.htaccess
wp-config.php
...
0
votes
0answers
11 views
Help with recreation of custom archive area
I have a client who would like to emulate the way the archive works on this site, http://www.garancedore.fr/archives/
We're not so much bothered about the ajax reloading, but rather the /archives/ ...
1
vote
1answer
38 views
Post preview gives 404 when permalinks are purely date based
I have an issue pertaining specifically to the situation in which permalinks are set to be based only on publication date. My permalink structure is as follows:
/%year%%monthnum%%day%/
When I try to ...
0
votes
0answers
20 views
Search points to /search/?s=KEYWORD instead of /search/KEYWORD
I can access my search page and results correctly here /search/KEYWORD but when I click search it points to /search/?s=KEYWORD.
I updated my permalinks in the admin.
0
votes
0answers
33 views
Remove 'wp' from wp-login.php url for Multisite
I know this has been asked more than a few times, but... How could I make "mysite.com/whatever/wp-login.php" show up as "mysite.com/whatever/login" for a wp multisite?
To clearify, not just redirect ...
2
votes
2answers
51 views
Change permalink for existing post type
At present i'm using this permalink structure /%cateogry%/%postname%/. There are some existing post type. I want to change permalink for image post type to image/%post_id%/, and don't want to affect ...
1
vote
1answer
22 views
Permalink redirection from 'Day and name' to 'Post name'
In my blog, I used the Day and name permalink structure for many days. Recently I came to know the SEO tips and made the permalink structure to Post name.
So I migrated from:
...
0
votes
0answers
21 views
Custom Post Type and Taxonomy pagination permalink
I have a custom post type of galleries with pagination for the posts thumbnails.
It worked great until I activated the permalinks in the WP admin panel.
I saw many posts on this problem but none of ...
0
votes
0answers
31 views
Enable Minify in W3Total Cache using NGINX
I am having an issue with enabling minify with the W3TC plugin. I am using a LEMP stack and cloudfront as a CDN, and all of these features, except for the minify work fine. In order to enable fancy ...
0
votes
0answers
30 views
Custom Post category permalink not saving?
I wonder if something could help as I'm hitting a brick wall here.
I bought a theme called proreview which uses custom posts. This is named reviews with the category named as review-cat as default.
...
0
votes
1answer
20 views
Using one slug/post-name for multiple pages
I'm creating a website and I'd like to be able to reuse the same slug/post name in the page's url.
ex using /%category%/%postname%
foo.com/bar/page
foo.com/barz/page // Will not work. Instead it ...
0
votes
1answer
51 views
Post archive pages bringing me to a 404 page
When I try to use next_posts_link() and previous_posts_link() in my archive posts page I got a 404 error page.
I'm using this permalink setting /%category%/%postname% and working well for all pages ...
0
votes
1answer
27 views
default permalink works but Post name won't work
My WordPress Project is in fatcow. Here Post name parmalink, is not working. But Default is working. In many options are in google. But i need simple and cool way. Any one help me. Please
0
votes
1answer
71 views
How to get permalinks with category base working with sub-categories
I ran into an issue with a site that needs the category base also included in the custom permalink structure. I know this is an issue and I have read many posts like this that gave me some insight...
...
-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 ...
0
votes
1answer
38 views
“set_front” => false on custom post type breaks wp_list_categories links [closed]
My question is related to this one. I would like my post permalinks to be prefixed by /blog/, but I don't want this prefix to be applied to my custom post type portfolio. In other words, I expect post ...
0
votes
1answer
30 views
Link categories to last post
I am using wp_list_categories() to show all my categories. But I would like that the child categories link to the last post of that category. For example:
<ul>
<li><a ...
0
votes
0answers
13 views
Preventing collisions between permalinks and subdirectories [duplicate]
I've deployed a WordPress installation on the root of my site. This site also has a few subdirectories that should remain accessible, such as /somefolder/. I've configured WordPress to use ...
0
votes
1answer
19 views
Getting the top level permalink using get_post_ancestors()
I have a function for displaying the title of the top-level page of the current sub-level page. It's working quite well, but I can't figure out how to also link to the same top level page that is ...
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?
0
votes
0answers
27 views
wordpress category page url permalink structure
My sites post permalink structure is "/%category%/%postname%". As default structure, permalink for categories are in this format "/category/%category%" . But, for some reason "{site_root}/%category%" ...
0
votes
1answer
30 views
How to change pagination base from slash to query form?
Can this function...
function custom_pagination_base() {
global $wp_rewrite;
$wp_rewrite->pagination_base = 'p';
$wp_rewrite->flush_rules();
}
add_action( 'init', 'custom_pagination_base' );
...
0
votes
1answer
31 views
Changing permalink of custom category
I've tried reading up on past posts here but my head is just spinning.
My problem is I'd like to change my permalink structure for a custom full width posts under a custom category.
For example, ...
0
votes
0answers
25 views
Wordpress removed the slash after the site url. How do I fix it? [closed]
Somehow, in upgrading to Wordpress 3.5.1 and upgrading my plugins, the permalink structure got messed up for all of my post types. Wordpress now has the permalink like this:
...
3
votes
1answer
48 views
Is there an action for when permalinks are rebuilt?
In my plugin, I have a list of titles and permalinks in the options table. It's updated every time my custom post type is saved.
Since I'm saving permalinks the option data can become bad if the ...
0
votes
1answer
40 views
Mamp pro permalink issues. Pages keep reverting to index.php
So I pulled a site down to my local machine to do some work on it. Copied the files, find/replace on the database to update the url, added a host. Everything worked fine until I changed the permalink ...
0
votes
2answers
26 views
implement separate templates for 1 post type
I have a custom post type 'courses', with a course description as post_content, and number of attachments
I also have a custom post type 'course units', linked to the courses with a custom field ...
-1
votes
1answer
31 views
Can I specify template to use with the_permalink?
Can I specify a template to use with the_permalink()?
Why I need this: when they click a link from a certain page, I want to show that user a different template (extra content) on the linked page.
1
vote
0answers
45 views
Rewriting single post url; add_rewrite_rule problem?
I have to customize single post permalink (the structure of the permalink) if posts have a certain value in a certain custom fields.
I use the filter post_link to change permalink when needed, and ...
0
votes
0answers
4 views
Are there some permalink typology betther than other for SEO indexing? [migrated]
I am pretty new in WordPress and on my blog I am using permalink.
I have see that there is 5 typology of permalink and I don't know if some type are bettere than other for the search engine that have ...
0
votes
2answers
35 views
How can I redirect this contact form to a specific permalink
I'm converting a HTML site to WP for a client and they have a simple contact form in place.
If the submission is sucessful it currently, in it's HTML form, sends them to thankyou.html but I want to ...
0
votes
0answers
44 views
Wrong URL on product pages in WP e-Commerce
I'm using WP e-Commerce and I have my permalinks set to sitename/index.php/sample-post/.
All my pages and the category pages in the store work fine. A page URL will show up as ...
0
votes
0answers
52 views
The problem is that it redirects to 404 page
The format of the link is ok, it works. But when I open the post did not lead me to the single-customtypes but the 404 page.
add_action('init', 'tdd_add_rewrite_rules');
add_filter('post_type_link', ...
0
votes
1answer
20 views
WP Custom Permalink Filter
I've got a custom filter which appends the image #ID to the end of the image href, however it returns 2 x url's.
Can anybody see what i'm doing wrong?
function modify_attachment_link($markup, $id, ...
0
votes
0answers
22 views
How to change the [topic title] in URL to [topic id] in bbpress
I have a problem about bbpress.
The URL:
http://127.0.0.1/forums/topic/%E6%99%AE%E9%80%9A%E7%94%A8%E6%88%B7%E5%8F%91%E4%B8%AA%E5%B8%96%E5%AD%90/
Because of the Chinese word it looks ugly.
So my ...
0
votes
0answers
24 views
Pages half/not working.
If someone could please look at our website and have a look it'd be really appreciated. On one of our catergoires (rentals>sconces) page one works fine, but the remaining 3 dont. ive read in a couple ...
0
votes
0answers
23 views
%page%/number didn't return 404 but redirect to /%page%/
I've got page, for eg. /about/
when after slash I put some numbers (not letters) I still get this same page.
I really want 404 there.
Why? What to do to avoid that? SEO itp...
0
votes
1answer
48 views
Use the category name instead of category slug in permalinks
How to create a permalink structure which finish by:
/category-name/post-name/
Instead of:
/category-slug/post-name/
By default, Wordpress is offering %category% tag strucure as "A sanitized ...
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
34 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
26 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
54 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 ...

